1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. Aaa
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.Aaa

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    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)
    public Aaa(String name, AaaArgs args)
    public Aaa(String name, AaaArgs args, CustomResourceOptions options)
    
    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=[iosxe.AaaGroupServerRadiusArgs(
            name="string",
            ip_radius_source_interface_loopback=0,
            server_names=[iosxe.AaaGroupServerRadiusServerNameArgs(
                name="string",
            )],
        )],
        group_server_tacacspluses=[iosxe.AaaGroupServerTacacsplusArgs(
            name="string",
            server_names=[iosxe.AaaGroupServerTacacsplusServerNameArgs(
                name="string",
            )],
        )],
        new_model=False,
        server_radius_dynamic_author=False,
        server_radius_dynamic_author_clients=[iosxe.AaaServerRadiusDynamicAuthorClientArgs(
            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

    The Aaa resource accepts the following input properties:

    Device string
    A device name from the provider configuration.
    GroupServerRadii List<Lbrlabs.PulumiPackage.Iosxe.Inputs.AaaGroupServerRadius>
    Radius server-group definition
    GroupServerTacacspluses List<Lbrlabs.PulumiPackage.Iosxe.Inputs.AaaGroupServerTacacsplus>
    Tacacs+ server-group definition
    NewModel bool
    Enable NEW access control commands and functions.(Disables OLD commands.)
    ServerRadiusDynamicAuthor bool
    Local server profile for RFC 3576 support
    ServerRadiusDynamicAuthorClients List<Lbrlabs.PulumiPackage.Iosxe.Inputs.AaaServerRadiusDynamicAuthorClient>
    Specify a RADIUS client
    SessionId string
    AAA Session ID - Choices: common, unique
    Device string
    A device name from the provider configuration.
    GroupServerRadii []AaaGroupServerRadiusArgs
    Radius server-group definition
    GroupServerTacacspluses []AaaGroupServerTacacsplusArgs
    Tacacs+ server-group definition
    NewModel bool
    Enable NEW access control commands and functions.(Disables OLD commands.)
    ServerRadiusDynamicAuthor bool
    Local server profile for RFC 3576 support
    ServerRadiusDynamicAuthorClients []AaaServerRadiusDynamicAuthorClientArgs
    Specify a RADIUS client
    SessionId string
    AAA Session ID - Choices: common, unique
    device String
    A device name from the provider configuration.
    groupServerRadii List<AaaGroupServerRadius>
    Radius server-group definition
    groupServerTacacspluses List<AaaGroupServerTacacsplus>
    Tacacs+ server-group definition
    newModel Boolean
    Enable NEW access control commands and functions.(Disables OLD commands.)
    serverRadiusDynamicAuthor Boolean
    Local server profile for RFC 3576 support
    serverRadiusDynamicAuthorClients List<AaaServerRadiusDynamicAuthorClient>
    Specify a RADIUS client
    sessionId String
    AAA Session ID - Choices: common, unique
    device string
    A device name from the provider configuration.
    groupServerRadii AaaGroupServerRadius[]
    Radius server-group definition
    groupServerTacacspluses AaaGroupServerTacacsplus[]
    Tacacs+ server-group definition
    newModel boolean
    Enable NEW access control commands and functions.(Disables OLD commands.)
    serverRadiusDynamicAuthor boolean
    Local server profile for RFC 3576 support
    serverRadiusDynamicAuthorClients AaaServerRadiusDynamicAuthorClient[]
    Specify a RADIUS client
    sessionId string
    AAA Session ID - Choices: common, unique
    device str
    A device name from the provider configuration.
    group_server_radii Sequence[AaaGroupServerRadiusArgs]
    Radius server-group definition
    group_server_tacacspluses Sequence[AaaGroupServerTacacsplusArgs]
    Tacacs+ server-group definition
    new_model bool
    Enable NEW access control commands and functions.(Disables OLD commands.)
    server_radius_dynamic_author bool
    Local server profile for RFC 3576 support
    server_radius_dynamic_author_clients Sequence[AaaServerRadiusDynamicAuthorClientArgs]
    Specify a RADIUS client
    session_id str
    AAA Session ID - Choices: common, unique
    device String
    A device name from the provider configuration.
    groupServerRadii List<Property Map>
    Radius server-group definition
    groupServerTacacspluses List<Property Map>
    Tacacs+ server-group definition
    newModel Boolean
    Enable NEW access control commands and functions.(Disables OLD commands.)
    serverRadiusDynamicAuthor Boolean
    Local server profile for RFC 3576 support
    serverRadiusDynamicAuthorClients List<Property Map>
    Specify a RADIUS client
    sessionId 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.
    The following state arguments are supported:
    Device string
    A device name from the provider configuration.
    GroupServerRadii List<Lbrlabs.PulumiPackage.Iosxe.Inputs.AaaGroupServerRadius>
    Radius server-group definition
    GroupServerTacacspluses List<Lbrlabs.PulumiPackage.Iosxe.Inputs.AaaGroupServerTacacsplus>
    Tacacs+ server-group definition
    NewModel bool
    Enable NEW access control commands and functions.(Disables OLD commands.)
    ServerRadiusDynamicAuthor bool
    Local server profile for RFC 3576 support
    ServerRadiusDynamicAuthorClients List<Lbrlabs.PulumiPackage.Iosxe.Inputs.AaaServerRadiusDynamicAuthorClient>
    Specify a RADIUS client
    SessionId string
    AAA Session ID - Choices: common, unique
    Device string
    A device name from the provider configuration.
    GroupServerRadii []AaaGroupServerRadiusArgs
    Radius server-group definition
    GroupServerTacacspluses []AaaGroupServerTacacsplusArgs
    Tacacs+ server-group definition
    NewModel bool
    Enable NEW access control commands and functions.(Disables OLD commands.)
    ServerRadiusDynamicAuthor bool
    Local server profile for RFC 3576 support
    ServerRadiusDynamicAuthorClients []AaaServerRadiusDynamicAuthorClientArgs
    Specify a RADIUS client
    SessionId string
    AAA Session ID - Choices: common, unique
    device String
    A device name from the provider configuration.
    groupServerRadii List<AaaGroupServerRadius>
    Radius server-group definition
    groupServerTacacspluses List<AaaGroupServerTacacsplus>
    Tacacs+ server-group definition
    newModel Boolean
    Enable NEW access control commands and functions.(Disables OLD commands.)
    serverRadiusDynamicAuthor Boolean
    Local server profile for RFC 3576 support
    serverRadiusDynamicAuthorClients List<AaaServerRadiusDynamicAuthorClient>
    Specify a RADIUS client
    sessionId String
    AAA Session ID - Choices: common, unique
    device string
    A device name from the provider configuration.
    groupServerRadii AaaGroupServerRadius[]
    Radius server-group definition
    groupServerTacacspluses AaaGroupServerTacacsplus[]
    Tacacs+ server-group definition
    newModel boolean
    Enable NEW access control commands and functions.(Disables OLD commands.)
    serverRadiusDynamicAuthor boolean
    Local server profile for RFC 3576 support
    serverRadiusDynamicAuthorClients AaaServerRadiusDynamicAuthorClient[]
    Specify a RADIUS client
    sessionId string
    AAA Session ID - Choices: common, unique
    device str
    A device name from the provider configuration.
    group_server_radii Sequence[AaaGroupServerRadiusArgs]
    Radius server-group definition
    group_server_tacacspluses Sequence[AaaGroupServerTacacsplusArgs]
    Tacacs+ server-group definition
    new_model bool
    Enable NEW access control commands and functions.(Disables OLD commands.)
    server_radius_dynamic_author bool
    Local server profile for RFC 3576 support
    server_radius_dynamic_author_clients Sequence[AaaServerRadiusDynamicAuthorClientArgs]
    Specify a RADIUS client
    session_id str
    AAA Session ID - Choices: common, unique
    device String
    A device name from the provider configuration.
    groupServerRadii List<Property Map>
    Radius server-group definition
    groupServerTacacspluses List<Property Map>
    Tacacs+ server-group definition
    newModel Boolean
    Enable NEW access control commands and functions.(Disables OLD commands.)
    serverRadiusDynamicAuthor Boolean
    Local server profile for RFC 3576 support
    serverRadiusDynamicAuthorClients List<Property Map>
    Specify a RADIUS client
    sessionId 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
    ServerKey string
    ServerKeyType string
    Ip string
    ServerKey string
    ServerKeyType string
    ip String
    serverKey String
    serverKeyType String
    ip string
    serverKey string
    serverKeyType string
    ip String
    serverKey String
    serverKeyType String

    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.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs