Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getAaaAccounting
Explore with Pulumi AI
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 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.
 
getAaaAccounting Result
The following output properties are available:
- Execs
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Aaa Accounting Exec>  - For starting an exec (shell).
 - Id string
 - The path of the retrieved object.
 - Identity
Default stringStart Stop Group1  - Use Server-group
 - Identity
Default stringStart Stop Group2  - Use Server-group
 - Identity
Default stringStart Stop Group3  - Use Server-group
 - Identity
Default stringStart Stop Group4  - Use Server-group
 - Networks
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Aaa Accounting Network>  - For network services. (PPP, SLIP, ARAP)
 - System
Guarantee boolFirst  - Guarantee system accounting as first record.
 - Update
Newinfo intPeriodic  - Periodic intervals to send accounting update records(in minutes)
 - Device string
 - A device name from the provider configuration.
 
- Execs
[]Get
Aaa Accounting Exec  - For starting an exec (shell).
 - Id string
 - The path of the retrieved object.
 - Identity
Default stringStart Stop Group1  - Use Server-group
 - Identity
Default stringStart Stop Group2  - Use Server-group
 - Identity
Default stringStart Stop Group3  - Use Server-group
 - Identity
Default stringStart Stop Group4  - Use Server-group
 - Networks
[]Get
Aaa Accounting Network  - For network services. (PPP, SLIP, ARAP)
 - System
Guarantee boolFirst  - Guarantee system accounting as first record.
 - Update
Newinfo intPeriodic  - Periodic intervals to send accounting update records(in minutes)
 - Device string
 - A device name from the provider configuration.
 
- execs
List<Get
Aaa Accounting Exec>  - For starting an exec (shell).
 - id String
 - The path of the retrieved object.
 - identity
Default StringStart Stop Group1  - Use Server-group
 - identity
Default StringStart Stop Group2  - Use Server-group
 - identity
Default StringStart Stop Group3  - Use Server-group
 - identity
Default StringStart Stop Group4  - Use Server-group
 - networks
List<Get
Aaa Accounting Network>  - For network services. (PPP, SLIP, ARAP)
 - system
Guarantee BooleanFirst  - Guarantee system accounting as first record.
 - update
Newinfo IntegerPeriodic  - Periodic intervals to send accounting update records(in minutes)
 - device String
 - A device name from the provider configuration.
 
- execs
Get
Aaa Accounting Exec[]  - For starting an exec (shell).
 - id string
 - The path of the retrieved object.
 - identity
Default stringStart Stop Group1  - Use Server-group
 - identity
Default stringStart Stop Group2  - Use Server-group
 - identity
Default stringStart Stop Group3  - Use Server-group
 - identity
Default stringStart Stop Group4  - Use Server-group
 - networks
Get
Aaa Accounting Network[]  - For network services. (PPP, SLIP, ARAP)
 - system
Guarantee booleanFirst  - Guarantee system accounting as first record.
 - update
Newinfo numberPeriodic  - Periodic intervals to send accounting update records(in minutes)
 - device string
 - A device name from the provider configuration.
 
- execs
Sequence[Get
Aaa Accounting Exec]  - For starting an exec (shell).
 - id str
 - The path of the retrieved object.
 - identity_
default_ strstart_ stop_ group1  - Use Server-group
 - identity_
default_ strstart_ stop_ group2  - Use Server-group
 - identity_
default_ strstart_ stop_ group3  - Use Server-group
 - identity_
default_ strstart_ stop_ group4  - Use Server-group
 - networks
Sequence[Get
Aaa Accounting Network]  - For network services. (PPP, SLIP, ARAP)
 - system_
guarantee_ boolfirst  - Guarantee system accounting as first record.
 - update_
newinfo_ intperiodic  - 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.
 - identity
Default StringStart Stop Group1  - Use Server-group
 - identity
Default StringStart Stop Group2  - Use Server-group
 - identity
Default StringStart Stop Group3  - Use Server-group
 - identity
Default StringStart Stop Group4  - Use Server-group
 - networks List<Property Map>
 - For network services. (PPP, SLIP, ARAP)
 - system
Guarantee BooleanFirst  - Guarantee system accounting as first record.
 - update
Newinfo NumberPeriodic  - Periodic intervals to send accounting update records(in minutes)
 - device String
 - A device name from the provider configuration.
 
Supporting Types
GetAaaAccountingExec   
- Name string
 - Start
Stop stringGroup1  - Use Server-group
 
- Name string
 - Start
Stop stringGroup1  - Use Server-group
 
- name String
 - start
Stop StringGroup1  - Use Server-group
 
- name string
 - start
Stop stringGroup1  - Use Server-group
 
- name str
 - start_
stop_ strgroup1  - Use Server-group
 
- name String
 - start
Stop StringGroup1  - Use Server-group
 
GetAaaAccountingNetwork   
- Id string
 - The path of the retrieved object.
 - Start
Stop stringGroup1  - Use Server-group
 - Start
Stop stringGroup2  - Use Server-group
 
- Id string
 - The path of the retrieved object.
 - Start
Stop stringGroup1  - Use Server-group
 - Start
Stop stringGroup2  - Use Server-group
 
- id String
 - The path of the retrieved object.
 - start
Stop StringGroup1  - Use Server-group
 - start
Stop StringGroup2  - Use Server-group
 
- id string
 - The path of the retrieved object.
 - start
Stop stringGroup1  - Use Server-group
 - start
Stop stringGroup2  - Use Server-group
 
- id str
 - The path of the retrieved object.
 - start_
stop_ strgroup1  - Use Server-group
 - start_
stop_ strgroup2  - Use Server-group
 
- id String
 - The path of the retrieved object.
 - start
Stop StringGroup1  - Use Server-group
 - start
Stop StringGroup2  - Use Server-group
 
Package Details
- Repository
 - iosxe lbrlabs/pulumi-iosxe
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
iosxeTerraform Provider.