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

iosxe.LoggingIpv6HostTransport

Explore with Pulumi AI

This resource can manage the Logging IPv6 Host Transport 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.LoggingIpv6HostTransport;
import com.pulumi.iosxe.LoggingIpv6HostTransportArgs;
import com.pulumi.iosxe.inputs.LoggingIpv6HostTransportTransportTcpPortArgs;
import com.pulumi.iosxe.inputs.LoggingIpv6HostTransportTransportTlsPortArgs;
import com.pulumi.iosxe.inputs.LoggingIpv6HostTransportTransportUdpPortArgs;
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 LoggingIpv6HostTransport("example", LoggingIpv6HostTransportArgs.builder()        
            .ipv6Host("2001::1")
            .transportTcpPorts(LoggingIpv6HostTransportTransportTcpPortArgs.builder()
                .port_number(10001)
                .build())
            .transportTlsPorts(LoggingIpv6HostTransportTransportTlsPortArgs.builder()
                .port_number(10002)
                .build())
            .transportUdpPorts(LoggingIpv6HostTransportTransportUdpPortArgs.builder()
                .port_number(10000)
                .build())
            .build());

    }
}
Copy

Coming soon!

Coming soon!

resources:
  example:
    type: iosxe:LoggingIpv6HostTransport
    properties:
      ipv6Host: 2001::1
      transportTcpPorts:
        - port_number: 10001
      transportTlsPorts:
        - port_number: 10002
      transportUdpPorts:
        - port_number: 10000
Copy

Create LoggingIpv6HostTransport Resource

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

Constructor syntax

new LoggingIpv6HostTransport(name: string, args: LoggingIpv6HostTransportArgs, opts?: CustomResourceOptions);
@overload
def LoggingIpv6HostTransport(resource_name: str,
                             args: LoggingIpv6HostTransportArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def LoggingIpv6HostTransport(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             ipv6_host: Optional[str] = None,
                             delete_mode: Optional[str] = None,
                             device: Optional[str] = None,
                             transport_tcp_ports: Optional[Sequence[LoggingIpv6HostTransportTransportTcpPortArgs]] = None,
                             transport_tls_ports: Optional[Sequence[LoggingIpv6HostTransportTransportTlsPortArgs]] = None,
                             transport_udp_ports: Optional[Sequence[LoggingIpv6HostTransportTransportUdpPortArgs]] = None)
func NewLoggingIpv6HostTransport(ctx *Context, name string, args LoggingIpv6HostTransportArgs, opts ...ResourceOption) (*LoggingIpv6HostTransport, error)
public LoggingIpv6HostTransport(string name, LoggingIpv6HostTransportArgs args, CustomResourceOptions? opts = null)
public LoggingIpv6HostTransport(String name, LoggingIpv6HostTransportArgs args)
public LoggingIpv6HostTransport(String name, LoggingIpv6HostTransportArgs args, CustomResourceOptions options)
type: iosxe:LoggingIpv6HostTransport
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LoggingIpv6HostTransportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LoggingIpv6HostTransportArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LoggingIpv6HostTransportArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LoggingIpv6HostTransportArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LoggingIpv6HostTransportArgs
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 loggingIpv6HostTransportResource = new Iosxe.LoggingIpv6HostTransport("loggingIpv6HostTransportResource", new()
{
    Ipv6Host = "string",
    DeleteMode = "string",
    Device = "string",
    TransportTcpPorts = new[]
    {
        new Iosxe.Inputs.LoggingIpv6HostTransportTransportTcpPortArgs
        {
            PortNumber = 0,
        },
    },
    TransportTlsPorts = new[]
    {
        new Iosxe.Inputs.LoggingIpv6HostTransportTransportTlsPortArgs
        {
            PortNumber = 0,
            Profile = "string",
        },
    },
    TransportUdpPorts = new[]
    {
        new Iosxe.Inputs.LoggingIpv6HostTransportTransportUdpPortArgs
        {
            PortNumber = 0,
        },
    },
});
Copy
example, err := iosxe.NewLoggingIpv6HostTransport(ctx, "loggingIpv6HostTransportResource", &iosxe.LoggingIpv6HostTransportArgs{
	Ipv6Host:   pulumi.String("string"),
	DeleteMode: pulumi.String("string"),
	Device:     pulumi.String("string"),
	TransportTcpPorts: iosxe.LoggingIpv6HostTransportTransportTcpPortArray{
		&iosxe.LoggingIpv6HostTransportTransportTcpPortArgs{
			PortNumber: pulumi.Int(0),
		},
	},
	TransportTlsPorts: iosxe.LoggingIpv6HostTransportTransportTlsPortArray{
		&iosxe.LoggingIpv6HostTransportTransportTlsPortArgs{
			PortNumber: pulumi.Int(0),
			Profile:    pulumi.String("string"),
		},
	},
	TransportUdpPorts: iosxe.LoggingIpv6HostTransportTransportUdpPortArray{
		&iosxe.LoggingIpv6HostTransportTransportUdpPortArgs{
			PortNumber: pulumi.Int(0),
		},
	},
})
Copy
var loggingIpv6HostTransportResource = new LoggingIpv6HostTransport("loggingIpv6HostTransportResource", LoggingIpv6HostTransportArgs.builder()
    .ipv6Host("string")
    .deleteMode("string")
    .device("string")
    .transportTcpPorts(LoggingIpv6HostTransportTransportTcpPortArgs.builder()
        .portNumber(0)
        .build())
    .transportTlsPorts(LoggingIpv6HostTransportTransportTlsPortArgs.builder()
        .portNumber(0)
        .profile("string")
        .build())
    .transportUdpPorts(LoggingIpv6HostTransportTransportUdpPortArgs.builder()
        .portNumber(0)
        .build())
    .build());
Copy
logging_ipv6_host_transport_resource = iosxe.LoggingIpv6HostTransport("loggingIpv6HostTransportResource",
    ipv6_host="string",
    delete_mode="string",
    device="string",
    transport_tcp_ports=[{
        "port_number": 0,
    }],
    transport_tls_ports=[{
        "port_number": 0,
        "profile": "string",
    }],
    transport_udp_ports=[{
        "port_number": 0,
    }])
Copy
const loggingIpv6HostTransportResource = new iosxe.LoggingIpv6HostTransport("loggingIpv6HostTransportResource", {
    ipv6Host: "string",
    deleteMode: "string",
    device: "string",
    transportTcpPorts: [{
        portNumber: 0,
    }],
    transportTlsPorts: [{
        portNumber: 0,
        profile: "string",
    }],
    transportUdpPorts: [{
        portNumber: 0,
    }],
});
Copy
type: iosxe:LoggingIpv6HostTransport
properties:
    deleteMode: string
    device: string
    ipv6Host: string
    transportTcpPorts:
        - portNumber: 0
    transportTlsPorts:
        - portNumber: 0
          profile: string
    transportUdpPorts:
        - portNumber: 0
Copy

LoggingIpv6HostTransport 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 LoggingIpv6HostTransport resource accepts the following input properties:

Ipv6Host This property is required. string
DeleteMode string
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
Device string
A device name from the provider configuration.
TransportTcpPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6HostTransportTransportTcpPort>
Port Number List
TransportTlsPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6HostTransportTransportTlsPort>
Port Number List
TransportUdpPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6HostTransportTransportUdpPort>
Port Number List
Ipv6Host This property is required. string
DeleteMode string
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
Device string
A device name from the provider configuration.
TransportTcpPorts []LoggingIpv6HostTransportTransportTcpPortArgs
Port Number List
TransportTlsPorts []LoggingIpv6HostTransportTransportTlsPortArgs
Port Number List
TransportUdpPorts []LoggingIpv6HostTransportTransportUdpPortArgs
Port Number List
ipv6Host This property is required. String
deleteMode String
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
device String
A device name from the provider configuration.
transportTcpPorts List<LoggingIpv6HostTransportTransportTcpPort>
Port Number List
transportTlsPorts List<LoggingIpv6HostTransportTransportTlsPort>
Port Number List
transportUdpPorts List<LoggingIpv6HostTransportTransportUdpPort>
Port Number List
ipv6Host This property is required. string
deleteMode string
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
device string
A device name from the provider configuration.
transportTcpPorts LoggingIpv6HostTransportTransportTcpPort[]
Port Number List
transportTlsPorts LoggingIpv6HostTransportTransportTlsPort[]
Port Number List
transportUdpPorts LoggingIpv6HostTransportTransportUdpPort[]
Port Number List
ipv6_host This property is required. str
delete_mode str
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
device str
A device name from the provider configuration.
transport_tcp_ports Sequence[LoggingIpv6HostTransportTransportTcpPortArgs]
Port Number List
transport_tls_ports Sequence[LoggingIpv6HostTransportTransportTlsPortArgs]
Port Number List
transport_udp_ports Sequence[LoggingIpv6HostTransportTransportUdpPortArgs]
Port Number List
ipv6Host This property is required. String
deleteMode String
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
device String
A device name from the provider configuration.
transportTcpPorts List<Property Map>
Port Number List
transportTlsPorts List<Property Map>
Port Number List
transportUdpPorts List<Property Map>
Port Number List

Outputs

All input properties are implicitly available as output properties. Additionally, the LoggingIpv6HostTransport 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 LoggingIpv6HostTransport Resource

Get an existing LoggingIpv6HostTransport 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?: LoggingIpv6HostTransportState, opts?: CustomResourceOptions): LoggingIpv6HostTransport
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        delete_mode: Optional[str] = None,
        device: Optional[str] = None,
        ipv6_host: Optional[str] = None,
        transport_tcp_ports: Optional[Sequence[LoggingIpv6HostTransportTransportTcpPortArgs]] = None,
        transport_tls_ports: Optional[Sequence[LoggingIpv6HostTransportTransportTlsPortArgs]] = None,
        transport_udp_ports: Optional[Sequence[LoggingIpv6HostTransportTransportUdpPortArgs]] = None) -> LoggingIpv6HostTransport
func GetLoggingIpv6HostTransport(ctx *Context, name string, id IDInput, state *LoggingIpv6HostTransportState, opts ...ResourceOption) (*LoggingIpv6HostTransport, error)
public static LoggingIpv6HostTransport Get(string name, Input<string> id, LoggingIpv6HostTransportState? state, CustomResourceOptions? opts = null)
public static LoggingIpv6HostTransport get(String name, Output<String> id, LoggingIpv6HostTransportState state, CustomResourceOptions options)
resources:  _:    type: iosxe:LoggingIpv6HostTransport    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
DeleteMode string
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
Device string
A device name from the provider configuration.
Ipv6Host string
TransportTcpPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6HostTransportTransportTcpPort>
Port Number List
TransportTlsPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6HostTransportTransportTlsPort>
Port Number List
TransportUdpPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv6HostTransportTransportUdpPort>
Port Number List
DeleteMode string
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
Device string
A device name from the provider configuration.
Ipv6Host string
TransportTcpPorts []LoggingIpv6HostTransportTransportTcpPortArgs
Port Number List
TransportTlsPorts []LoggingIpv6HostTransportTransportTlsPortArgs
Port Number List
TransportUdpPorts []LoggingIpv6HostTransportTransportUdpPortArgs
Port Number List
deleteMode String
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
device String
A device name from the provider configuration.
ipv6Host String
transportTcpPorts List<LoggingIpv6HostTransportTransportTcpPort>
Port Number List
transportTlsPorts List<LoggingIpv6HostTransportTransportTlsPort>
Port Number List
transportUdpPorts List<LoggingIpv6HostTransportTransportUdpPort>
Port Number List
deleteMode string
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
device string
A device name from the provider configuration.
ipv6Host string
transportTcpPorts LoggingIpv6HostTransportTransportTcpPort[]
Port Number List
transportTlsPorts LoggingIpv6HostTransportTransportTlsPort[]
Port Number List
transportUdpPorts LoggingIpv6HostTransportTransportUdpPort[]
Port Number List
delete_mode str
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
device str
A device name from the provider configuration.
ipv6_host str
transport_tcp_ports Sequence[LoggingIpv6HostTransportTransportTcpPortArgs]
Port Number List
transport_tls_ports Sequence[LoggingIpv6HostTransportTransportTlsPortArgs]
Port Number List
transport_udp_ports Sequence[LoggingIpv6HostTransportTransportUdpPortArgs]
Port Number List
deleteMode String
Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
device String
A device name from the provider configuration.
ipv6Host String
transportTcpPorts List<Property Map>
Port Number List
transportTlsPorts List<Property Map>
Port Number List
transportUdpPorts List<Property Map>
Port Number List

Supporting Types

LoggingIpv6HostTransportTransportTcpPort
, LoggingIpv6HostTransportTransportTcpPortArgs

PortNumber This property is required. int
PortNumber This property is required. int
portNumber This property is required. Integer
portNumber This property is required. number
port_number This property is required. int
portNumber This property is required. Number

LoggingIpv6HostTransportTransportTlsPort
, LoggingIpv6HostTransportTransportTlsPortArgs

PortNumber This property is required. int
Profile string
PortNumber This property is required. int
Profile string
portNumber This property is required. Integer
profile String
portNumber This property is required. number
profile string
port_number This property is required. int
profile str
portNumber This property is required. Number
profile String

LoggingIpv6HostTransportTransportUdpPort
, LoggingIpv6HostTransportTransportUdpPortArgs

PortNumber This property is required. int
PortNumber This property is required. int
portNumber This property is required. Integer
portNumber This property is required. number
port_number This property is required. int
portNumber This property is required. Number

Import

 $ pulumi import iosxe:index/loggingIpv6HostTransport:LoggingIpv6HostTransport example "Cisco-IOS-XE-native:native/logging/host/ipv6/ipv6-host-transport-list=2001::1"
Copy

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.