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

iosxe.getAaaAuthorization

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 Authorization configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetAaaAuthorization.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.LookupAaaAuthorization(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.GetAaaAuthorizationArgs;
    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.getAaaAuthorization();
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_aaa_authorization()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getAaaAuthorization({});
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getAaaAuthorization
          Arguments: {}
    

    Using getAaaAuthorization

    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 getAaaAuthorization(args: GetAaaAuthorizationArgs, opts?: InvokeOptions): Promise<GetAaaAuthorizationResult>
    function getAaaAuthorizationOutput(args: GetAaaAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetAaaAuthorizationResult>
    def get_aaa_authorization(device: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAaaAuthorizationResult
    def get_aaa_authorization_output(device: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetAaaAuthorizationResult]
    func LookupAaaAuthorization(ctx *Context, args *LookupAaaAuthorizationArgs, opts ...InvokeOption) (*LookupAaaAuthorizationResult, error)
    func LookupAaaAuthorizationOutput(ctx *Context, args *LookupAaaAuthorizationOutputArgs, opts ...InvokeOption) LookupAaaAuthorizationResultOutput

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

    public static class GetAaaAuthorization 
    {
        public static Task<GetAaaAuthorizationResult> InvokeAsync(GetAaaAuthorizationArgs args, InvokeOptions? opts = null)
        public static Output<GetAaaAuthorizationResult> Invoke(GetAaaAuthorizationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAaaAuthorizationResult> getAaaAuthorization(GetAaaAuthorizationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getAaaAuthorization:getAaaAuthorization
      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.

    getAaaAuthorization Result

    The following output properties are available:

    Execs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetAaaAuthorizationExec>
    For starting an exec (shell).
    Id string
    The path of the retrieved object.
    Networks List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetAaaAuthorizationNetwork>
    For network services. (PPP, SLIP, ARAP)
    Device string
    A device name from the provider configuration.
    Execs []GetAaaAuthorizationExec
    For starting an exec (shell).
    Id string
    The path of the retrieved object.
    Networks []GetAaaAuthorizationNetwork
    For network services. (PPP, SLIP, ARAP)
    Device string
    A device name from the provider configuration.
    execs List<GetAaaAuthorizationExec>
    For starting an exec (shell).
    id String
    The path of the retrieved object.
    networks List<GetAaaAuthorizationNetwork>
    For network services. (PPP, SLIP, ARAP)
    device String
    A device name from the provider configuration.
    execs GetAaaAuthorizationExec[]
    For starting an exec (shell).
    id string
    The path of the retrieved object.
    networks GetAaaAuthorizationNetwork[]
    For network services. (PPP, SLIP, ARAP)
    device string
    A device name from the provider configuration.
    execs Sequence[GetAaaAuthorizationExec]
    For starting an exec (shell).
    id str
    The path of the retrieved object.
    networks Sequence[GetAaaAuthorizationNetwork]
    For network services. (PPP, SLIP, ARAP)
    device str
    A device name from the provider configuration.
    execs List<Property Map>
    For starting an exec (shell).
    id String
    The path of the retrieved object.
    networks List<Property Map>
    For network services. (PPP, SLIP, ARAP)
    device String
    A device name from the provider configuration.

    Supporting Types

    GetAaaAuthorizationExec

    A1Group string
    Use Server-group
    A1IfAuthenticated bool
    Succeed if user has authenticated.
    A1Local bool
    Use local database
    A2Local bool
    Name string
    A1Group string
    Use Server-group
    A1IfAuthenticated bool
    Succeed if user has authenticated.
    A1Local bool
    Use local database
    A2Local bool
    Name string
    a1Group String
    Use Server-group
    a1IfAuthenticated Boolean
    Succeed if user has authenticated.
    a1Local Boolean
    Use local database
    a2Local Boolean
    name String
    a1Group string
    Use Server-group
    a1IfAuthenticated boolean
    Succeed if user has authenticated.
    a1Local boolean
    Use local database
    a2Local boolean
    name string
    a1_group str
    Use Server-group
    a1_if_authenticated bool
    Succeed if user has authenticated.
    a1_local bool
    Use local database
    a2_local bool
    name str
    a1Group String
    Use Server-group
    a1IfAuthenticated Boolean
    Succeed if user has authenticated.
    a1Local Boolean
    Use local database
    a2Local Boolean
    name String

    GetAaaAuthorizationNetwork

    A1Group string
    Use Server-group
    Id string
    The path of the retrieved object.
    A1Group string
    Use Server-group
    Id string
    The path of the retrieved object.
    a1Group String
    Use Server-group
    id String
    The path of the retrieved object.
    a1Group string
    Use Server-group
    id string
    The path of the retrieved object.
    a1_group str
    Use Server-group
    id str
    The path of the retrieved object.
    a1Group String
    Use Server-group
    id String
    The path of the retrieved object.

    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