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

iosxe.getAaaAuthentication

Explore with Pulumi AI

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

    This data source can read the AAA Authentication configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetAaaAuthentication.Invoke();
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iosxe.LookupAaaAuthentication(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.iosxe.IosxeFunctions;
    import com.pulumi.iosxe.inputs.GetAaaAuthenticationArgs;
    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) {
            final var example = IosxeFunctions.getAaaAuthentication();
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_aaa_authentication()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getAaaAuthentication({});
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getAaaAuthentication
          Arguments: {}
    

    Using getAaaAuthentication

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAaaAuthentication(args: GetAaaAuthenticationArgs, opts?: InvokeOptions): Promise<GetAaaAuthenticationResult>
    function getAaaAuthenticationOutput(args: GetAaaAuthenticationOutputArgs, opts?: InvokeOptions): Output<GetAaaAuthenticationResult>
    def get_aaa_authentication(device: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAaaAuthenticationResult
    def get_aaa_authentication_output(device: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAaaAuthenticationResult]
    func LookupAaaAuthentication(ctx *Context, args *LookupAaaAuthenticationArgs, opts ...InvokeOption) (*LookupAaaAuthenticationResult, error)
    func LookupAaaAuthenticationOutput(ctx *Context, args *LookupAaaAuthenticationOutputArgs, opts ...InvokeOption) LookupAaaAuthenticationResultOutput

    > Note: This function is named LookupAaaAuthentication in the Go SDK.

    public static class GetAaaAuthentication 
    {
        public static Task<GetAaaAuthenticationResult> InvokeAsync(GetAaaAuthenticationArgs args, InvokeOptions? opts = null)
        public static Output<GetAaaAuthenticationResult> Invoke(GetAaaAuthenticationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAaaAuthenticationResult> getAaaAuthentication(GetAaaAuthenticationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getAaaAuthentication:getAaaAuthentication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Device string
    A device name from the provider configuration.
    Device string
    A device name from the provider configuration.
    device String
    A device name from the provider configuration.
    device string
    A device name from the provider configuration.
    device str
    A device name from the provider configuration.
    device String
    A device name from the provider configuration.

    getAaaAuthentication Result

    The following output properties are available:

    Dot1xDefaultA1Group string
    Use Server-group
    Dot1xDefaultA1Local bool
    Use local username authentication
    Dot1xDefaultA2Group string
    Use Server-group
    Dot1xDefaultA2Local bool
    Use local username authentication
    Dot1xDefaultA3Group string
    Use Server-group
    Dot1xDefaultA3Local bool
    Use local username authentication
    Dot1xDefaultA4Group string
    Use Server-group
    Dot1xDefaultA4Local bool
    Use local username authentication
    Id string
    The path of the retrieved object.
    Logins List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetAaaAuthenticationLogin>
    Set authentication lists for logins.
    Device string
    A device name from the provider configuration.
    Dot1xDefaultA1Group string
    Use Server-group
    Dot1xDefaultA1Local bool
    Use local username authentication
    Dot1xDefaultA2Group string
    Use Server-group
    Dot1xDefaultA2Local bool
    Use local username authentication
    Dot1xDefaultA3Group string
    Use Server-group
    Dot1xDefaultA3Local bool
    Use local username authentication
    Dot1xDefaultA4Group string
    Use Server-group
    Dot1xDefaultA4Local bool
    Use local username authentication
    Id string
    The path of the retrieved object.
    Logins []GetAaaAuthenticationLogin
    Set authentication lists for logins.
    Device string
    A device name from the provider configuration.
    dot1xDefaultA1Group String
    Use Server-group
    dot1xDefaultA1Local Boolean
    Use local username authentication
    dot1xDefaultA2Group String
    Use Server-group
    dot1xDefaultA2Local Boolean
    Use local username authentication
    dot1xDefaultA3Group String
    Use Server-group
    dot1xDefaultA3Local Boolean
    Use local username authentication
    dot1xDefaultA4Group String
    Use Server-group
    dot1xDefaultA4Local Boolean
    Use local username authentication
    id String
    The path of the retrieved object.
    logins List<GetAaaAuthenticationLogin>
    Set authentication lists for logins.
    device String
    A device name from the provider configuration.
    dot1xDefaultA1Group string
    Use Server-group
    dot1xDefaultA1Local boolean
    Use local username authentication
    dot1xDefaultA2Group string
    Use Server-group
    dot1xDefaultA2Local boolean
    Use local username authentication
    dot1xDefaultA3Group string
    Use Server-group
    dot1xDefaultA3Local boolean
    Use local username authentication
    dot1xDefaultA4Group string
    Use Server-group
    dot1xDefaultA4Local boolean
    Use local username authentication
    id string
    The path of the retrieved object.
    logins GetAaaAuthenticationLogin[]
    Set authentication lists for logins.
    device string
    A device name from the provider configuration.
    dot1x_default_a1_group str
    Use Server-group
    dot1x_default_a1_local bool
    Use local username authentication
    dot1x_default_a2_group str
    Use Server-group
    dot1x_default_a2_local bool
    Use local username authentication
    dot1x_default_a3_group str
    Use Server-group
    dot1x_default_a3_local bool
    Use local username authentication
    dot1x_default_a4_group str
    Use Server-group
    dot1x_default_a4_local bool
    Use local username authentication
    id str
    The path of the retrieved object.
    logins Sequence[GetAaaAuthenticationLogin]
    Set authentication lists for logins.
    device str
    A device name from the provider configuration.
    dot1xDefaultA1Group String
    Use Server-group
    dot1xDefaultA1Local Boolean
    Use local username authentication
    dot1xDefaultA2Group String
    Use Server-group
    dot1xDefaultA2Local Boolean
    Use local username authentication
    dot1xDefaultA3Group String
    Use Server-group
    dot1xDefaultA3Local Boolean
    Use local username authentication
    dot1xDefaultA4Group String
    Use Server-group
    dot1xDefaultA4Local Boolean
    Use local username authentication
    id String
    The path of the retrieved object.
    logins List<Property Map>
    Set authentication lists for logins.
    device String
    A device name from the provider configuration.

    Supporting Types

    GetAaaAuthenticationLogin

    A1Enable bool
    Use enable password for authentication.
    A1Group string
    Use Server-group
    A1Line bool
    Use line password for authentication.
    A1Local bool
    Use local username authentication.
    A1None bool
    NO authentication.
    A2Enable bool
    Use enable password for authentication.
    A2Group string
    Use Server-group
    A2Line bool
    Use line password for authentication.
    A2Local bool
    A2None bool
    NO authentication.
    A3Enable bool
    Use enable password for authentication.
    A3Group string
    Use Server-group
    A3Line bool
    Use line password for authentication.
    A3Local bool
    A3None bool
    NO authentication.
    A4Enable bool
    Use enable password for authentication.
    A4Group string
    Use Server-group
    A4Line bool
    Use line password for authentication.
    A4Local bool
    A4None bool
    NO authentication.
    Name string
    A1Enable bool
    Use enable password for authentication.
    A1Group string
    Use Server-group
    A1Line bool
    Use line password for authentication.
    A1Local bool
    Use local username authentication.
    A1None bool
    NO authentication.
    A2Enable bool
    Use enable password for authentication.
    A2Group string
    Use Server-group
    A2Line bool
    Use line password for authentication.
    A2Local bool
    A2None bool
    NO authentication.
    A3Enable bool
    Use enable password for authentication.
    A3Group string
    Use Server-group
    A3Line bool
    Use line password for authentication.
    A3Local bool
    A3None bool
    NO authentication.
    A4Enable bool
    Use enable password for authentication.
    A4Group string
    Use Server-group
    A4Line bool
    Use line password for authentication.
    A4Local bool
    A4None bool
    NO authentication.
    Name string
    a1Enable Boolean
    Use enable password for authentication.
    a1Group String
    Use Server-group
    a1Line Boolean
    Use line password for authentication.
    a1Local Boolean
    Use local username authentication.
    a1None Boolean
    NO authentication.
    a2Enable Boolean
    Use enable password for authentication.
    a2Group String
    Use Server-group
    a2Line Boolean
    Use line password for authentication.
    a2Local Boolean
    a2None Boolean
    NO authentication.
    a3Enable Boolean
    Use enable password for authentication.
    a3Group String
    Use Server-group
    a3Line Boolean
    Use line password for authentication.
    a3Local Boolean
    a3None Boolean
    NO authentication.
    a4Enable Boolean
    Use enable password for authentication.
    a4Group String
    Use Server-group
    a4Line Boolean
    Use line password for authentication.
    a4Local Boolean
    a4None Boolean
    NO authentication.
    name String
    a1Enable boolean
    Use enable password for authentication.
    a1Group string
    Use Server-group
    a1Line boolean
    Use line password for authentication.
    a1Local boolean
    Use local username authentication.
    a1None boolean
    NO authentication.
    a2Enable boolean
    Use enable password for authentication.
    a2Group string
    Use Server-group
    a2Line boolean
    Use line password for authentication.
    a2Local boolean
    a2None boolean
    NO authentication.
    a3Enable boolean
    Use enable password for authentication.
    a3Group string
    Use Server-group
    a3Line boolean
    Use line password for authentication.
    a3Local boolean
    a3None boolean
    NO authentication.
    a4Enable boolean
    Use enable password for authentication.
    a4Group string
    Use Server-group
    a4Line boolean
    Use line password for authentication.
    a4Local boolean
    a4None boolean
    NO authentication.
    name string
    a1_enable bool
    Use enable password for authentication.
    a1_group str
    Use Server-group
    a1_line bool
    Use line password for authentication.
    a1_local bool
    Use local username authentication.
    a1_none bool
    NO authentication.
    a2_enable bool
    Use enable password for authentication.
    a2_group str
    Use Server-group
    a2_line bool
    Use line password for authentication.
    a2_local bool
    a2_none bool
    NO authentication.
    a3_enable bool
    Use enable password for authentication.
    a3_group str
    Use Server-group
    a3_line bool
    Use line password for authentication.
    a3_local bool
    a3_none bool
    NO authentication.
    a4_enable bool
    Use enable password for authentication.
    a4_group str
    Use Server-group
    a4_line bool
    Use line password for authentication.
    a4_local bool
    a4_none bool
    NO authentication.
    name str
    a1Enable Boolean
    Use enable password for authentication.
    a1Group String
    Use Server-group
    a1Line Boolean
    Use line password for authentication.
    a1Local Boolean
    Use local username authentication.
    a1None Boolean
    NO authentication.
    a2Enable Boolean
    Use enable password for authentication.
    a2Group String
    Use Server-group
    a2Line Boolean
    Use line password for authentication.
    a2Local Boolean
    a2None Boolean
    NO authentication.
    a3Enable Boolean
    Use enable password for authentication.
    a3Group String
    Use Server-group
    a3Line Boolean
    Use line password for authentication.
    a3Local Boolean
    a3None Boolean
    NO authentication.
    a4Enable Boolean
    Use enable password for authentication.
    a4Group String
    Use Server-group
    a4Line Boolean
    Use line password for authentication.
    a4Local Boolean
    a4None Boolean
    NO authentication.
    name String

    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