More docs cleanup, render provider schema

This commit is contained in:
Paul Tyng
2020-07-13 22:21:30 -04:00
parent 9726e53713
commit 1d5e1756b3
12 changed files with 24 additions and 22 deletions

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_radius_profile Data Source - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_radius_profile data source can be used to retrieve the ID for a RADIUS profile by name.
---

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_user_group Data Source - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_user_group data source can be used to retrieve the ID for a user group by name.
---

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
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.
---

View File

@@ -21,3 +21,13 @@ provider "unifi" {
# site = "foo" or optionally use UNIFI_SITE env var
}
```
## Schema
### Optional
- **allow_insecure** (Boolean, Optional) Skip verification of TLS certificates of API requests. You may need to set this to `true` if you are using your local API without setting up a signed certificate. Can be specified with the `UNIFI_INSECURE` environment variable.
- **api_url** (String, Optional) URL of the controller API. Can be specified with the `UNIFI_API` environment variable.
- **password** (String, Optional) Password for the user accessing the API. Can be specified with the `UNIFI_PASSWORD` environment variable.
- **site** (String, Optional) The site in the Unifi controller this provider will manage. Can be specified with the `UNIFI_SITE` environment variable. Default: `default`
- **username** (String, Optional) Local user name for the Unifi controller API. Can be specified with the `UNIFI_USERNAME` environment variable.

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_firewall_group Resource - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_firewall_group manages groups of addresses or ports for use in firewall rules (unifi_firewall_rule).
---

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_firewall_rule Resource - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_firewall_rule manages an individual firewall rule on the gateway.
---

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_network Resource - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_network manages LAN/VLAN networks.
---

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_port_forward Resource - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_port_forward manages a port forwarding rule on the gateway.
---

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_user Resource - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_user manages a user (or "client" in the UI) of the network, these are identified by unique MAC addresses.
Users are created in the controller when observed on the network, so the resource defaults to allowing itself to just take over management of a MAC address, but this can be turned off.

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_user_group Resource - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_user_group manages a user group (called "client group" in the UI), which can be used to limit bandwidth for groups of users.
---

View File

@@ -1,7 +1,6 @@
---
subcategory: ""
layout: ""
page_title: "unifi_wlan Resource - terraform-provider-unifi"
subcategory: ""
description: |-
unifi_wlan manages a WiFi network / SSID.
---
@@ -49,10 +48,10 @@ resource "unifi_wlan" "wifi" {
- **multicast_enhance** (Boolean, Optional) Indicates whether or not Multicast Enhance is turned of for the network.
- **passphrase** (String, Optional) The passphrase for the network, this is only required if `security` is not set to `open`.
- **radius_profile_id** (String, Optional) ID of the RADIUS profile to use when security `wpaeap`. You can query this via the `unifi_radius_profile` data source.
- **schedule** (Block List) Start and stop schedules for the WLAN (see [below for nested schema](#nestedschema--schedule))
- **schedule** (Block List) Start and stop schedules for the WLAN (see [below for nested schema](#nestedblock--schedule))
- **vlan_id** (Number, Optional) VLAN ID for the network. Defaults to `1`.
<a id="nestedschema--schedule"></a>
<a id="nestedblock--schedule"></a>
### Nested Schema for `schedule`
Required: