iosxe.Aaa
Explore with Pulumi AI
This resource can manage the AAA configuration.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.Aaa;
import com.pulumi.iosxe.AaaArgs;
import com.pulumi.iosxe.inputs.AaaGroupServerRadiusArgs;
import com.pulumi.iosxe.inputs.AaaGroupServerTacacsplusArgs;
import com.pulumi.iosxe.inputs.AaaServerRadiusDynamicAuthorClientArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Aaa("example", AaaArgs.builder()
.groupServerRadii(AaaGroupServerRadiusArgs.builder()
.ip_radius_source_interface_loopback(0)
.name("T-Group")
.server_names(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.groupServerTacacspluses(AaaGroupServerTacacsplusArgs.builder()
.name("tacacs-group")
.server_names(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.newModel(true)
.serverRadiusDynamicAuthor(true)
.serverRadiusDynamicAuthorClients(AaaServerRadiusDynamicAuthorClientArgs.builder()
.ip("11.1.1.1")
.server_key("abcd123")
.server_key_type("0")
.build())
.sessionId("common")
.build());
}
}
Coming soon!
Coming soon!
resources:
example:
type: iosxe:Aaa
properties:
groupServerRadii:
- ip_radius_source_interface_loopback: 0
name: T-Group
server_names:
- name: TESTRADIUS
groupServerTacacspluses:
- name: tacacs-group
server_names:
- name: tacacs_10.10.15.12
newModel: true
serverRadiusDynamicAuthor: true
serverRadiusDynamicAuthorClients:
- ip: 11.1.1.1
server_key: abcd123
server_key_type: '0'
sessionId: common
Create Aaa Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Aaa(name: string, args?: AaaArgs, opts?: CustomResourceOptions);
@overload
def Aaa(resource_name: str,
args: Optional[AaaArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Aaa(resource_name: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
group_server_radii: Optional[Sequence[AaaGroupServerRadiusArgs]] = None,
group_server_tacacspluses: Optional[Sequence[AaaGroupServerTacacsplusArgs]] = None,
new_model: Optional[bool] = None,
server_radius_dynamic_author: Optional[bool] = None,
server_radius_dynamic_author_clients: Optional[Sequence[AaaServerRadiusDynamicAuthorClientArgs]] = None,
session_id: Optional[str] = None)
func NewAaa(ctx *Context, name string, args *AaaArgs, opts ...ResourceOption) (*Aaa, error)
public Aaa(string name, AaaArgs? args = null, CustomResourceOptions? opts = null)
type: iosxe:Aaa
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 AaaArgs
- 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 AaaArgs
- 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 AaaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AaaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AaaArgs
- 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 aaaResource = new Iosxe.Aaa("aaaResource", new()
{
Device = "string",
GroupServerRadii = new[]
{
new Iosxe.Inputs.AaaGroupServerRadiusArgs
{
Name = "string",
IpRadiusSourceInterfaceLoopback = 0,
ServerNames = new[]
{
new Iosxe.Inputs.AaaGroupServerRadiusServerNameArgs
{
Name = "string",
},
},
},
},
GroupServerTacacspluses = new[]
{
new Iosxe.Inputs.AaaGroupServerTacacsplusArgs
{
Name = "string",
ServerNames = new[]
{
new Iosxe.Inputs.AaaGroupServerTacacsplusServerNameArgs
{
Name = "string",
},
},
},
},
NewModel = false,
ServerRadiusDynamicAuthor = false,
ServerRadiusDynamicAuthorClients = new[]
{
new Iosxe.Inputs.AaaServerRadiusDynamicAuthorClientArgs
{
Ip = "string",
ServerKey = "string",
ServerKeyType = "string",
},
},
SessionId = "string",
});
example, err := iosxe.NewAaa(ctx, "aaaResource", &iosxe.AaaArgs{
Device: pulumi.String("string"),
GroupServerRadii: iosxe.AaaGroupServerRadiusArray{
&iosxe.AaaGroupServerRadiusArgs{
Name: pulumi.String("string"),
IpRadiusSourceInterfaceLoopback: pulumi.Int(0),
ServerNames: iosxe.AaaGroupServerRadiusServerNameArray{
&iosxe.AaaGroupServerRadiusServerNameArgs{
Name: pulumi.String("string"),
},
},
},
},
GroupServerTacacspluses: iosxe.AaaGroupServerTacacsplusArray{
&iosxe.AaaGroupServerTacacsplusArgs{
Name: pulumi.String("string"),
ServerNames: iosxe.AaaGroupServerTacacsplusServerNameArray{
&iosxe.AaaGroupServerTacacsplusServerNameArgs{
Name: pulumi.String("string"),
},
},
},
},
NewModel: pulumi.Bool(false),
ServerRadiusDynamicAuthor: pulumi.Bool(false),
ServerRadiusDynamicAuthorClients: iosxe.AaaServerRadiusDynamicAuthorClientArray{
&iosxe.AaaServerRadiusDynamicAuthorClientArgs{
Ip: pulumi.String("string"),
ServerKey: pulumi.String("string"),
ServerKeyType: pulumi.String("string"),
},
},
SessionId: pulumi.String("string"),
})
var aaaResource = new Aaa("aaaResource", AaaArgs.builder()
.device("string")
.groupServerRadii(AaaGroupServerRadiusArgs.builder()
.name("string")
.ipRadiusSourceInterfaceLoopback(0)
.serverNames(AaaGroupServerRadiusServerNameArgs.builder()
.name("string")
.build())
.build())
.groupServerTacacspluses(AaaGroupServerTacacsplusArgs.builder()
.name("string")
.serverNames(AaaGroupServerTacacsplusServerNameArgs.builder()
.name("string")
.build())
.build())
.newModel(false)
.serverRadiusDynamicAuthor(false)
.serverRadiusDynamicAuthorClients(AaaServerRadiusDynamicAuthorClientArgs.builder()
.ip("string")
.serverKey("string")
.serverKeyType("string")
.build())
.sessionId("string")
.build());
aaa_resource = iosxe.Aaa("aaaResource",
device="string",
group_server_radii=[{
"name": "string",
"ip_radius_source_interface_loopback": 0,
"server_names": [{
"name": "string",
}],
}],
group_server_tacacspluses=[{
"name": "string",
"server_names": [{
"name": "string",
}],
}],
new_model=False,
server_radius_dynamic_author=False,
server_radius_dynamic_author_clients=[{
"ip": "string",
"server_key": "string",
"server_key_type": "string",
}],
session_id="string")
const aaaResource = new iosxe.Aaa("aaaResource", {
device: "string",
groupServerRadii: [{
name: "string",
ipRadiusSourceInterfaceLoopback: 0,
serverNames: [{
name: "string",
}],
}],
groupServerTacacspluses: [{
name: "string",
serverNames: [{
name: "string",
}],
}],
newModel: false,
serverRadiusDynamicAuthor: false,
serverRadiusDynamicAuthorClients: [{
ip: "string",
serverKey: "string",
serverKeyType: "string",
}],
sessionId: "string",
});
type: iosxe:Aaa
properties:
device: string
groupServerRadii:
- ipRadiusSourceInterfaceLoopback: 0
name: string
serverNames:
- name: string
groupServerTacacspluses:
- name: string
serverNames:
- name: string
newModel: false
serverRadiusDynamicAuthor: false
serverRadiusDynamicAuthorClients:
- ip: string
serverKey: string
serverKeyType: string
sessionId: string
Aaa 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 Aaa resource accepts the following input properties:
- Device string
- A device name from the provider configuration.
- Group
Server List<Lbrlabs.Radii Pulumi Package. Iosxe. Inputs. Aaa Group Server Radius> - Radius server-group definition
- Group
Server List<Lbrlabs.Tacacspluses Pulumi Package. Iosxe. Inputs. Aaa Group Server Tacacsplus> - Tacacs+ server-group definition
- New
Model bool - Enable NEW access control commands and functions.(Disables OLD commands.)
- bool
- Local server profile for RFC 3576 support
- List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Aaa Server Radius Dynamic Author Client> - Specify a RADIUS client
- Session
Id string - AAA Session ID - Choices:
common
,unique
- Device string
- A device name from the provider configuration.
- Group
Server []AaaRadii Group Server Radius Args - Radius server-group definition
- Group
Server []AaaTacacspluses Group Server Tacacsplus Args - Tacacs+ server-group definition
- New
Model bool - Enable NEW access control commands and functions.(Disables OLD commands.)
- bool
- Local server profile for RFC 3576 support
- []Aaa
Server Radius Dynamic Author Client Args - Specify a RADIUS client
- Session
Id string - AAA Session ID - Choices:
common
,unique
- device String
- A device name from the provider configuration.
- group
Server List<AaaRadii Group Server Radius> - Radius server-group definition
- group
Server List<AaaTacacspluses Group Server Tacacsplus> - Tacacs+ server-group definition
- new
Model Boolean - Enable NEW access control commands and functions.(Disables OLD commands.)
- Boolean
- Local server profile for RFC 3576 support
- List<Aaa
Server Radius Dynamic Author Client> - Specify a RADIUS client
- session
Id String - AAA Session ID - Choices:
common
,unique
- device string
- A device name from the provider configuration.
- group
Server AaaRadii Group Server Radius[] - Radius server-group definition
- group
Server AaaTacacspluses Group Server Tacacsplus[] - Tacacs+ server-group definition
- new
Model boolean - Enable NEW access control commands and functions.(Disables OLD commands.)
- boolean
- Local server profile for RFC 3576 support
- Aaa
Server Radius Dynamic Author Client[] - Specify a RADIUS client
- session
Id string - AAA Session ID - Choices:
common
,unique
- device str
- A device name from the provider configuration.
- group_
server_ Sequence[Aaaradii Group Server Radius Args] - Radius server-group definition
- group_
server_ Sequence[Aaatacacspluses Group Server Tacacsplus Args] - Tacacs+ server-group definition
- new_
model bool - Enable NEW access control commands and functions.(Disables OLD commands.)
- bool
- Local server profile for RFC 3576 support
- Sequence[Aaa
Server Radius Dynamic Author Client Args] - Specify a RADIUS client
- session_
id str - AAA Session ID - Choices:
common
,unique
- device String
- A device name from the provider configuration.
- group
Server List<Property Map>Radii - Radius server-group definition
- group
Server List<Property Map>Tacacspluses - Tacacs+ server-group definition
- new
Model Boolean - Enable NEW access control commands and functions.(Disables OLD commands.)
- Boolean
- Local server profile for RFC 3576 support
- List<Property Map>
- Specify a RADIUS client
- session
Id String - AAA Session ID - Choices:
common
,unique
Outputs
All input properties are implicitly available as output properties. Additionally, the Aaa 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 Aaa Resource
Get an existing Aaa 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?: AaaState, opts?: CustomResourceOptions): Aaa
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
group_server_radii: Optional[Sequence[AaaGroupServerRadiusArgs]] = None,
group_server_tacacspluses: Optional[Sequence[AaaGroupServerTacacsplusArgs]] = None,
new_model: Optional[bool] = None,
server_radius_dynamic_author: Optional[bool] = None,
server_radius_dynamic_author_clients: Optional[Sequence[AaaServerRadiusDynamicAuthorClientArgs]] = None,
session_id: Optional[str] = None) -> Aaa
func GetAaa(ctx *Context, name string, id IDInput, state *AaaState, opts ...ResourceOption) (*Aaa, error)
public static Aaa Get(string name, Input<string> id, AaaState? state, CustomResourceOptions? opts = null)
public static Aaa get(String name, Output<String> id, AaaState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Device string
- A device name from the provider configuration.
- Group
Server List<Lbrlabs.Radii Pulumi Package. Iosxe. Inputs. Aaa Group Server Radius> - Radius server-group definition
- Group
Server List<Lbrlabs.Tacacspluses Pulumi Package. Iosxe. Inputs. Aaa Group Server Tacacsplus> - Tacacs+ server-group definition
- New
Model bool - Enable NEW access control commands and functions.(Disables OLD commands.)
- bool
- Local server profile for RFC 3576 support
- List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Aaa Server Radius Dynamic Author Client> - Specify a RADIUS client
- Session
Id string - AAA Session ID - Choices:
common
,unique
- Device string
- A device name from the provider configuration.
- Group
Server []AaaRadii Group Server Radius Args - Radius server-group definition
- Group
Server []AaaTacacspluses Group Server Tacacsplus Args - Tacacs+ server-group definition
- New
Model bool - Enable NEW access control commands and functions.(Disables OLD commands.)
- bool
- Local server profile for RFC 3576 support
- []Aaa
Server Radius Dynamic Author Client Args - Specify a RADIUS client
- Session
Id string - AAA Session ID - Choices:
common
,unique
- device String
- A device name from the provider configuration.
- group
Server List<AaaRadii Group Server Radius> - Radius server-group definition
- group
Server List<AaaTacacspluses Group Server Tacacsplus> - Tacacs+ server-group definition
- new
Model Boolean - Enable NEW access control commands and functions.(Disables OLD commands.)
- Boolean
- Local server profile for RFC 3576 support
- List<Aaa
Server Radius Dynamic Author Client> - Specify a RADIUS client
- session
Id String - AAA Session ID - Choices:
common
,unique
- device string
- A device name from the provider configuration.
- group
Server AaaRadii Group Server Radius[] - Radius server-group definition
- group
Server AaaTacacspluses Group Server Tacacsplus[] - Tacacs+ server-group definition
- new
Model boolean - Enable NEW access control commands and functions.(Disables OLD commands.)
- boolean
- Local server profile for RFC 3576 support
- Aaa
Server Radius Dynamic Author Client[] - Specify a RADIUS client
- session
Id string - AAA Session ID - Choices:
common
,unique
- device str
- A device name from the provider configuration.
- group_
server_ Sequence[Aaaradii Group Server Radius Args] - Radius server-group definition
- group_
server_ Sequence[Aaatacacspluses Group Server Tacacsplus Args] - Tacacs+ server-group definition
- new_
model bool - Enable NEW access control commands and functions.(Disables OLD commands.)
- bool
- Local server profile for RFC 3576 support
- Sequence[Aaa
Server Radius Dynamic Author Client Args] - Specify a RADIUS client
- session_
id str - AAA Session ID - Choices:
common
,unique
- device String
- A device name from the provider configuration.
- group
Server List<Property Map>Radii - Radius server-group definition
- group
Server List<Property Map>Tacacspluses - Tacacs+ server-group definition
- new
Model Boolean - Enable NEW access control commands and functions.(Disables OLD commands.)
- Boolean
- Local server profile for RFC 3576 support
- List<Property Map>
- Specify a RADIUS client
- session
Id String - AAA Session ID - Choices:
common
,unique
Supporting Types
AaaGroupServerRadius, AaaGroupServerRadiusArgs
AaaGroupServerRadiusServerName, AaaGroupServerRadiusServerNameArgs
- Name string
- Name string
- name String
- name string
- name str
- name String
AaaGroupServerTacacsplus, AaaGroupServerTacacsplusArgs
AaaGroupServerTacacsplusServerName, AaaGroupServerTacacsplusServerNameArgs
- Name string
- Name string
- name String
- name string
- name str
- name String
AaaServerRadiusDynamicAuthorClient, AaaServerRadiusDynamicAuthorClientArgs
- Ip string
- Server
Key string - Server
Key stringType
- Ip string
- Server
Key string - Server
Key stringType
- ip String
- server
Key String - server
Key StringType
- ip string
- server
Key string - server
Key stringType
- ip str
- server_
key str - server_
key_ strtype
- ip String
- server
Key String - server
Key StringType
Import
$ pulumi import iosxe:index/aaa:Aaa example "Cisco-IOS-XE-native:native/aaa"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.