Files
terraform-provider-unifi/docs/data-sources/port_profile.md
Mateusz Filipowicz b1688313c0 docs: improve provider documentation (#29)
* docs: improve provider documentation

* fix accidentally changed type of stormctrl_ucast_rate

* docs: add badges and plans to readme
2025-02-26 18:56:45 +01:00

1.6 KiB

page_title, subcategory, description
page_title subcategory description
unifi_port_profile Data Source - terraform-provider-unifi unifi_port_profile data source can be used to retrieve port profile configurations from your UniFi network. Port profiles define settings and behaviors for switch ports, including VLANs, PoE settings, and other port-specific configurations. This data source is particularly useful when you need to reference existing port profiles in switch port configurations.

unifi_port_profile (Data Source)

unifi_port_profile data source can be used to retrieve port profile configurations from your UniFi network. Port profiles define settings and behaviors for switch ports, including VLANs, PoE settings, and other port-specific configurations. This data source is particularly useful when you need to reference existing port profiles in switch port configurations.

Example Usage

data "unifi_port_profile" "all" {
}

Schema

Optional

  • name (String) The name of the port profile to look up. This is the friendly name assigned to the profile in the UniFi controller. Defaults to "All" if not specified, which is the default port profile in UniFi. Defaults to All.
  • site (String) The name of the UniFi site where the port profile is configured. If not specified, the default site will be used.

Read-Only

  • id (String) The unique identifier of the port profile. This is automatically assigned by UniFi and can be used to reference this port profile in other resources.