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

iosxe.Logging

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This resource can manage the Logging configuration.

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.iosxe.Logging;
    import com.pulumi.iosxe.LoggingArgs;
    import com.pulumi.iosxe.inputs.LoggingIpv4HostArgs;
    import com.pulumi.iosxe.inputs.LoggingIpv4VrfHostArgs;
    import com.pulumi.iosxe.inputs.LoggingIpv6HostArgs;
    import com.pulumi.iosxe.inputs.LoggingIpv6VrfHostArgs;
    import com.pulumi.iosxe.inputs.LoggingSourceInterfacesVrfArgs;
    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) {
            var example = new Logging("example", LoggingArgs.builder()        
                .bufferedSeverity("informational")
                .bufferedSize(16000)
                .consoleSeverity("informational")
                .facility("local0")
                .historySeverity("informational")
                .historySize(100)
                .ipv4Hosts(LoggingIpv4HostArgs.builder()
                    .ipv4_host("1.1.1.1")
                    .build())
                .ipv4VrfHosts(LoggingIpv4VrfHostArgs.builder()
                    .ipv4_host("1.1.1.1")
                    .vrf("VRF1")
                    .build())
                .ipv6Hosts(LoggingIpv6HostArgs.builder()
                    .ipv6_host("2001::1")
                    .build())
                .ipv6VrfHosts(LoggingIpv6VrfHostArgs.builder()
                    .ipv6_host("2001::1")
                    .vrf("VRF1")
                    .build())
                .monitorSeverity("informational")
                .originIdType("hostname")
                .sourceInterface("Loopback0")
                .sourceInterfacesVrves(LoggingSourceInterfacesVrfArgs.builder()
                    .interface_name("Loopback100")
                    .vrf("VRF1")
                    .build())
                .trap(true)
                .trapSeverity("informational")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    resources:
      example:
        type: iosxe:Logging
        properties:
          bufferedSeverity: informational
          bufferedSize: 16000
          consoleSeverity: informational
          facility: local0
          historySeverity: informational
          historySize: 100
          ipv4Hosts:
            - ipv4_host: 1.1.1.1
          ipv4VrfHosts:
            - ipv4_host: 1.1.1.1
              vrf: VRF1
          ipv6Hosts:
            - ipv6_host: 2001::1
          ipv6VrfHosts:
            - ipv6_host: 2001::1
              vrf: VRF1
          monitorSeverity: informational
          originIdType: hostname
          sourceInterface: Loopback0
          sourceInterfacesVrves:
            - interface_name: Loopback100
              vrf: VRF1
          trap: true
          trapSeverity: informational
    

    Create Logging Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Logging(name: string, args?: LoggingArgs, opts?: CustomResourceOptions);
    @overload
    def Logging(resource_name: str,
                args: Optional[LoggingArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Logging(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                buffered_severity: Optional[str] = None,
                buffered_size: Optional[int] = None,
                console_severity: Optional[str] = None,
                device: Optional[str] = None,
                facility: Optional[str] = None,
                file_max_size: Optional[int] = None,
                file_min_size: Optional[int] = None,
                file_name: Optional[str] = None,
                file_severity: Optional[str] = None,
                history_severity: Optional[str] = None,
                history_size: Optional[int] = None,
                ipv4_hosts: Optional[Sequence[LoggingIpv4HostArgs]] = None,
                ipv4_vrf_hosts: Optional[Sequence[LoggingIpv4VrfHostArgs]] = None,
                ipv6_hosts: Optional[Sequence[LoggingIpv6HostArgs]] = None,
                ipv6_vrf_hosts: Optional[Sequence[LoggingIpv6VrfHostArgs]] = None,
                monitor_severity: Optional[str] = None,
                origin_id_name: Optional[str] = None,
                origin_id_type: Optional[str] = None,
                source_interface: Optional[str] = None,
                source_interfaces_vrves: Optional[Sequence[LoggingSourceInterfacesVrfArgs]] = None,
                trap: Optional[bool] = None,
                trap_severity: Optional[str] = None)
    func NewLogging(ctx *Context, name string, args *LoggingArgs, opts ...ResourceOption) (*Logging, error)
    public Logging(string name, LoggingArgs? args = null, CustomResourceOptions? opts = null)
    public Logging(String name, LoggingArgs args)
    public Logging(String name, LoggingArgs args, CustomResourceOptions options)
    
    type: iosxe:Logging
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LoggingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LoggingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LoggingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LoggingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LoggingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var loggingResource = new Iosxe.Logging("loggingResource", new()
    {
        BufferedSeverity = "string",
        BufferedSize = 0,
        ConsoleSeverity = "string",
        Device = "string",
        Facility = "string",
        FileMaxSize = 0,
        FileMinSize = 0,
        FileName = "string",
        FileSeverity = "string",
        HistorySeverity = "string",
        HistorySize = 0,
        Ipv4Hosts = new[]
        {
            new Iosxe.Inputs.LoggingIpv4HostArgs
            {
                Ipv4Host = "string",
            },
        },
        Ipv4VrfHosts = new[]
        {
            new Iosxe.Inputs.LoggingIpv4VrfHostArgs
            {
                Ipv4Host = "string",
                Vrf = "string",
            },
        },
        Ipv6Hosts = new[]
        {
            new Iosxe.Inputs.LoggingIpv6HostArgs
            {
                Ipv6Host = "string",
            },
        },
        Ipv6VrfHosts = new[]
        {
            new Iosxe.Inputs.LoggingIpv6VrfHostArgs
            {
                Ipv6Host = "string",
                Vrf = "string",
            },
        },
        MonitorSeverity = "string",
        OriginIdName = "string",
        OriginIdType = "string",
        SourceInterface = "string",
        SourceInterfacesVrves = new[]
        {
            new Iosxe.Inputs.LoggingSourceInterfacesVrfArgs
            {
                InterfaceName = "string",
                Vrf = "string",
            },
        },
        Trap = false,
        TrapSeverity = "string",
    });
    
    example, err := iosxe.NewLogging(ctx, "loggingResource", &iosxe.LoggingArgs{
    	BufferedSeverity: pulumi.String("string"),
    	BufferedSize:     pulumi.Int(0),
    	ConsoleSeverity:  pulumi.String("string"),
    	Device:           pulumi.String("string"),
    	Facility:         pulumi.String("string"),
    	FileMaxSize:      pulumi.Int(0),
    	FileMinSize:      pulumi.Int(0),
    	FileName:         pulumi.String("string"),
    	FileSeverity:     pulumi.String("string"),
    	HistorySeverity:  pulumi.String("string"),
    	HistorySize:      pulumi.Int(0),
    	Ipv4Hosts: iosxe.LoggingIpv4HostArray{
    		&iosxe.LoggingIpv4HostArgs{
    			Ipv4Host: pulumi.String("string"),
    		},
    	},
    	Ipv4VrfHosts: iosxe.LoggingIpv4VrfHostArray{
    		&iosxe.LoggingIpv4VrfHostArgs{
    			Ipv4Host: pulumi.String("string"),
    			Vrf:      pulumi.String("string"),
    		},
    	},
    	Ipv6Hosts: iosxe.LoggingIpv6HostArray{
    		&iosxe.LoggingIpv6HostArgs{
    			Ipv6Host: pulumi.String("string"),
    		},
    	},
    	Ipv6VrfHosts: iosxe.LoggingIpv6VrfHostArray{
    		&iosxe.LoggingIpv6VrfHostArgs{
    			Ipv6Host: pulumi.String("string"),
    			Vrf:      pulumi.String("string"),
    		},
    	},
    	MonitorSeverity: pulumi.String("string"),
    	OriginIdName:    pulumi.String("string"),
    	OriginIdType:    pulumi.String("string"),
    	SourceInterface: pulumi.String("string"),
    	SourceInterfacesVrves: iosxe.LoggingSourceInterfacesVrfArray{
    		&iosxe.LoggingSourceInterfacesVrfArgs{
    			InterfaceName: pulumi.String("string"),
    			Vrf:           pulumi.String("string"),
    		},
    	},
    	Trap:         pulumi.Bool(false),
    	TrapSeverity: pulumi.String("string"),
    })
    
    var loggingResource = new Logging("loggingResource", LoggingArgs.builder()
        .bufferedSeverity("string")
        .bufferedSize(0)
        .consoleSeverity("string")
        .device("string")
        .facility("string")
        .fileMaxSize(0)
        .fileMinSize(0)
        .fileName("string")
        .fileSeverity("string")
        .historySeverity("string")
        .historySize(0)
        .ipv4Hosts(LoggingIpv4HostArgs.builder()
            .ipv4Host("string")
            .build())
        .ipv4VrfHosts(LoggingIpv4VrfHostArgs.builder()
            .ipv4Host("string")
            .vrf("string")
            .build())
        .ipv6Hosts(LoggingIpv6HostArgs.builder()
            .ipv6Host("string")
            .build())
        .ipv6VrfHosts(LoggingIpv6VrfHostArgs.builder()
            .ipv6Host("string")
            .vrf("string")
            .build())
        .monitorSeverity("string")
        .originIdName("string")
        .originIdType("string")
        .sourceInterface("string")
        .sourceInterfacesVrves(LoggingSourceInterfacesVrfArgs.builder()
            .interfaceName("string")
            .vrf("string")
            .build())
        .trap(false)
        .trapSeverity("string")
        .build());
    
    logging_resource = iosxe.Logging("loggingResource",
        buffered_severity="string",
        buffered_size=0,
        console_severity="string",
        device="string",
        facility="string",
        file_max_size=0,
        file_min_size=0,
        file_name="string",
        file_severity="string",
        history_severity="string",
        history_size=0,
        ipv4_hosts=[{
            "ipv4_host": "string",
        }],
        ipv4_vrf_hosts=[{
            "ipv4_host": "string",
            "vrf": "string",
        }],
        ipv6_hosts=[{
            "ipv6_host": "string",
        }],
        ipv6_vrf_hosts=[{
            "ipv6_host": "string",
            "vrf": "string",
        }],
        monitor_severity="string",
        origin_id_name="string",
        origin_id_type="string",
        source_interface="string",
        source_interfaces_vrves=[{
            "interface_name": "string",
            "vrf": "string",
        }],
        trap=False,
        trap_severity="string")
    
    const loggingResource = new iosxe.Logging("loggingResource", {
        bufferedSeverity: "string",
        bufferedSize: 0,
        consoleSeverity: "string",
        device: "string",
        facility: "string",
        fileMaxSize: 0,
        fileMinSize: 0,
        fileName: "string",
        fileSeverity: "string",
        historySeverity: "string",
        historySize: 0,
        ipv4Hosts: [{
            ipv4Host: "string",
        }],
        ipv4VrfHosts: [{
            ipv4Host: "string",
            vrf: "string",
        }],
        ipv6Hosts: [{
            ipv6Host: "string",
        }],
        ipv6VrfHosts: [{
            ipv6Host: "string",
            vrf: "string",
        }],
        monitorSeverity: "string",
        originIdName: "string",
        originIdType: "string",
        sourceInterface: "string",
        sourceInterfacesVrves: [{
            interfaceName: "string",
            vrf: "string",
        }],
        trap: false,
        trapSeverity: "string",
    });
    
    type: iosxe:Logging
    properties:
        bufferedSeverity: string
        bufferedSize: 0
        consoleSeverity: string
        device: string
        facility: string
        fileMaxSize: 0
        fileMinSize: 0
        fileName: string
        fileSeverity: string
        historySeverity: string
        historySize: 0
        ipv4Hosts:
            - ipv4Host: string
        ipv4VrfHosts:
            - ipv4Host: string
              vrf: string
        ipv6Hosts:
            - ipv6Host: string
        ipv6VrfHosts:
            - ipv6Host: string
              vrf: string
        monitorSeverity: string
        originIdName: string
        originIdType: string
        sourceInterface: string
        sourceInterfacesVrves:
            - interfaceName: string
              vrf: string
        trap: false
        trapSeverity: string
    

    Logging Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Logging resource accepts the following input properties:

    BufferedSeverity string
    Logging severity level
    BufferedSize int
    Logging buffer size - Range: 4096-2147483647
    ConsoleSeverity string
    Device string
    A device name from the provider configuration.
    Facility string
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    FileMaxSize int
    • Range: 0-4294967295
    FileMinSize int
    • Range: 0-4294967295
    FileName string
    FileSeverity string
    HistorySeverity string
    HistorySize int
    Set history table size - Range: 0-65535
    Ipv4Hosts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4Host>
    Ipv4VrfHosts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4VrfHost>
    Ipv6Hosts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6Host>
    Ipv6VrfHosts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6VrfHost>
    MonitorSeverity string
    OriginIdName string
    Define a unique text string as ID
    OriginIdType string
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    SourceInterface string
    SourceInterfacesVrves List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingSourceInterfacesVrf>
    Specify interface and vrf for source address in logging transactions
    Trap bool
    Set trap server logging level
    TrapSeverity string
    BufferedSeverity string
    Logging severity level
    BufferedSize int
    Logging buffer size - Range: 4096-2147483647
    ConsoleSeverity string
    Device string
    A device name from the provider configuration.
    Facility string
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    FileMaxSize int
    • Range: 0-4294967295
    FileMinSize int
    • Range: 0-4294967295
    FileName string
    FileSeverity string
    HistorySeverity string
    HistorySize int
    Set history table size - Range: 0-65535
    Ipv4Hosts []LoggingIpv4HostArgs
    Ipv4VrfHosts []LoggingIpv4VrfHostArgs
    Ipv6Hosts []LoggingIpv6HostArgs
    Ipv6VrfHosts []LoggingIpv6VrfHostArgs
    MonitorSeverity string
    OriginIdName string
    Define a unique text string as ID
    OriginIdType string
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    SourceInterface string
    SourceInterfacesVrves []LoggingSourceInterfacesVrfArgs
    Specify interface and vrf for source address in logging transactions
    Trap bool
    Set trap server logging level
    TrapSeverity string
    bufferedSeverity String
    Logging severity level
    bufferedSize Integer
    Logging buffer size - Range: 4096-2147483647
    consoleSeverity String
    device String
    A device name from the provider configuration.
    facility String
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    fileMaxSize Integer
    • Range: 0-4294967295
    fileMinSize Integer
    • Range: 0-4294967295
    fileName String
    fileSeverity String
    historySeverity String
    historySize Integer
    Set history table size - Range: 0-65535
    ipv4Hosts List<LoggingIpv4Host>
    ipv4VrfHosts List<LoggingIpv4VrfHost>
    ipv6Hosts List<LoggingIpv6Host>
    ipv6VrfHosts List<LoggingIpv6VrfHost>
    monitorSeverity String
    originIdName String
    Define a unique text string as ID
    originIdType String
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    sourceInterface String
    sourceInterfacesVrves List<LoggingSourceInterfacesVrf>
    Specify interface and vrf for source address in logging transactions
    trap Boolean
    Set trap server logging level
    trapSeverity String
    bufferedSeverity string
    Logging severity level
    bufferedSize number
    Logging buffer size - Range: 4096-2147483647
    consoleSeverity string
    device string
    A device name from the provider configuration.
    facility string
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    fileMaxSize number
    • Range: 0-4294967295
    fileMinSize number
    • Range: 0-4294967295
    fileName string
    fileSeverity string
    historySeverity string
    historySize number
    Set history table size - Range: 0-65535
    ipv4Hosts LoggingIpv4Host[]
    ipv4VrfHosts LoggingIpv4VrfHost[]
    ipv6Hosts LoggingIpv6Host[]
    ipv6VrfHosts LoggingIpv6VrfHost[]
    monitorSeverity string
    originIdName string
    Define a unique text string as ID
    originIdType string
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    sourceInterface string
    sourceInterfacesVrves LoggingSourceInterfacesVrf[]
    Specify interface and vrf for source address in logging transactions
    trap boolean
    Set trap server logging level
    trapSeverity string
    buffered_severity str
    Logging severity level
    buffered_size int
    Logging buffer size - Range: 4096-2147483647
    console_severity str
    device str
    A device name from the provider configuration.
    facility str
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    file_max_size int
    • Range: 0-4294967295
    file_min_size int
    • Range: 0-4294967295
    file_name str
    file_severity str
    history_severity str
    history_size int
    Set history table size - Range: 0-65535
    ipv4_hosts Sequence[LoggingIpv4HostArgs]
    ipv4_vrf_hosts Sequence[LoggingIpv4VrfHostArgs]
    ipv6_hosts Sequence[LoggingIpv6HostArgs]
    ipv6_vrf_hosts Sequence[LoggingIpv6VrfHostArgs]
    monitor_severity str
    origin_id_name str
    Define a unique text string as ID
    origin_id_type str
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    source_interface str
    source_interfaces_vrves Sequence[LoggingSourceInterfacesVrfArgs]
    Specify interface and vrf for source address in logging transactions
    trap bool
    Set trap server logging level
    trap_severity str
    bufferedSeverity String
    Logging severity level
    bufferedSize Number
    Logging buffer size - Range: 4096-2147483647
    consoleSeverity String
    device String
    A device name from the provider configuration.
    facility String
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    fileMaxSize Number
    • Range: 0-4294967295
    fileMinSize Number
    • Range: 0-4294967295
    fileName String
    fileSeverity String
    historySeverity String
    historySize Number
    Set history table size - Range: 0-65535
    ipv4Hosts List<Property Map>
    ipv4VrfHosts List<Property Map>
    ipv6Hosts List<Property Map>
    ipv6VrfHosts List<Property Map>
    monitorSeverity String
    originIdName String
    Define a unique text string as ID
    originIdType String
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    sourceInterface String
    sourceInterfacesVrves List<Property Map>
    Specify interface and vrf for source address in logging transactions
    trap Boolean
    Set trap server logging level
    trapSeverity String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Logging resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Logging Resource

    Get an existing Logging resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LoggingState, opts?: CustomResourceOptions): Logging
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            buffered_severity: Optional[str] = None,
            buffered_size: Optional[int] = None,
            console_severity: Optional[str] = None,
            device: Optional[str] = None,
            facility: Optional[str] = None,
            file_max_size: Optional[int] = None,
            file_min_size: Optional[int] = None,
            file_name: Optional[str] = None,
            file_severity: Optional[str] = None,
            history_severity: Optional[str] = None,
            history_size: Optional[int] = None,
            ipv4_hosts: Optional[Sequence[LoggingIpv4HostArgs]] = None,
            ipv4_vrf_hosts: Optional[Sequence[LoggingIpv4VrfHostArgs]] = None,
            ipv6_hosts: Optional[Sequence[LoggingIpv6HostArgs]] = None,
            ipv6_vrf_hosts: Optional[Sequence[LoggingIpv6VrfHostArgs]] = None,
            monitor_severity: Optional[str] = None,
            origin_id_name: Optional[str] = None,
            origin_id_type: Optional[str] = None,
            source_interface: Optional[str] = None,
            source_interfaces_vrves: Optional[Sequence[LoggingSourceInterfacesVrfArgs]] = None,
            trap: Optional[bool] = None,
            trap_severity: Optional[str] = None) -> Logging
    func GetLogging(ctx *Context, name string, id IDInput, state *LoggingState, opts ...ResourceOption) (*Logging, error)
    public static Logging Get(string name, Input<string> id, LoggingState? state, CustomResourceOptions? opts = null)
    public static Logging get(String name, Output<String> id, LoggingState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BufferedSeverity string
    Logging severity level
    BufferedSize int
    Logging buffer size - Range: 4096-2147483647
    ConsoleSeverity string
    Device string
    A device name from the provider configuration.
    Facility string
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    FileMaxSize int
    • Range: 0-4294967295
    FileMinSize int
    • Range: 0-4294967295
    FileName string
    FileSeverity string
    HistorySeverity string
    HistorySize int
    Set history table size - Range: 0-65535
    Ipv4Hosts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4Host>
    Ipv4VrfHosts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4VrfHost>
    Ipv6Hosts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6Host>
    Ipv6VrfHosts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6VrfHost>
    MonitorSeverity string
    OriginIdName string
    Define a unique text string as ID
    OriginIdType string
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    SourceInterface string
    SourceInterfacesVrves List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingSourceInterfacesVrf>
    Specify interface and vrf for source address in logging transactions
    Trap bool
    Set trap server logging level
    TrapSeverity string
    BufferedSeverity string
    Logging severity level
    BufferedSize int
    Logging buffer size - Range: 4096-2147483647
    ConsoleSeverity string
    Device string
    A device name from the provider configuration.
    Facility string
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    FileMaxSize int
    • Range: 0-4294967295
    FileMinSize int
    • Range: 0-4294967295
    FileName string
    FileSeverity string
    HistorySeverity string
    HistorySize int
    Set history table size - Range: 0-65535
    Ipv4Hosts []LoggingIpv4HostArgs
    Ipv4VrfHosts []LoggingIpv4VrfHostArgs
    Ipv6Hosts []LoggingIpv6HostArgs
    Ipv6VrfHosts []LoggingIpv6VrfHostArgs
    MonitorSeverity string
    OriginIdName string
    Define a unique text string as ID
    OriginIdType string
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    SourceInterface string
    SourceInterfacesVrves []LoggingSourceInterfacesVrfArgs
    Specify interface and vrf for source address in logging transactions
    Trap bool
    Set trap server logging level
    TrapSeverity string
    bufferedSeverity String
    Logging severity level
    bufferedSize Integer
    Logging buffer size - Range: 4096-2147483647
    consoleSeverity String
    device String
    A device name from the provider configuration.
    facility String
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    fileMaxSize Integer
    • Range: 0-4294967295
    fileMinSize Integer
    • Range: 0-4294967295
    fileName String
    fileSeverity String
    historySeverity String
    historySize Integer
    Set history table size - Range: 0-65535
    ipv4Hosts List<LoggingIpv4Host>
    ipv4VrfHosts List<LoggingIpv4VrfHost>
    ipv6Hosts List<LoggingIpv6Host>
    ipv6VrfHosts List<LoggingIpv6VrfHost>
    monitorSeverity String
    originIdName String
    Define a unique text string as ID
    originIdType String
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    sourceInterface String
    sourceInterfacesVrves List<LoggingSourceInterfacesVrf>
    Specify interface and vrf for source address in logging transactions
    trap Boolean
    Set trap server logging level
    trapSeverity String
    bufferedSeverity string
    Logging severity level
    bufferedSize number
    Logging buffer size - Range: 4096-2147483647
    consoleSeverity string
    device string
    A device name from the provider configuration.
    facility string
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    fileMaxSize number
    • Range: 0-4294967295
    fileMinSize number
    • Range: 0-4294967295
    fileName string
    fileSeverity string
    historySeverity string
    historySize number
    Set history table size - Range: 0-65535
    ipv4Hosts LoggingIpv4Host[]
    ipv4VrfHosts LoggingIpv4VrfHost[]
    ipv6Hosts LoggingIpv6Host[]
    ipv6VrfHosts LoggingIpv6VrfHost[]
    monitorSeverity string
    originIdName string
    Define a unique text string as ID
    originIdType string
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    sourceInterface string
    sourceInterfacesVrves LoggingSourceInterfacesVrf[]
    Specify interface and vrf for source address in logging transactions
    trap boolean
    Set trap server logging level
    trapSeverity string
    buffered_severity str
    Logging severity level
    buffered_size int
    Logging buffer size - Range: 4096-2147483647
    console_severity str
    device str
    A device name from the provider configuration.
    facility str
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    file_max_size int
    • Range: 0-4294967295
    file_min_size int
    • Range: 0-4294967295
    file_name str
    file_severity str
    history_severity str
    history_size int
    Set history table size - Range: 0-65535
    ipv4_hosts Sequence[LoggingIpv4HostArgs]
    ipv4_vrf_hosts Sequence[LoggingIpv4VrfHostArgs]
    ipv6_hosts Sequence[LoggingIpv6HostArgs]
    ipv6_vrf_hosts Sequence[LoggingIpv6VrfHostArgs]
    monitor_severity str
    origin_id_name str
    Define a unique text string as ID
    origin_id_type str
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    source_interface str
    source_interfaces_vrves Sequence[LoggingSourceInterfacesVrfArgs]
    Specify interface and vrf for source address in logging transactions
    trap bool
    Set trap server logging level
    trap_severity str
    bufferedSeverity String
    Logging severity level
    bufferedSize Number
    Logging buffer size - Range: 4096-2147483647
    consoleSeverity String
    device String
    A device name from the provider configuration.
    facility String
    Facility parameter for syslog messages - Choices: auth, cron, daemon, kern, local0, local1, local2, local3, local4, local5, local6, local7, lpr, mail, news, sys10, sys11, sys12, sys13, sys14, sys9, syslog, user, uucp
    fileMaxSize Number
    • Range: 0-4294967295
    fileMinSize Number
    • Range: 0-4294967295
    fileName String
    fileSeverity String
    historySeverity String
    historySize Number
    Set history table size - Range: 0-65535
    ipv4Hosts List<Property Map>
    ipv4VrfHosts List<Property Map>
    ipv6Hosts List<Property Map>
    ipv6VrfHosts List<Property Map>
    monitorSeverity String
    originIdName String
    Define a unique text string as ID
    originIdType String
    Use origin hostname/ip/ipv6 as ID - Choices: hostname, ip, ipv6
    sourceInterface String
    sourceInterfacesVrves List<Property Map>
    Specify interface and vrf for source address in logging transactions
    trap Boolean
    Set trap server logging level
    trapSeverity String

    Supporting Types

    LoggingIpv4Host, LoggingIpv4HostArgs

    Ipv4Host string
    Ipv4Host string
    ipv4Host String
    ipv4Host string
    ipv4Host String

    LoggingIpv4VrfHost, LoggingIpv4VrfHostArgs

    Ipv4Host string
    Vrf string
    Ipv4Host string
    Vrf string
    ipv4Host String
    vrf String
    ipv4Host string
    vrf string
    ipv4_host str
    vrf str
    ipv4Host String
    vrf String

    LoggingIpv6Host, LoggingIpv6HostArgs

    Ipv6Host string
    Ipv6Host string
    ipv6Host String
    ipv6Host string
    ipv6Host String

    LoggingIpv6VrfHost, LoggingIpv6VrfHostArgs

    Ipv6Host string
    Vrf string
    Ipv6Host string
    Vrf string
    ipv6Host String
    vrf String
    ipv6Host string
    vrf string
    ipv6_host str
    vrf str
    ipv6Host String
    vrf String

    LoggingSourceInterfacesVrf, LoggingSourceInterfacesVrfArgs

    InterfaceName string
    Vrf string
    InterfaceName string
    Vrf string
    interfaceName String
    vrf String
    interfaceName string
    vrf string
    interfaceName String
    vrf String

    Import

     $ pulumi import iosxe:index/logging:Logging example "Cisco-IOS-XE-native:native/logging"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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