iosxe.LoggingIpv6HostVrfTransport
Explore with Pulumi AI
This resource can manage the Logging IPv6 Host VRF 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.LoggingIpv6HostVrfTransport;
import com.pulumi.iosxe.LoggingIpv6HostVrfTransportArgs;
import com.pulumi.iosxe.inputs.LoggingIpv6HostVrfTransportTransportTcpPortArgs;
import com.pulumi.iosxe.inputs.LoggingIpv6HostVrfTransportTransportTlsPortArgs;
import com.pulumi.iosxe.inputs.LoggingIpv6HostVrfTransportTransportUdpPortArgs;
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 LoggingIpv6HostVrfTransport("example", LoggingIpv6HostVrfTransportArgs.builder()
.ipv6Host("2001::1")
.transportTcpPorts(LoggingIpv6HostVrfTransportTransportTcpPortArgs.builder()
.port_number(10001)
.build())
.transportTlsPorts(LoggingIpv6HostVrfTransportTransportTlsPortArgs.builder()
.port_number(10002)
.build())
.transportUdpPorts(LoggingIpv6HostVrfTransportTransportUdpPortArgs.builder()
.port_number(10000)
.build())
.vrf("VRF1")
.build());
}
}
Coming soon!
Coming soon!
resources:
example:
type: iosxe:LoggingIpv6HostVrfTransport
properties:
ipv6Host: 2001::1
transportTcpPorts:
- port_number: 10001
transportTlsPorts:
- port_number: 10002
transportUdpPorts:
- port_number: 10000
vrf: VRF1
Create LoggingIpv6HostVrfTransport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LoggingIpv6HostVrfTransport(name: string, args: LoggingIpv6HostVrfTransportArgs, opts?: CustomResourceOptions);
@overload
def LoggingIpv6HostVrfTransport(resource_name: str,
args: LoggingIpv6HostVrfTransportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LoggingIpv6HostVrfTransport(resource_name: str,
opts: Optional[ResourceOptions] = None,
ipv6_host: Optional[str] = None,
vrf: Optional[str] = None,
delete_mode: Optional[str] = None,
device: Optional[str] = None,
transport_tcp_ports: Optional[Sequence[LoggingIpv6HostVrfTransportTransportTcpPortArgs]] = None,
transport_tls_ports: Optional[Sequence[LoggingIpv6HostVrfTransportTransportTlsPortArgs]] = None,
transport_udp_ports: Optional[Sequence[LoggingIpv6HostVrfTransportTransportUdpPortArgs]] = None)
func NewLoggingIpv6HostVrfTransport(ctx *Context, name string, args LoggingIpv6HostVrfTransportArgs, opts ...ResourceOption) (*LoggingIpv6HostVrfTransport, error)
public LoggingIpv6HostVrfTransport(string name, LoggingIpv6HostVrfTransportArgs args, CustomResourceOptions? opts = null)
public LoggingIpv6HostVrfTransport(String name, LoggingIpv6HostVrfTransportArgs args)
public LoggingIpv6HostVrfTransport(String name, LoggingIpv6HostVrfTransportArgs args, CustomResourceOptions options)
type: iosxe:LoggingIpv6HostVrfTransport
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 LoggingIpv6HostVrfTransportArgs
- 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 LoggingIpv6HostVrfTransportArgs
- 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 LoggingIpv6HostVrfTransportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LoggingIpv6HostVrfTransportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LoggingIpv6HostVrfTransportArgs
- 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 loggingIpv6HostVrfTransportResource = new Iosxe.LoggingIpv6HostVrfTransport("loggingIpv6HostVrfTransportResource", new()
{
Ipv6Host = "string",
Vrf = "string",
DeleteMode = "string",
Device = "string",
TransportTcpPorts = new[]
{
new Iosxe.Inputs.LoggingIpv6HostVrfTransportTransportTcpPortArgs
{
PortNumber = 0,
},
},
TransportTlsPorts = new[]
{
new Iosxe.Inputs.LoggingIpv6HostVrfTransportTransportTlsPortArgs
{
PortNumber = 0,
Profile = "string",
},
},
TransportUdpPorts = new[]
{
new Iosxe.Inputs.LoggingIpv6HostVrfTransportTransportUdpPortArgs
{
PortNumber = 0,
},
},
});
example, err := iosxe.NewLoggingIpv6HostVrfTransport(ctx, "loggingIpv6HostVrfTransportResource", &iosxe.LoggingIpv6HostVrfTransportArgs{
Ipv6Host: pulumi.String("string"),
Vrf: pulumi.String("string"),
DeleteMode: pulumi.String("string"),
Device: pulumi.String("string"),
TransportTcpPorts: iosxe.LoggingIpv6HostVrfTransportTransportTcpPortArray{
&iosxe.LoggingIpv6HostVrfTransportTransportTcpPortArgs{
PortNumber: pulumi.Int(0),
},
},
TransportTlsPorts: iosxe.LoggingIpv6HostVrfTransportTransportTlsPortArray{
&iosxe.LoggingIpv6HostVrfTransportTransportTlsPortArgs{
PortNumber: pulumi.Int(0),
Profile: pulumi.String("string"),
},
},
TransportUdpPorts: iosxe.LoggingIpv6HostVrfTransportTransportUdpPortArray{
&iosxe.LoggingIpv6HostVrfTransportTransportUdpPortArgs{
PortNumber: pulumi.Int(0),
},
},
})
var loggingIpv6HostVrfTransportResource = new LoggingIpv6HostVrfTransport("loggingIpv6HostVrfTransportResource", LoggingIpv6HostVrfTransportArgs.builder()
.ipv6Host("string")
.vrf("string")
.deleteMode("string")
.device("string")
.transportTcpPorts(LoggingIpv6HostVrfTransportTransportTcpPortArgs.builder()
.portNumber(0)
.build())
.transportTlsPorts(LoggingIpv6HostVrfTransportTransportTlsPortArgs.builder()
.portNumber(0)
.profile("string")
.build())
.transportUdpPorts(LoggingIpv6HostVrfTransportTransportUdpPortArgs.builder()
.portNumber(0)
.build())
.build());
logging_ipv6_host_vrf_transport_resource = iosxe.LoggingIpv6HostVrfTransport("loggingIpv6HostVrfTransportResource",
ipv6_host="string",
vrf="string",
delete_mode="string",
device="string",
transport_tcp_ports=[iosxe.LoggingIpv6HostVrfTransportTransportTcpPortArgs(
port_number=0,
)],
transport_tls_ports=[iosxe.LoggingIpv6HostVrfTransportTransportTlsPortArgs(
port_number=0,
profile="string",
)],
transport_udp_ports=[iosxe.LoggingIpv6HostVrfTransportTransportUdpPortArgs(
port_number=0,
)])
const loggingIpv6HostVrfTransportResource = new iosxe.LoggingIpv6HostVrfTransport("loggingIpv6HostVrfTransportResource", {
ipv6Host: "string",
vrf: "string",
deleteMode: "string",
device: "string",
transportTcpPorts: [{
portNumber: 0,
}],
transportTlsPorts: [{
portNumber: 0,
profile: "string",
}],
transportUdpPorts: [{
portNumber: 0,
}],
});
type: iosxe:LoggingIpv6HostVrfTransport
properties:
deleteMode: string
device: string
ipv6Host: string
transportTcpPorts:
- portNumber: 0
transportTlsPorts:
- portNumber: 0
profile: string
transportUdpPorts:
- portNumber: 0
vrf: string
LoggingIpv6HostVrfTransport Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The LoggingIpv6HostVrfTransport resource accepts the following input properties:
- Ipv6Host string
- Vrf string
- Set VRF option
- Delete
Mode 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.
- Transport
Tcp List<Lbrlabs.Ports Pulumi Package. Iosxe. Inputs. Logging Ipv6Host Vrf Transport Transport Tcp Port> - Port Number List
- Transport
Tls List<Lbrlabs.Ports Pulumi Package. Iosxe. Inputs. Logging Ipv6Host Vrf Transport Transport Tls Port> - Port Number List
- Transport
Udp List<Lbrlabs.Ports Pulumi Package. Iosxe. Inputs. Logging Ipv6Host Vrf Transport Transport Udp Port> - Port Number List
- Ipv6Host string
- Vrf string
- Set VRF option
- Delete
Mode 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.
- Transport
Tcp []LoggingPorts Ipv6Host Vrf Transport Transport Tcp Port Args - Port Number List
- Transport
Tls []LoggingPorts Ipv6Host Vrf Transport Transport Tls Port Args - Port Number List
- Transport
Udp []LoggingPorts Ipv6Host Vrf Transport Transport Udp Port Args - Port Number List
- ipv6Host String
- vrf String
- Set VRF option
- delete
Mode 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.
- transport
Tcp List<LoggingPorts Ipv6Host Vrf Transport Transport Tcp Port> - Port Number List
- transport
Tls List<LoggingPorts Ipv6Host Vrf Transport Transport Tls Port> - Port Number List
- transport
Udp List<LoggingPorts Ipv6Host Vrf Transport Transport Udp Port> - Port Number List
- ipv6Host string
- vrf string
- Set VRF option
- delete
Mode 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.
- transport
Tcp LoggingPorts Ipv6Host Vrf Transport Transport Tcp Port[] - Port Number List
- transport
Tls LoggingPorts Ipv6Host Vrf Transport Transport Tls Port[] - Port Number List
- transport
Udp LoggingPorts Ipv6Host Vrf Transport Transport Udp Port[] - Port Number List
- ipv6_
host str - vrf str
- Set VRF option
- 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_ Sequence[Loggingports Ipv6Host Vrf Transport Transport Tcp Port Args] - Port Number List
- transport_
tls_ Sequence[Loggingports Ipv6Host Vrf Transport Transport Tls Port Args] - Port Number List
- transport_
udp_ Sequence[Loggingports Ipv6Host Vrf Transport Transport Udp Port Args] - Port Number List
- ipv6Host String
- vrf String
- Set VRF option
- delete
Mode 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.
- transport
Tcp List<Property Map>Ports - Port Number List
- transport
Tls List<Property Map>Ports - Port Number List
- transport
Udp List<Property Map>Ports - Port Number List
Outputs
All input properties are implicitly available as output properties. Additionally, the LoggingIpv6HostVrfTransport 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 LoggingIpv6HostVrfTransport Resource
Get an existing LoggingIpv6HostVrfTransport 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?: LoggingIpv6HostVrfTransportState, opts?: CustomResourceOptions): LoggingIpv6HostVrfTransport
@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[LoggingIpv6HostVrfTransportTransportTcpPortArgs]] = None,
transport_tls_ports: Optional[Sequence[LoggingIpv6HostVrfTransportTransportTlsPortArgs]] = None,
transport_udp_ports: Optional[Sequence[LoggingIpv6HostVrfTransportTransportUdpPortArgs]] = None,
vrf: Optional[str] = None) -> LoggingIpv6HostVrfTransport
func GetLoggingIpv6HostVrfTransport(ctx *Context, name string, id IDInput, state *LoggingIpv6HostVrfTransportState, opts ...ResourceOption) (*LoggingIpv6HostVrfTransport, error)
public static LoggingIpv6HostVrfTransport Get(string name, Input<string> id, LoggingIpv6HostVrfTransportState? state, CustomResourceOptions? opts = null)
public static LoggingIpv6HostVrfTransport get(String name, Output<String> id, LoggingIpv6HostVrfTransportState 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.
- Delete
Mode 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
- Transport
Tcp List<Lbrlabs.Ports Pulumi Package. Iosxe. Inputs. Logging Ipv6Host Vrf Transport Transport Tcp Port> - Port Number List
- Transport
Tls List<Lbrlabs.Ports Pulumi Package. Iosxe. Inputs. Logging Ipv6Host Vrf Transport Transport Tls Port> - Port Number List
- Transport
Udp List<Lbrlabs.Ports Pulumi Package. Iosxe. Inputs. Logging Ipv6Host Vrf Transport Transport Udp Port> - Port Number List
- Vrf string
- Set VRF option
- Delete
Mode 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
- Transport
Tcp []LoggingPorts Ipv6Host Vrf Transport Transport Tcp Port Args - Port Number List
- Transport
Tls []LoggingPorts Ipv6Host Vrf Transport Transport Tls Port Args - Port Number List
- Transport
Udp []LoggingPorts Ipv6Host Vrf Transport Transport Udp Port Args - Port Number List
- Vrf string
- Set VRF option
- delete
Mode 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
- transport
Tcp List<LoggingPorts Ipv6Host Vrf Transport Transport Tcp Port> - Port Number List
- transport
Tls List<LoggingPorts Ipv6Host Vrf Transport Transport Tls Port> - Port Number List
- transport
Udp List<LoggingPorts Ipv6Host Vrf Transport Transport Udp Port> - Port Number List
- vrf String
- Set VRF option
- delete
Mode 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
- transport
Tcp LoggingPorts Ipv6Host Vrf Transport Transport Tcp Port[] - Port Number List
- transport
Tls LoggingPorts Ipv6Host Vrf Transport Transport Tls Port[] - Port Number List
- transport
Udp LoggingPorts Ipv6Host Vrf Transport Transport Udp Port[] - Port Number List
- vrf string
- Set VRF option
- 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_ Sequence[Loggingports Ipv6Host Vrf Transport Transport Tcp Port Args] - Port Number List
- transport_
tls_ Sequence[Loggingports Ipv6Host Vrf Transport Transport Tls Port Args] - Port Number List
- transport_
udp_ Sequence[Loggingports Ipv6Host Vrf Transport Transport Udp Port Args] - Port Number List
- vrf str
- Set VRF option
- delete
Mode 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
- transport
Tcp List<Property Map>Ports - Port Number List
- transport
Tls List<Property Map>Ports - Port Number List
- transport
Udp List<Property Map>Ports - Port Number List
- vrf String
- Set VRF option
Supporting Types
LoggingIpv6HostVrfTransportTransportTcpPort, LoggingIpv6HostVrfTransportTransportTcpPortArgs
- Port
Number int
- Port
Number int
- port
Number Integer
- port
Number number
- port_
number int
- port
Number Number
LoggingIpv6HostVrfTransportTransportTlsPort, LoggingIpv6HostVrfTransportTransportTlsPortArgs
- Port
Number int - Profile string
- Port
Number int - Profile string
- port
Number Integer - profile String
- port
Number number - profile string
- port_
number int - profile str
- port
Number Number - profile String
LoggingIpv6HostVrfTransportTransportUdpPort, LoggingIpv6HostVrfTransportTransportUdpPortArgs
- Port
Number int
- Port
Number int
- port
Number Integer
- port
Number number
- port_
number int
- port
Number Number
Import
$ pulumi import iosxe:index/loggingIpv6HostVrfTransport:LoggingIpv6HostVrfTransport example "Cisco-IOS-XE-native:native/logging/host/ipv6/ipv6-host-vrf-transport-list=2001::1,VRF1"
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.