Skip to content
This repository was archived by the owner on Apr 30, 2026. It is now read-only.

Commit 548822c

Browse files
bullshitpaultyng
andauthored
Adding radius profile resource (#215)
* Adding radius profile resource * Fix radius profile resource documentation and naming * Updated doc generation Co-authored-by: Paul Tyng <paul@paultyng.net>
1 parent 946f82a commit 548822c

4 files changed

Lines changed: 593 additions & 0 deletions

File tree

docs/resources/radius_profile.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "unifi_radius_profile Resource - terraform-provider-unifi"
4+
subcategory: ""
5+
description: |-
6+
unifi_radius_profile manages radius profiles.
7+
---
8+
9+
# unifi_radius_profile (Resource)
10+
11+
`unifi_radius_profile` manages radius profiles.
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `name` (String) The name of the profile.
21+
22+
### Optional
23+
24+
- `accounting_enabled` (Boolean) Specifies whether to use radius accounting. Defaults to `false`.
25+
- `acct_server` (Block List) RADIUS accounting servers. (see [below for nested schema](#nestedblock--acct_server))
26+
- `auth_server` (Block List) RADIUS authentication servers. (see [below for nested schema](#nestedblock--auth_server))
27+
- `interim_update_enabled` (Boolean) Specifies whether to use interim_update. Defaults to `false`.
28+
- `interim_update_interval` (Number) Specifies interim_update interval. Defaults to `3600`.
29+
- `site` (String) The name of the site to associate the settings with.
30+
- `use_usg_acct_server` (Boolean) Specifies whether to use usg as a radius accounting server. Defaults to `false`.
31+
- `use_usg_auth_server` (Boolean) Specifies whether to use usg as a radius authentication server. Defaults to `false`.
32+
- `vlan_enabled` (Boolean) Specifies whether to use vlan on wired connections. Defaults to `false`.
33+
- `vlan_wlan_mode` (String) Specifies whether to use vlan on wireless connections. Must be one of `disabled`, `optional`, or `required`. Defaults to ``.
34+
35+
### Read-Only
36+
37+
- `id` (String) The ID of the settings.
38+
39+
<a id="nestedblock--acct_server"></a>
40+
### Nested Schema for `acct_server`
41+
42+
Required:
43+
44+
- `ip` (String) IP address of accounting service server.
45+
- `xsecret` (String, Sensitive) RADIUS secret.
46+
47+
Optional:
48+
49+
- `port` (Number) Port of accounting service. Defaults to `1813`.
50+
51+
52+
<a id="nestedblock--auth_server"></a>
53+
### Nested Schema for `auth_server`
54+
55+
Required:
56+
57+
- `ip` (String) IP address of authentication service server.
58+
- `xsecret` (String, Sensitive) RADIUS secret.
59+
60+
Optional:
61+
62+
- `port` (Number) Port of authentication service. Defaults to `1812`.
63+
64+

internal/provider/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ func New(version string) func() *schema.Provider {
9090
"unifi_user_group": resourceUserGroup(),
9191
"unifi_user": resourceUser(),
9292
"unifi_wlan": resourceWLAN(),
93+
"unifi_radius_profile": resourceRadiusProfile(),
9394

9495
"unifi_setting_mgmt": resourceSettingMgmt(),
9596
"unifi_setting_usg": resourceSettingUsg(),

0 commit comments

Comments
 (0)