The unifi.RadiusProfile resource manages RADIUS authentication profiles for UniFi networks.
RADIUS (Remote Authentication Dial-In User Service) profiles enable enterprise-grade authentication and authorization for:
- 802.1X network access control
- WPA2/WPA3-Enterprise wireless networks
- Dynamic VLAN assignment
- User activity accounting
Each profile can be configured with:
- Multiple authentication and accounting servers
- VLAN assignment settings
- Accounting update intervals
Create RadiusProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RadiusProfile(name: string, args?: RadiusProfileArgs, opts?: CustomResourceOptions);@overload
def RadiusProfile(resource_name: str,
args: Optional[RadiusProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def RadiusProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
accounting_enabled: Optional[bool] = None,
acct_servers: Optional[Sequence[RadiusProfileAcctServerArgs]] = None,
auth_servers: Optional[Sequence[RadiusProfileAuthServerArgs]] = None,
interim_update_enabled: Optional[bool] = None,
interim_update_interval: Optional[int] = None,
name: Optional[str] = None,
site: Optional[str] = None,
use_usg_acct_server: Optional[bool] = None,
use_usg_auth_server: Optional[bool] = None,
vlan_enabled: Optional[bool] = None,
vlan_wlan_mode: Optional[str] = None)func NewRadiusProfile(ctx *Context, name string, args *RadiusProfileArgs, opts ...ResourceOption) (*RadiusProfile, error)public RadiusProfile(string name, RadiusProfileArgs? args = null, CustomResourceOptions? opts = null)
public RadiusProfile(String name, RadiusProfileArgs args)
public RadiusProfile(String name, RadiusProfileArgs args, CustomResourceOptions options)
type: unifi:RadiusProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RadiusProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RadiusProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RadiusProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RadiusProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RadiusProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var radiusProfileResource = new Unifi.RadiusProfile("radiusProfileResource", new()
{
AccountingEnabled = false,
AcctServers = new[]
{
new Unifi.Inputs.RadiusProfileAcctServerArgs
{
Ip = "string",
Xsecret = "string",
Port = 0,
},
},
AuthServers = new[]
{
new Unifi.Inputs.RadiusProfileAuthServerArgs
{
Ip = "string",
Xsecret = "string",
Port = 0,
},
},
InterimUpdateEnabled = false,
InterimUpdateInterval = 0,
Name = "string",
Site = "string",
UseUsgAcctServer = false,
UseUsgAuthServer = false,
VlanEnabled = false,
VlanWlanMode = "string",
});
example, err := unifi.NewRadiusProfile(ctx, "radiusProfileResource", &unifi.RadiusProfileArgs{
AccountingEnabled: pulumi.Bool(false),
AcctServers: unifi.RadiusProfileAcctServerArray{
&unifi.RadiusProfileAcctServerArgs{
Ip: pulumi.String("string"),
Xsecret: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
AuthServers: unifi.RadiusProfileAuthServerArray{
&unifi.RadiusProfileAuthServerArgs{
Ip: pulumi.String("string"),
Xsecret: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
InterimUpdateEnabled: pulumi.Bool(false),
InterimUpdateInterval: pulumi.Int(0),
Name: pulumi.String("string"),
Site: pulumi.String("string"),
UseUsgAcctServer: pulumi.Bool(false),
UseUsgAuthServer: pulumi.Bool(false),
VlanEnabled: pulumi.Bool(false),
VlanWlanMode: pulumi.String("string"),
})
var radiusProfileResource = new RadiusProfile("radiusProfileResource", RadiusProfileArgs.builder()
.accountingEnabled(false)
.acctServers(RadiusProfileAcctServerArgs.builder()
.ip("string")
.xsecret("string")
.port(0)
.build())
.authServers(RadiusProfileAuthServerArgs.builder()
.ip("string")
.xsecret("string")
.port(0)
.build())
.interimUpdateEnabled(false)
.interimUpdateInterval(0)
.name("string")
.site("string")
.useUsgAcctServer(false)
.useUsgAuthServer(false)
.vlanEnabled(false)
.vlanWlanMode("string")
.build());
radius_profile_resource = unifi.RadiusProfile("radiusProfileResource",
accounting_enabled=False,
acct_servers=[{
"ip": "string",
"xsecret": "string",
"port": 0,
}],
auth_servers=[{
"ip": "string",
"xsecret": "string",
"port": 0,
}],
interim_update_enabled=False,
interim_update_interval=0,
name="string",
site="string",
use_usg_acct_server=False,
use_usg_auth_server=False,
vlan_enabled=False,
vlan_wlan_mode="string")
const radiusProfileResource = new unifi.RadiusProfile("radiusProfileResource", {
accountingEnabled: false,
acctServers: [{
ip: "string",
xsecret: "string",
port: 0,
}],
authServers: [{
ip: "string",
xsecret: "string",
port: 0,
}],
interimUpdateEnabled: false,
interimUpdateInterval: 0,
name: "string",
site: "string",
useUsgAcctServer: false,
useUsgAuthServer: false,
vlanEnabled: false,
vlanWlanMode: "string",
});
type: unifi:RadiusProfile
properties:
accountingEnabled: false
acctServers:
- ip: string
port: 0
xsecret: string
authServers:
- ip: string
port: 0
xsecret: string
interimUpdateEnabled: false
interimUpdateInterval: 0
name: string
site: string
useUsgAcctServer: false
useUsgAuthServer: false
vlanEnabled: false
vlanWlanMode: string
RadiusProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RadiusProfile resource accepts the following input properties:
- Accounting
Enabled bool - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- Acct
Servers List<Pulumiverse.Unifi. Inputs. Radius Profile Acct Server> - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- Auth
Servers List<Pulumiverse.Unifi. Inputs. Radius Profile Auth Server> - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- Interim
Update boolEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- Interim
Update intInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - Name string
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- Site string
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- Use
Usg boolAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- Use
Usg boolAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- Vlan
Enabled bool - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- Vlan
Wlan stringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- Accounting
Enabled bool - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- Acct
Servers []RadiusProfile Acct Server Args - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- Auth
Servers []RadiusProfile Auth Server Args - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- Interim
Update boolEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- Interim
Update intInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - Name string
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- Site string
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- Use
Usg boolAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- Use
Usg boolAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- Vlan
Enabled bool - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- Vlan
Wlan stringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- accounting
Enabled Boolean - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- acct
Servers List<RadiusProfile Acct Server> - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- auth
Servers List<RadiusProfile Auth Server> - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- interim
Update BooleanEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- interim
Update IntegerInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - name String
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- site String
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- use
Usg BooleanAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- use
Usg BooleanAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- vlan
Enabled Boolean - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- vlan
Wlan StringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- accounting
Enabled boolean - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- acct
Servers RadiusProfile Acct Server[] - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- auth
Servers RadiusProfile Auth Server[] - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- interim
Update booleanEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- interim
Update numberInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - name string
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- site string
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- use
Usg booleanAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- use
Usg booleanAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- vlan
Enabled boolean - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- vlan
Wlan stringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- accounting_
enabled bool - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- acct_
servers Sequence[RadiusProfile Acct Server Args] - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- auth_
servers Sequence[RadiusProfile Auth Server Args] - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- interim_
update_ boolenabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- interim_
update_ intinterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - name str
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- site str
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- use_
usg_ boolacct_ server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- use_
usg_ boolauth_ server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- vlan_
enabled bool - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- vlan_
wlan_ strmode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- accounting
Enabled Boolean - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- acct
Servers List<Property Map> - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- auth
Servers List<Property Map> - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- interim
Update BooleanEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- interim
Update NumberInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - name String
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- site String
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- use
Usg BooleanAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- use
Usg BooleanAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- vlan
Enabled Boolean - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- vlan
Wlan StringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
Outputs
All input properties are implicitly available as output properties. Additionally, the RadiusProfile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RadiusProfile Resource
Get an existing RadiusProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RadiusProfileState, opts?: CustomResourceOptions): RadiusProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accounting_enabled: Optional[bool] = None,
acct_servers: Optional[Sequence[RadiusProfileAcctServerArgs]] = None,
auth_servers: Optional[Sequence[RadiusProfileAuthServerArgs]] = None,
interim_update_enabled: Optional[bool] = None,
interim_update_interval: Optional[int] = None,
name: Optional[str] = None,
site: Optional[str] = None,
use_usg_acct_server: Optional[bool] = None,
use_usg_auth_server: Optional[bool] = None,
vlan_enabled: Optional[bool] = None,
vlan_wlan_mode: Optional[str] = None) -> RadiusProfilefunc GetRadiusProfile(ctx *Context, name string, id IDInput, state *RadiusProfileState, opts ...ResourceOption) (*RadiusProfile, error)public static RadiusProfile Get(string name, Input<string> id, RadiusProfileState? state, CustomResourceOptions? opts = null)public static RadiusProfile get(String name, Output<String> id, RadiusProfileState state, CustomResourceOptions options)resources: _: type: unifi:RadiusProfile get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Accounting
Enabled bool - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- Acct
Servers List<Pulumiverse.Unifi. Inputs. Radius Profile Acct Server> - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- Auth
Servers List<Pulumiverse.Unifi. Inputs. Radius Profile Auth Server> - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- Interim
Update boolEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- Interim
Update intInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - Name string
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- Site string
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- Use
Usg boolAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- Use
Usg boolAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- Vlan
Enabled bool - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- Vlan
Wlan stringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- Accounting
Enabled bool - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- Acct
Servers []RadiusProfile Acct Server Args - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- Auth
Servers []RadiusProfile Auth Server Args - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- Interim
Update boolEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- Interim
Update intInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - Name string
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- Site string
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- Use
Usg boolAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- Use
Usg boolAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- Vlan
Enabled bool - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- Vlan
Wlan stringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- accounting
Enabled Boolean - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- acct
Servers List<RadiusProfile Acct Server> - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- auth
Servers List<RadiusProfile Auth Server> - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- interim
Update BooleanEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- interim
Update IntegerInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - name String
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- site String
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- use
Usg BooleanAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- use
Usg BooleanAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- vlan
Enabled Boolean - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- vlan
Wlan StringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- accounting
Enabled boolean - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- acct
Servers RadiusProfile Acct Server[] - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- auth
Servers RadiusProfile Auth Server[] - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- interim
Update booleanEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- interim
Update numberInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - name string
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- site string
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- use
Usg booleanAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- use
Usg booleanAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- vlan
Enabled boolean - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- vlan
Wlan stringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- accounting_
enabled bool - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- acct_
servers Sequence[RadiusProfile Acct Server Args] - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- auth_
servers Sequence[RadiusProfile Auth Server Args] - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- interim_
update_ boolenabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- interim_
update_ intinterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - name str
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- site str
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- use_
usg_ boolacct_ server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- use_
usg_ boolauth_ server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- vlan_
enabled bool - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- vlan_
wlan_ strmode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
- accounting
Enabled Boolean - Enable RADIUS accounting to track user sessions, including login/logout times and data usage. Useful for billing and audit purposes.
- acct
Servers List<Property Map> - List of RADIUS accounting servers to use with this profile. Accounting servers track session data like connection time and data usage. Each server requires:
- IP address of the RADIUS server
- Port number (default: 1813)
- Shared secret for secure communication
- auth
Servers List<Property Map> - List of RADIUS authentication servers to use with this profile. Multiple servers provide failover - if the first server is unreachable, the system will try the next server in the list. Each server requires:
- IP address of the RADIUS server
- Shared secret for secure communication
- interim
Update BooleanEnabled - Enable periodic updates during active sessions. This allows tracking of ongoing session data like bandwidth usage.
- interim
Update NumberInterval - The interval (in seconds) between interim updates when
interim_update_enabledis true. Default is 3600 seconds (1 hour). - name String
- A friendly name for the RADIUS profile to help identify its purpose (e.g., 'Corporate Users' or 'Guest Access').
- site String
- The name of the UniFi site where the RADIUS profile should be created. If not specified, the default site will be used.
- use
Usg BooleanAcct Server - Use the controller as a RADIUS accounting server. This allows local accounting without an external RADIUS server.
- use
Usg BooleanAuth Server - Use the controller as a RADIUS authentication server. This allows local authentication without an external RADIUS server.
- vlan
Enabled Boolean - Enable VLAN assignment for wired clients based on RADIUS attributes. This allows network segmentation based on user authentication.
- vlan
Wlan StringMode - VLAN assignment mode for wireless networks. Valid values are:
disabled- Do not use RADIUS-assigned VLANsoptional- Use RADIUS-assigned VLAN if providedrequired- Require RADIUS-assigned VLAN for authentication to succeed
Supporting Types
RadiusProfileAcctServer, RadiusProfileAcctServerArgs
- Ip string
- The IPv4 address of the RADIUS accounting server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- Xsecret string
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- Port int
- The UDP port number where the RADIUS accounting service is listening. The standard port is 1813, but this can be changed if needed to match your server configuration.
- Ip string
- The IPv4 address of the RADIUS accounting server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- Xsecret string
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- Port int
- The UDP port number where the RADIUS accounting service is listening. The standard port is 1813, but this can be changed if needed to match your server configuration.
- ip String
- The IPv4 address of the RADIUS accounting server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- xsecret String
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- port Integer
- The UDP port number where the RADIUS accounting service is listening. The standard port is 1813, but this can be changed if needed to match your server configuration.
- ip string
- The IPv4 address of the RADIUS accounting server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- xsecret string
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- port number
- The UDP port number where the RADIUS accounting service is listening. The standard port is 1813, but this can be changed if needed to match your server configuration.
- ip str
- The IPv4 address of the RADIUS accounting server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- xsecret str
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- port int
- The UDP port number where the RADIUS accounting service is listening. The standard port is 1813, but this can be changed if needed to match your server configuration.
- ip String
- The IPv4 address of the RADIUS accounting server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- xsecret String
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- port Number
- The UDP port number where the RADIUS accounting service is listening. The standard port is 1813, but this can be changed if needed to match your server configuration.
RadiusProfileAuthServer, RadiusProfileAuthServerArgs
- Ip string
- The IPv4 address of the RADIUS authentication server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- Xsecret string
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- Port int
- The UDP port number where the RADIUS authentication service is listening. The standard port is 1812, but this can be changed if needed to match your server configuration.
- Ip string
- The IPv4 address of the RADIUS authentication server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- Xsecret string
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- Port int
- The UDP port number where the RADIUS authentication service is listening. The standard port is 1812, but this can be changed if needed to match your server configuration.
- ip String
- The IPv4 address of the RADIUS authentication server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- xsecret String
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- port Integer
- The UDP port number where the RADIUS authentication service is listening. The standard port is 1812, but this can be changed if needed to match your server configuration.
- ip string
- The IPv4 address of the RADIUS authentication server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- xsecret string
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- port number
- The UDP port number where the RADIUS authentication service is listening. The standard port is 1812, but this can be changed if needed to match your server configuration.
- ip str
- The IPv4 address of the RADIUS authentication server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- xsecret str
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- port int
- The UDP port number where the RADIUS authentication service is listening. The standard port is 1812, but this can be changed if needed to match your server configuration.
- ip String
- The IPv4 address of the RADIUS authentication server (e.g., '192.168.1.100'). Must be reachable from your UniFi network.
- xsecret String
- The shared secret key used to secure communication between the UniFi controller and the RADIUS server. This must match the secret configured on your RADIUS server.
- port Number
- The UDP port number where the RADIUS authentication service is listening. The standard port is 1812, but this can be changed if needed to match your server configuration.
Package Details
- Repository
- unifi pulumiverse/pulumi-unifi
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
unifiTerraform Provider.
