--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "unifi_setting_network_optimization Resource - terraform-provider-unifi" subcategory: "" description: |- Manages Network Optimization settings for a UniFi site. UniFi network optimization is a feature designed to automatically enhance the performance of a UniFi network by making automatic adjustments to various settings such as channel selection, transmit power, or frequency usage --- # unifi_setting_network_optimization (Resource) Manages Network Optimization settings for a UniFi site. UniFi network optimization is a feature designed to automatically enhance the performance of a UniFi network by making automatic adjustments to various settings such as channel selection, transmit power, or frequency usage ## Example Usage ```terraform resource "unifi_setting_network_optimization" "example" { # Enable network optimization features enabled = true # Specify the site (optional, defaults to site configured in provider, otherwise "default") # site = "default" } ``` ## Schema ### Required - `enabled` (Boolean) Whether the Network Optimization is enabled. ### Optional - `site` (String) The name of the UniFi site where this resource should be applied. If not specified, the default site will be used. ### Read-Only - `id` (String) The unique identifier of this resource.