--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "unifi_setting_dpi Resource - terraform-provider-unifi" subcategory: "" description: |- Manages Deep Packet Inspection (DPI) settings for a UniFi site. DPI is a feature that allows the UniFi controller to analyze network traffic and identify applications and services being used on the network. --- # unifi_setting_dpi (Resource) Manages Deep Packet Inspection (DPI) settings for a UniFi site. DPI is a feature that allows the UniFi controller to analyze network traffic and identify applications and services being used on the network. ## Example Usage ```terraform resource "unifi_setting_dpi" "example" { # Enable Deep Packet Inspection enabled = true # Enable DPI fingerprinting for more accurate application identification fingerprinting_enabled = true # Specify the site (optional, defaults to site configured in provider, otherwise "default") # site = "default" } ``` ## Schema ### Required - `enabled` (Boolean) Whether Deep Packet Inspection is enabled. - `fingerprinting_enabled` (Boolean) Whether DPI fingerprinting is enabled. Fingerprinting allows the controller to identify applications and services based on traffic patterns. ### 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.