Fix up docs examples

This commit is contained in:
James Toyer
2021-02-18 21:54:58 +00:00
committed by Paul Tyng
parent 097aa6c225
commit d98513abe9
2 changed files with 56 additions and 0 deletions

View 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.