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

iosxe.getAaaAccounting

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

    Example Usage

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

    Using getAaaAccounting

    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 getAaaAccounting(args: GetAaaAccountingArgs, opts?: InvokeOptions): Promise<GetAaaAccountingResult>
    function getAaaAccountingOutput(args: GetAaaAccountingOutputArgs, opts?: InvokeOptions): Output<GetAaaAccountingResult>
    def get_aaa_accounting(device: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAaaAccountingResult
    def get_aaa_accounting_output(device: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetAaaAccountingResult]
    func LookupAaaAccounting(ctx *Context, args *LookupAaaAccountingArgs, opts ...InvokeOption) (*LookupAaaAccountingResult, error)
    func LookupAaaAccountingOutput(ctx *Context, args *LookupAaaAccountingOutputArgs, opts ...InvokeOption) LookupAaaAccountingResultOutput

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

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

    getAaaAccounting Result

    The following output properties are available:

    Execs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetAaaAccountingExec>
    For starting an exec (shell).
    Id string
    The path of the retrieved object.
    IdentityDefaultStartStopGroup1 string
    Use Server-group
    IdentityDefaultStartStopGroup2 string
    Use Server-group
    IdentityDefaultStartStopGroup3 string
    Use Server-group
    IdentityDefaultStartStopGroup4 string
    Use Server-group
    Networks List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetAaaAccountingNetwork>
    For network services. (PPP, SLIP, ARAP)
    SystemGuaranteeFirst bool
    Guarantee system accounting as first record.
    UpdateNewinfoPeriodic int
    Periodic intervals to send accounting update records(in minutes)
    Device string
    A device name from the provider configuration.
    Execs []GetAaaAccountingExec
    For starting an exec (shell).
    Id string
    The path of the retrieved object.
    IdentityDefaultStartStopGroup1 string
    Use Server-group
    IdentityDefaultStartStopGroup2 string
    Use Server-group
    IdentityDefaultStartStopGroup3 string
    Use Server-group
    IdentityDefaultStartStopGroup4 string
    Use Server-group
    Networks []GetAaaAccountingNetwork
    For network services. (PPP, SLIP, ARAP)
    SystemGuaranteeFirst bool
    Guarantee system accounting as first record.
    UpdateNewinfoPeriodic int
    Periodic intervals to send accounting update records(in minutes)
    Device string
    A device name from the provider configuration.
    execs List<GetAaaAccountingExec>
    For starting an exec (shell).
    id String
    The path of the retrieved object.
    identityDefaultStartStopGroup1 String
    Use Server-group
    identityDefaultStartStopGroup2 String
    Use Server-group
    identityDefaultStartStopGroup3 String
    Use Server-group
    identityDefaultStartStopGroup4 String
    Use Server-group
    networks List<GetAaaAccountingNetwork>
    For network services. (PPP, SLIP, ARAP)
    systemGuaranteeFirst Boolean
    Guarantee system accounting as first record.
    updateNewinfoPeriodic Integer
    Periodic intervals to send accounting update records(in minutes)
    device String
    A device name from the provider configuration.
    execs GetAaaAccountingExec[]
    For starting an exec (shell).
    id string
    The path of the retrieved object.
    identityDefaultStartStopGroup1 string
    Use Server-group
    identityDefaultStartStopGroup2 string
    Use Server-group
    identityDefaultStartStopGroup3 string
    Use Server-group
    identityDefaultStartStopGroup4 string
    Use Server-group
    networks GetAaaAccountingNetwork[]
    For network services. (PPP, SLIP, ARAP)
    systemGuaranteeFirst boolean
    Guarantee system accounting as first record.
    updateNewinfoPeriodic number
    Periodic intervals to send accounting update records(in minutes)
    device string
    A device name from the provider configuration.
    execs Sequence[GetAaaAccountingExec]
    For starting an exec (shell).
    id str
    The path of the retrieved object.
    identity_default_start_stop_group1 str
    Use Server-group
    identity_default_start_stop_group2 str
    Use Server-group
    identity_default_start_stop_group3 str
    Use Server-group
    identity_default_start_stop_group4 str
    Use Server-group
    networks Sequence[GetAaaAccountingNetwork]
    For network services. (PPP, SLIP, ARAP)
    system_guarantee_first bool
    Guarantee system accounting as first record.
    update_newinfo_periodic int
    Periodic intervals to send accounting update records(in minutes)
    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.
    identityDefaultStartStopGroup1 String
    Use Server-group
    identityDefaultStartStopGroup2 String
    Use Server-group
    identityDefaultStartStopGroup3 String
    Use Server-group
    identityDefaultStartStopGroup4 String
    Use Server-group
    networks List<Property Map>
    For network services. (PPP, SLIP, ARAP)
    systemGuaranteeFirst Boolean
    Guarantee system accounting as first record.
    updateNewinfoPeriodic Number
    Periodic intervals to send accounting update records(in minutes)
    device String
    A device name from the provider configuration.

    Supporting Types

    GetAaaAccountingExec

    Name string
    StartStopGroup1 string
    Use Server-group
    Name string
    StartStopGroup1 string
    Use Server-group
    name String
    startStopGroup1 String
    Use Server-group
    name string
    startStopGroup1 string
    Use Server-group
    name str
    start_stop_group1 str
    Use Server-group
    name String
    startStopGroup1 String
    Use Server-group

    GetAaaAccountingNetwork

    Id string
    The path of the retrieved object.
    StartStopGroup1 string
    Use Server-group
    StartStopGroup2 string
    Use Server-group
    Id string
    The path of the retrieved object.
    StartStopGroup1 string
    Use Server-group
    StartStopGroup2 string
    Use Server-group
    id String
    The path of the retrieved object.
    startStopGroup1 String
    Use Server-group
    startStopGroup2 String
    Use Server-group
    id string
    The path of the retrieved object.
    startStopGroup1 string
    Use Server-group
    startStopGroup2 string
    Use Server-group
    id str
    The path of the retrieved object.
    start_stop_group1 str
    Use Server-group
    start_stop_group2 str
    Use Server-group
    id String
    The path of the retrieved object.
    startStopGroup1 String
    Use Server-group
    startStopGroup2 String
    Use Server-group

    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