Add support for controller v6

This commit is contained in:
Paul Tyng
2020-10-19 11:16:05 -04:00
parent 5c30de2319
commit e60a4faa5f
20 changed files with 764 additions and 163 deletions

View File

@@ -0,0 +1,29 @@
---
page_title: "unifi_ap_group Data Source - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_ap_group data source can be used to retrieve the ID for an AP group by name.
---
# Data Source `unifi_ap_group`
`unifi_ap_group` data source can be used to retrieve the ID for an AP group by name.
## Example Usage
```terraform
data "unifi_ap_group" "default" {
}
```
## Schema
### Optional
- **name** (String, Optional) The name of the AP group to look up, leave blank to look up the default AP group.
### Read-only
- **id** (String, Read-only) The ID of this AP group.

View File

@@ -3,24 +3,25 @@ page_title: "unifi_wlan_group Data Source - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_wlan_group data source can be used to retrieve the ID for a WLAN group by name.
Please note that WLAN Groups are deprecated in v6 of the controller.
---
# Data Source `unifi_wlan_group`
`unifi_wlan_group` data source can be used to retrieve the ID for a WLAN group by name.
## Example Usage
Please note that WLAN Groups are deprecated in v6 of the controller.
```terraform
data "unifi_wlan_group" "default" {
}
```
## Schema
### Optional
- **id** (String, Optional) The ID of this resource.
- **name** (String, Optional) The name of the WLAN group to look up. Defaults to `Default`.
### Read-only
- **id** (String, Read-only) The ID of this AP group.