Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getAaaAuthorization
Explore with Pulumi AI
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 dictionaryThe 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.
Pulumi Package. Iosxe. Outputs. Get Aaa Authorization Exec>  - For starting an exec (shell).
 - Id string
 - The path of the retrieved object.
 - Networks
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Aaa Authorization Network>  - For network services. (PPP, SLIP, ARAP)
 - Device string
 - A device name from the provider configuration.
 
- Execs
[]Get
Aaa Authorization Exec  - For starting an exec (shell).
 - Id string
 - The path of the retrieved object.
 - Networks
[]Get
Aaa Authorization Network  - For network services. (PPP, SLIP, ARAP)
 - Device string
 - A device name from the provider configuration.
 
- execs
List<Get
Aaa Authorization Exec>  - For starting an exec (shell).
 - id String
 - The path of the retrieved object.
 - networks
List<Get
Aaa Authorization Network>  - For network services. (PPP, SLIP, ARAP)
 - device String
 - A device name from the provider configuration.
 
- execs
Get
Aaa Authorization Exec[]  - For starting an exec (shell).
 - id string
 - The path of the retrieved object.
 - networks
Get
Aaa Authorization Network[]  - For network services. (PPP, SLIP, ARAP)
 - device string
 - A device name from the provider configuration.
 
- execs
Sequence[Get
Aaa Authorization Exec]  - For starting an exec (shell).
 - id str
 - The path of the retrieved object.
 - networks
Sequence[Get
Aaa Authorization Network]  - 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
 - A1If
Authenticated bool - Succeed if user has authenticated.
 - A1Local bool
 - Use local database
 - A2Local bool
 - Name string
 
- A1Group string
 - Use Server-group
 - A1If
Authenticated bool - Succeed if user has authenticated.
 - A1Local bool
 - Use local database
 - A2Local bool
 - Name string
 
- a1Group String
 - Use Server-group
 - a1If
Authenticated Boolean - Succeed if user has authenticated.
 - a1Local Boolean
 - Use local database
 - a2Local Boolean
 - name String
 
- a1Group string
 - Use Server-group
 - a1If
Authenticated boolean - Succeed if user has authenticated.
 - a1Local boolean
 - Use local database
 - a2Local boolean
 - name string
 
- a1_
group str - Use Server-group
 - a1_
if_ boolauthenticated  - Succeed if user has authenticated.
 - a1_
local bool - Use local database
 - a2_
local bool - name str
 
- a1Group String
 - Use Server-group
 - a1If
Authenticated Boolean - Succeed if user has authenticated.
 - a1Local Boolean
 - Use local database
 - a2Local Boolean
 - name String
 
GetAaaAuthorizationNetwork   
Package Details
- Repository
 - iosxe lbrlabs/pulumi-iosxe
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
iosxeTerraform Provider.