Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
This data source can read the Logging configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetLogging.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.LookupLogging(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.GetLoggingArgs;
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.getLogging();
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getLogging({});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_logging()
variables:
example:
fn::invoke:
Function: iosxe:getLogging
Arguments: {}
Using getLogging
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 getLogging(args: GetLoggingArgs, opts?: InvokeOptions): Promise<GetLoggingResult>
function getLoggingOutput(args: GetLoggingOutputArgs, opts?: InvokeOptions): Output<GetLoggingResult>def get_logging(device: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLoggingResult
def get_logging_output(device: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLoggingResult]func LookupLogging(ctx *Context, args *LookupLoggingArgs, opts ...InvokeOption) (*LookupLoggingResult, error)
func LookupLoggingOutput(ctx *Context, args *LookupLoggingOutputArgs, opts ...InvokeOption) LookupLoggingResultOutput> Note: This function is named LookupLogging in the Go SDK.
public static class GetLogging
{
public static Task<GetLoggingResult> InvokeAsync(GetLoggingArgs args, InvokeOptions? opts = null)
public static Output<GetLoggingResult> Invoke(GetLoggingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLoggingResult> getLogging(GetLoggingArgs args, InvokeOptions options)
public static Output<GetLoggingResult> getLogging(GetLoggingArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getLogging:getLogging
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.
getLogging Result
The following output properties are available:
- Buffered
Severity string - Logging severity level
- Buffered
Size int - Logging buffer size
- Console
Severity string - Facility string
- Facility parameter for syslog messages
- File
Max intSize - File
Min intSize - File
Name string - File
Severity string - History
Severity string - History
Size int - Set history table size
- Id string
- The path of the retrieved object.
- Ipv4Hosts
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Logging Ipv4Host> - Ipv4Vrf
Hosts List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Logging Ipv4Vrf Host> - Ipv6Hosts
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Logging Ipv6Host> - Ipv6Vrf
Hosts List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Logging Ipv6Vrf Host> - Monitor
Severity string - Origin
Id stringName - Define a unique text string as ID
- Origin
Id stringType - Use origin hostname/ip/ipv6 as ID
- Source
Interface string - Source
Interfaces List<Lbrlabs.Vrves Pulumi Package. Iosxe. Outputs. Get Logging Source Interfaces Vrf> - Specify interface and vrf for source address in logging transactions
- Trap bool
- Set trap server logging level
- Trap
Severity string - Device string
- A device name from the provider configuration.
- Buffered
Severity string - Logging severity level
- Buffered
Size int - Logging buffer size
- Console
Severity string - Facility string
- Facility parameter for syslog messages
- File
Max intSize - File
Min intSize - File
Name string - File
Severity string - History
Severity string - History
Size int - Set history table size
- Id string
- The path of the retrieved object.
- Ipv4Hosts
[]Get
Logging Ipv4Host - Ipv4Vrf
Hosts []GetLogging Ipv4Vrf Host - Ipv6Hosts
[]Get
Logging Ipv6Host - Ipv6Vrf
Hosts []GetLogging Ipv6Vrf Host - Monitor
Severity string - Origin
Id stringName - Define a unique text string as ID
- Origin
Id stringType - Use origin hostname/ip/ipv6 as ID
- Source
Interface string - Source
Interfaces []GetVrves Logging Source Interfaces Vrf - Specify interface and vrf for source address in logging transactions
- Trap bool
- Set trap server logging level
- Trap
Severity string - Device string
- A device name from the provider configuration.
- buffered
Severity String - Logging severity level
- buffered
Size Integer - Logging buffer size
- console
Severity String - facility String
- Facility parameter for syslog messages
- file
Max IntegerSize - file
Min IntegerSize - file
Name String - file
Severity String - history
Severity String - history
Size Integer - Set history table size
- id String
- The path of the retrieved object.
- ipv4Hosts
List<Get
Logging Ipv4Host> - ipv4Vrf
Hosts List<GetLogging Ipv4Vrf Host> - ipv6Hosts
List<Get
Logging Ipv6Host> - ipv6Vrf
Hosts List<GetLogging Ipv6Vrf Host> - monitor
Severity String - origin
Id StringName - Define a unique text string as ID
- origin
Id StringType - Use origin hostname/ip/ipv6 as ID
- source
Interface String - source
Interfaces List<GetVrves Logging Source Interfaces Vrf> - Specify interface and vrf for source address in logging transactions
- trap Boolean
- Set trap server logging level
- trap
Severity String - device String
- A device name from the provider configuration.
- buffered
Severity string - Logging severity level
- buffered
Size number - Logging buffer size
- console
Severity string - facility string
- Facility parameter for syslog messages
- file
Max numberSize - file
Min numberSize - file
Name string - file
Severity string - history
Severity string - history
Size number - Set history table size
- id string
- The path of the retrieved object.
- ipv4Hosts
Get
Logging Ipv4Host[] - ipv4Vrf
Hosts GetLogging Ipv4Vrf Host[] - ipv6Hosts
Get
Logging Ipv6Host[] - ipv6Vrf
Hosts GetLogging Ipv6Vrf Host[] - monitor
Severity string - origin
Id stringName - Define a unique text string as ID
- origin
Id stringType - Use origin hostname/ip/ipv6 as ID
- source
Interface string - source
Interfaces GetVrves Logging Source Interfaces Vrf[] - Specify interface and vrf for source address in logging transactions
- trap boolean
- Set trap server logging level
- trap
Severity string - device string
- A device name from the provider configuration.
- buffered_
severity str - Logging severity level
- buffered_
size int - Logging buffer size
- console_
severity str - facility str
- Facility parameter for syslog messages
- file_
max_ intsize - file_
min_ intsize - file_
name str - file_
severity str - history_
severity str - history_
size int - Set history table size
- id str
- The path of the retrieved object.
- ipv4_
hosts Sequence[GetLogging Ipv4Host] - ipv4_
vrf_ Sequence[Gethosts Logging Ipv4Vrf Host] - ipv6_
hosts Sequence[GetLogging Ipv6Host] - ipv6_
vrf_ Sequence[Gethosts Logging Ipv6Vrf Host] - monitor_
severity str - origin_
id_ strname - Define a unique text string as ID
- origin_
id_ strtype - Use origin hostname/ip/ipv6 as ID
- source_
interface str - source_
interfaces_ Sequence[Getvrves Logging Source Interfaces Vrf] - Specify interface and vrf for source address in logging transactions
- trap bool
- Set trap server logging level
- trap_
severity str - device str
- A device name from the provider configuration.
- buffered
Severity String - Logging severity level
- buffered
Size Number - Logging buffer size
- console
Severity String - facility String
- Facility parameter for syslog messages
- file
Max NumberSize - file
Min NumberSize - file
Name String - file
Severity String - history
Severity String - history
Size Number - Set history table size
- id String
- The path of the retrieved object.
- ipv4Hosts List<Property Map>
- ipv4Vrf
Hosts List<Property Map> - ipv6Hosts List<Property Map>
- ipv6Vrf
Hosts List<Property Map> - monitor
Severity String - origin
Id StringName - Define a unique text string as ID
- origin
Id StringType - Use origin hostname/ip/ipv6 as ID
- source
Interface String - source
Interfaces List<Property Map>Vrves - Specify interface and vrf for source address in logging transactions
- trap Boolean
- Set trap server logging level
- trap
Severity String - device String
- A device name from the provider configuration.
Supporting Types
GetLoggingIpv4Host
- Ipv4Host string
- Ipv4Host string
- ipv4Host String
- ipv4Host string
- ipv4_
host str
- ipv4Host String
GetLoggingIpv4VrfHost
GetLoggingIpv6Host
- Ipv6Host string
- Ipv6Host string
- ipv6Host String
- ipv6Host string
- ipv6_
host str
- ipv6Host String
GetLoggingIpv6VrfHost
GetLoggingSourceInterfacesVrf
- Interface
Name string - Vrf string
- Specify the vrf of source interface for logging transactions
- Interface
Name string - Vrf string
- Specify the vrf of source interface for logging transactions
- interface
Name String - vrf String
- Specify the vrf of source interface for logging transactions
- interface
Name string - vrf string
- Specify the vrf of source interface for logging transactions
- interface_
name str - vrf str
- Specify the vrf of source interface for logging transactions
- interface
Name String - vrf String
- Specify the vrf of source interface for logging transactions
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxeTerraform Provider.
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
