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

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();

});
Copy
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
	})
}
Copy
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();

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";

const example = iosxe.getAaaAccounting({});
Copy
import pulumi
import pulumi_iosxe as iosxe

example = iosxe.get_aaa_accounting()
Copy
variables:
  example:
    fn::invoke:
      Function: iosxe:getAaaAccounting
      Arguments: {}
Copy

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>
Copy
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]
Copy
func LookupAaaAccounting(ctx *Context, args *LookupAaaAccountingArgs, opts ...InvokeOption) (*LookupAaaAccountingResult, error)
func LookupAaaAccountingOutput(ctx *Context, args *LookupAaaAccountingOutputArgs, opts ...InvokeOption) LookupAaaAccountingResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAaaAccountingResult> getAaaAccounting(GetAaaAccountingArgs args, InvokeOptions options)
public static Output<GetAaaAccountingResult> getAaaAccounting(GetAaaAccountingArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: iosxe:index/getAaaAccounting:getAaaAccounting
  arguments:
    # arguments dictionary
Copy

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 This property is required. string
StartStopGroup1 This property is required. string
Use Server-group
Name This property is required. string
StartStopGroup1 This property is required. string
Use Server-group
name This property is required. String
startStopGroup1 This property is required. String
Use Server-group
name This property is required. string
startStopGroup1 This property is required. string
Use Server-group
name This property is required. str
start_stop_group1 This property is required. str
Use Server-group
name This property is required. String
startStopGroup1 This property is required. String
Use Server-group

GetAaaAccountingNetwork

Id This property is required. string
The path of the retrieved object.
StartStopGroup1 This property is required. string
Use Server-group
StartStopGroup2 This property is required. string
Use Server-group
Id This property is required. string
The path of the retrieved object.
StartStopGroup1 This property is required. string
Use Server-group
StartStopGroup2 This property is required. string
Use Server-group
id This property is required. String
The path of the retrieved object.
startStopGroup1 This property is required. String
Use Server-group
startStopGroup2 This property is required. String
Use Server-group
id This property is required. string
The path of the retrieved object.
startStopGroup1 This property is required. string
Use Server-group
startStopGroup2 This property is required. string
Use Server-group
id This property is required. str
The path of the retrieved object.
start_stop_group1 This property is required. str
Use Server-group
start_stop_group2 This property is required. str
Use Server-group
id This property is required. String
The path of the retrieved object.
startStopGroup1 This property is required. String
Use Server-group
startStopGroup2 This property is required. 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.
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs