feat: create users in the build-in radius server (#286)
* feat: account resource with data source * Adjust docs and validation * add import test steps * adjust radius capitalization in docs Co-authored-by: Paul Tyng <paul@paultyng.net>
This commit is contained in:
34
docs/data-sources/account.md
Normal file
34
docs/data-sources/account.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
||||
page_title: "unifi_account Data Source - terraform-provider-unifi"
|
||||
subcategory: ""
|
||||
description: |-
|
||||
unifi_account data source can be used to retrieve RADIUS user accounts
|
||||
---
|
||||
|
||||
# unifi_account (Data Source)
|
||||
|
||||
`unifi_account` data source can be used to retrieve RADIUS user accounts
|
||||
|
||||
|
||||
|
||||
<!-- schema generated by tfplugindocs -->
|
||||
## Schema
|
||||
|
||||
### Required
|
||||
|
||||
- `name` (String) The name of the account to look up
|
||||
|
||||
### Optional
|
||||
|
||||
- `site` (String) The name of the site the account is associated with.
|
||||
|
||||
### Read-Only
|
||||
|
||||
- `id` (String) The ID of this account.
|
||||
- `network_id` (String) ID of the network for this account
|
||||
- `password` (String, Sensitive) The password of the account.
|
||||
- `tunnel_medium_type` (Number) See RFC2868 section 3.2
|
||||
- `tunnel_type` (Number) See RFC2868 section 3.1
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ description: |-
|
||||
### Optional
|
||||
|
||||
- `name` (String) The name of the RADIUS profile to look up. Defaults to `Default`.
|
||||
- `site` (String) The name of the site the radius profile is associated with.
|
||||
- `site` (String) The name of the site the RADIUS profile is associated with.
|
||||
|
||||
### Read-Only
|
||||
|
||||
|
||||
Reference in New Issue
Block a user