Fix up docs examples
This commit is contained in:
32
docs/data-sources/port_profile.md
Normal file
32
docs/data-sources/port_profile.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "unifi_port_profile Data Source - terraform-provider-unifi"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
unifi_port_profile data source can be used to retrieve the ID for a port profile by name.
|
||||
---
|
||||
|
||||
# Data Source `unifi_port_profile`
|
||||
|
||||
`unifi_port_profile` data source can be used to retrieve the ID for a port profile by name.
|
||||
|
||||
## Example Usage
|
||||
|
||||
```terraform
|
||||
data "unifi_port_profile" "all" {
|
||||
}
|
||||
```
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Optional
|
||||
|
||||
- **name** (String) The name of the port profile to look up. Defaults to `All`.
|
||||
- **site** (String) The name of the site the port profile is associated with.
|
||||
|
||||
### Read-only
|
||||
|
||||
- **id** (String) The ID of this port profile.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user