iosxe.Logging
Explore with Pulumi AI
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:
- Buffered
Severity string - Logging severity level
- Buffered
Size int - Logging buffer size - Range:
4096
-2147483647
- Console
Severity 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
- File
Max intSize - Range:
0
-4294967295
- Range:
- File
Min intSize - Range:
0
-4294967295
- Range:
- File
Name string - File
Severity string - History
Severity string - History
Size int - Set history table size - Range:
0
-65535
- Ipv4Hosts
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Logging Ipv4Host> - Ipv4Vrf
Hosts List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Logging Ipv4Vrf Host> - Ipv6Hosts
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Logging Ipv6Host> - Ipv6Vrf
Hosts List<Lbrlabs.Pulumi Package. Iosxe. Inputs. 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 - Choices:
hostname
,ip
,ipv6
- Source
Interface string - Source
Interfaces List<Lbrlabs.Vrves Pulumi Package. Iosxe. Inputs. Logging Source Interfaces Vrf> - Specify interface and vrf for source address in logging transactions
- Trap bool
- Set trap server logging level
- Trap
Severity string
- Buffered
Severity string - Logging severity level
- Buffered
Size int - Logging buffer size - Range:
4096
-2147483647
- Console
Severity 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
- File
Max intSize - Range:
0
-4294967295
- Range:
- File
Min intSize - Range:
0
-4294967295
- Range:
- File
Name string - File
Severity string - History
Severity string - History
Size int - Set history table size - Range:
0
-65535
- Ipv4Hosts
[]Logging
Ipv4Host Args - Ipv4Vrf
Hosts []LoggingIpv4Vrf Host Args - Ipv6Hosts
[]Logging
Ipv6Host Args - Ipv6Vrf
Hosts []LoggingIpv6Vrf Host Args - Monitor
Severity string - Origin
Id stringName - Define a unique text string as ID
- Origin
Id stringType - Use origin hostname/ip/ipv6 as ID - Choices:
hostname
,ip
,ipv6
- Source
Interface string - Source
Interfaces []LoggingVrves Source Interfaces Vrf Args - Specify interface and vrf for source address in logging transactions
- Trap bool
- Set trap server logging level
- Trap
Severity string
- buffered
Severity String - Logging severity level
- buffered
Size Integer - Logging buffer size - Range:
4096
-2147483647
- console
Severity 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
- file
Max IntegerSize - Range:
0
-4294967295
- Range:
- file
Min IntegerSize - Range:
0
-4294967295
- Range:
- file
Name String - file
Severity String - history
Severity String - history
Size Integer - Set history table size - Range:
0
-65535
- ipv4Hosts
List<Logging
Ipv4Host> - ipv4Vrf
Hosts List<LoggingIpv4Vrf Host> - ipv6Hosts
List<Logging
Ipv6Host> - ipv6Vrf
Hosts List<LoggingIpv6Vrf Host> - monitor
Severity String - origin
Id StringName - Define a unique text string as ID
- origin
Id StringType - Use origin hostname/ip/ipv6 as ID - Choices:
hostname
,ip
,ipv6
- source
Interface String - source
Interfaces List<LoggingVrves Source Interfaces Vrf> - Specify interface and vrf for source address in logging transactions
- trap Boolean
- Set trap server logging level
- trap
Severity String
- buffered
Severity string - Logging severity level
- buffered
Size number - Logging buffer size - Range:
4096
-2147483647
- console
Severity 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
- file
Max numberSize - Range:
0
-4294967295
- Range:
- file
Min numberSize - Range:
0
-4294967295
- Range:
- file
Name string - file
Severity string - history
Severity string - history
Size number - Set history table size - Range:
0
-65535
- ipv4Hosts
Logging
Ipv4Host[] - ipv4Vrf
Hosts LoggingIpv4Vrf Host[] - ipv6Hosts
Logging
Ipv6Host[] - ipv6Vrf
Hosts LoggingIpv6Vrf Host[] - monitor
Severity string - origin
Id stringName - Define a unique text string as ID
- origin
Id stringType - Use origin hostname/ip/ipv6 as ID - Choices:
hostname
,ip
,ipv6
- source
Interface string - source
Interfaces LoggingVrves Source Interfaces Vrf[] - Specify interface and vrf for source address in logging transactions
- trap boolean
- Set trap server logging level
- trap
Severity 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_ intsize - Range:
0
-4294967295
- Range:
- file_
min_ intsize - Range:
0
-4294967295
- Range:
- file_
name str - file_
severity str - history_
severity str - history_
size int - Set history table size - Range:
0
-65535
- ipv4_
hosts Sequence[LoggingIpv4Host Args] - ipv4_
vrf_ Sequence[Logginghosts Ipv4Vrf Host Args] - ipv6_
hosts Sequence[LoggingIpv6Host Args] - ipv6_
vrf_ Sequence[Logginghosts Ipv6Vrf Host Args] - monitor_
severity str - origin_
id_ strname - Define a unique text string as ID
- origin_
id_ strtype - Use origin hostname/ip/ipv6 as ID - Choices:
hostname
,ip
,ipv6
- source_
interface str - source_
interfaces_ Sequence[Loggingvrves Source Interfaces Vrf Args] - Specify interface and vrf for source address in logging transactions
- trap bool
- Set trap server logging level
- trap_
severity str
- buffered
Severity String - Logging severity level
- buffered
Size Number - Logging buffer size - Range:
4096
-2147483647
- console
Severity 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
- file
Max NumberSize - Range:
0
-4294967295
- Range:
- file
Min NumberSize - Range:
0
-4294967295
- Range:
- file
Name String - file
Severity String - history
Severity String - history
Size Number - Set history table size - Range:
0
-65535
- 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 - Choices:
hostname
,ip
,ipv6
- 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
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.
- Buffered
Severity string - Logging severity level
- Buffered
Size int - Logging buffer size - Range:
4096
-2147483647
- Console
Severity 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
- File
Max intSize - Range:
0
-4294967295
- Range:
- File
Min intSize - Range:
0
-4294967295
- Range:
- File
Name string - File
Severity string - History
Severity string - History
Size int - Set history table size - Range:
0
-65535
- Ipv4Hosts
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Logging Ipv4Host> - Ipv4Vrf
Hosts List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Logging Ipv4Vrf Host> - Ipv6Hosts
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Logging Ipv6Host> - Ipv6Vrf
Hosts List<Lbrlabs.Pulumi Package. Iosxe. Inputs. 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 - Choices:
hostname
,ip
,ipv6
- Source
Interface string - Source
Interfaces List<Lbrlabs.Vrves Pulumi Package. Iosxe. Inputs. Logging Source Interfaces Vrf> - Specify interface and vrf for source address in logging transactions
- Trap bool
- Set trap server logging level
- Trap
Severity string
- Buffered
Severity string - Logging severity level
- Buffered
Size int - Logging buffer size - Range:
4096
-2147483647
- Console
Severity 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
- File
Max intSize - Range:
0
-4294967295
- Range:
- File
Min intSize - Range:
0
-4294967295
- Range:
- File
Name string - File
Severity string - History
Severity string - History
Size int - Set history table size - Range:
0
-65535
- Ipv4Hosts
[]Logging
Ipv4Host Args - Ipv4Vrf
Hosts []LoggingIpv4Vrf Host Args - Ipv6Hosts
[]Logging
Ipv6Host Args - Ipv6Vrf
Hosts []LoggingIpv6Vrf Host Args - Monitor
Severity string - Origin
Id stringName - Define a unique text string as ID
- Origin
Id stringType - Use origin hostname/ip/ipv6 as ID - Choices:
hostname
,ip
,ipv6
- Source
Interface string - Source
Interfaces []LoggingVrves Source Interfaces Vrf Args - Specify interface and vrf for source address in logging transactions
- Trap bool
- Set trap server logging level
- Trap
Severity string
- buffered
Severity String - Logging severity level
- buffered
Size Integer - Logging buffer size - Range:
4096
-2147483647
- console
Severity 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
- file
Max IntegerSize - Range:
0
-4294967295
- Range:
- file
Min IntegerSize - Range:
0
-4294967295
- Range:
- file
Name String - file
Severity String - history
Severity String - history
Size Integer - Set history table size - Range:
0
-65535
- ipv4Hosts
List<Logging
Ipv4Host> - ipv4Vrf
Hosts List<LoggingIpv4Vrf Host> - ipv6Hosts
List<Logging
Ipv6Host> - ipv6Vrf
Hosts List<LoggingIpv6Vrf Host> - monitor
Severity String - origin
Id StringName - Define a unique text string as ID
- origin
Id StringType - Use origin hostname/ip/ipv6 as ID - Choices:
hostname
,ip
,ipv6
- source
Interface String - source
Interfaces List<LoggingVrves Source Interfaces Vrf> - Specify interface and vrf for source address in logging transactions
- trap Boolean
- Set trap server logging level
- trap
Severity String
- buffered
Severity string - Logging severity level
- buffered
Size number - Logging buffer size - Range:
4096
-2147483647
- console
Severity 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
- file
Max numberSize - Range:
0
-4294967295
- Range:
- file
Min numberSize - Range:
0
-4294967295
- Range:
- file
Name string - file
Severity string - history
Severity string - history
Size number - Set history table size - Range:
0
-65535
- ipv4Hosts
Logging
Ipv4Host[] - ipv4Vrf
Hosts LoggingIpv4Vrf Host[] - ipv6Hosts
Logging
Ipv6Host[] - ipv6Vrf
Hosts LoggingIpv6Vrf Host[] - monitor
Severity string - origin
Id stringName - Define a unique text string as ID
- origin
Id stringType - Use origin hostname/ip/ipv6 as ID - Choices:
hostname
,ip
,ipv6
- source
Interface string - source
Interfaces LoggingVrves Source Interfaces Vrf[] - Specify interface and vrf for source address in logging transactions
- trap boolean
- Set trap server logging level
- trap
Severity 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_ intsize - Range:
0
-4294967295
- Range:
- file_
min_ intsize - Range:
0
-4294967295
- Range:
- file_
name str - file_
severity str - history_
severity str - history_
size int - Set history table size - Range:
0
-65535
- ipv4_
hosts Sequence[LoggingIpv4Host Args] - ipv4_
vrf_ Sequence[Logginghosts Ipv4Vrf Host Args] - ipv6_
hosts Sequence[LoggingIpv6Host Args] - ipv6_
vrf_ Sequence[Logginghosts Ipv6Vrf Host Args] - monitor_
severity str - origin_
id_ strname - Define a unique text string as ID
- origin_
id_ strtype - Use origin hostname/ip/ipv6 as ID - Choices:
hostname
,ip
,ipv6
- source_
interface str - source_
interfaces_ Sequence[Loggingvrves Source Interfaces Vrf Args] - Specify interface and vrf for source address in logging transactions
- trap bool
- Set trap server logging level
- trap_
severity str
- buffered
Severity String - Logging severity level
- buffered
Size Number - Logging buffer size - Range:
4096
-2147483647
- console
Severity 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
- file
Max NumberSize - Range:
0
-4294967295
- Range:
- file
Min NumberSize - Range:
0
-4294967295
- Range:
- file
Name String - file
Severity String - history
Severity String - history
Size Number - Set history table size - Range:
0
-65535
- 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 - Choices:
hostname
,ip
,ipv6
- 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
Supporting Types
LoggingIpv4Host, LoggingIpv4HostArgs
- Ipv4Host string
- Ipv4Host string
- ipv4Host String
- ipv4Host string
- ipv4_
host str
- ipv4Host String
LoggingIpv4VrfHost, LoggingIpv4VrfHostArgs
LoggingIpv6Host, LoggingIpv6HostArgs
- Ipv6Host string
- Ipv6Host string
- ipv6Host String
- ipv6Host string
- ipv6_
host str
- ipv6Host String
LoggingIpv6VrfHost, LoggingIpv6VrfHostArgs
LoggingSourceInterfacesVrf, LoggingSourceInterfacesVrfArgs
- Interface
Name string - Vrf string
- Interface
Name string - Vrf string
- interface
Name String - vrf String
- interface
Name string - vrf string
- interface_
name str - vrf str
- interface
Name 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.