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

iosxe.LoggingIpv4HostVrfTransport

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 IPv4 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.LoggingIpv4HostVrfTransport;
    import com.pulumi.iosxe.LoggingIpv4HostVrfTransportArgs;
    import com.pulumi.iosxe.inputs.LoggingIpv4HostVrfTransportTransportTcpPortArgs;
    import com.pulumi.iosxe.inputs.LoggingIpv4HostVrfTransportTransportTlsPortArgs;
    import com.pulumi.iosxe.inputs.LoggingIpv4HostVrfTransportTransportUdpPortArgs;
    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 LoggingIpv4HostVrfTransport("example", LoggingIpv4HostVrfTransportArgs.builder()        
                .ipv4Host("2.2.2.2")
                .transportTcpPorts(LoggingIpv4HostVrfTransportTransportTcpPortArgs.builder()
                    .port_number(10001)
                    .build())
                .transportTlsPorts(LoggingIpv4HostVrfTransportTransportTlsPortArgs.builder()
                    .port_number(10002)
                    .build())
                .transportUdpPorts(LoggingIpv4HostVrfTransportTransportUdpPortArgs.builder()
                    .port_number(10000)
                    .build())
                .vrf("VRF1")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    resources:
      example:
        type: iosxe:LoggingIpv4HostVrfTransport
        properties:
          ipv4Host: 2.2.2.2
          transportTcpPorts:
            - port_number: 10001
          transportTlsPorts:
            - port_number: 10002
          transportUdpPorts:
            - port_number: 10000
          vrf: VRF1
    

    Create LoggingIpv4HostVrfTransport Resource

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

    Constructor syntax

    new LoggingIpv4HostVrfTransport(name: string, args: LoggingIpv4HostVrfTransportArgs, opts?: CustomResourceOptions);
    @overload
    def LoggingIpv4HostVrfTransport(resource_name: str,
                                    args: LoggingIpv4HostVrfTransportArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def LoggingIpv4HostVrfTransport(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    ipv4_host: Optional[str] = None,
                                    vrf: Optional[str] = None,
                                    delete_mode: Optional[str] = None,
                                    device: Optional[str] = None,
                                    transport_tcp_ports: Optional[Sequence[LoggingIpv4HostVrfTransportTransportTcpPortArgs]] = None,
                                    transport_tls_ports: Optional[Sequence[LoggingIpv4HostVrfTransportTransportTlsPortArgs]] = None,
                                    transport_udp_ports: Optional[Sequence[LoggingIpv4HostVrfTransportTransportUdpPortArgs]] = None)
    func NewLoggingIpv4HostVrfTransport(ctx *Context, name string, args LoggingIpv4HostVrfTransportArgs, opts ...ResourceOption) (*LoggingIpv4HostVrfTransport, error)
    public LoggingIpv4HostVrfTransport(string name, LoggingIpv4HostVrfTransportArgs args, CustomResourceOptions? opts = null)
    public LoggingIpv4HostVrfTransport(String name, LoggingIpv4HostVrfTransportArgs args)
    public LoggingIpv4HostVrfTransport(String name, LoggingIpv4HostVrfTransportArgs args, CustomResourceOptions options)
    
    type: iosxe:LoggingIpv4HostVrfTransport
    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 LoggingIpv4HostVrfTransportArgs
    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 LoggingIpv4HostVrfTransportArgs
    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 LoggingIpv4HostVrfTransportArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LoggingIpv4HostVrfTransportArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LoggingIpv4HostVrfTransportArgs
    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 loggingIpv4HostVrfTransportResource = new Iosxe.LoggingIpv4HostVrfTransport("loggingIpv4HostVrfTransportResource", new()
    {
        Ipv4Host = "string",
        Vrf = "string",
        DeleteMode = "string",
        Device = "string",
        TransportTcpPorts = new[]
        {
            new Iosxe.Inputs.LoggingIpv4HostVrfTransportTransportTcpPortArgs
            {
                PortNumber = 0,
            },
        },
        TransportTlsPorts = new[]
        {
            new Iosxe.Inputs.LoggingIpv4HostVrfTransportTransportTlsPortArgs
            {
                PortNumber = 0,
                Profile = "string",
            },
        },
        TransportUdpPorts = new[]
        {
            new Iosxe.Inputs.LoggingIpv4HostVrfTransportTransportUdpPortArgs
            {
                PortNumber = 0,
            },
        },
    });
    
    example, err := iosxe.NewLoggingIpv4HostVrfTransport(ctx, "loggingIpv4HostVrfTransportResource", &iosxe.LoggingIpv4HostVrfTransportArgs{
    	Ipv4Host:   pulumi.String("string"),
    	Vrf:        pulumi.String("string"),
    	DeleteMode: pulumi.String("string"),
    	Device:     pulumi.String("string"),
    	TransportTcpPorts: iosxe.LoggingIpv4HostVrfTransportTransportTcpPortArray{
    		&iosxe.LoggingIpv4HostVrfTransportTransportTcpPortArgs{
    			PortNumber: pulumi.Int(0),
    		},
    	},
    	TransportTlsPorts: iosxe.LoggingIpv4HostVrfTransportTransportTlsPortArray{
    		&iosxe.LoggingIpv4HostVrfTransportTransportTlsPortArgs{
    			PortNumber: pulumi.Int(0),
    			Profile:    pulumi.String("string"),
    		},
    	},
    	TransportUdpPorts: iosxe.LoggingIpv4HostVrfTransportTransportUdpPortArray{
    		&iosxe.LoggingIpv4HostVrfTransportTransportUdpPortArgs{
    			PortNumber: pulumi.Int(0),
    		},
    	},
    })
    
    var loggingIpv4HostVrfTransportResource = new LoggingIpv4HostVrfTransport("loggingIpv4HostVrfTransportResource", LoggingIpv4HostVrfTransportArgs.builder()
        .ipv4Host("string")
        .vrf("string")
        .deleteMode("string")
        .device("string")
        .transportTcpPorts(LoggingIpv4HostVrfTransportTransportTcpPortArgs.builder()
            .portNumber(0)
            .build())
        .transportTlsPorts(LoggingIpv4HostVrfTransportTransportTlsPortArgs.builder()
            .portNumber(0)
            .profile("string")
            .build())
        .transportUdpPorts(LoggingIpv4HostVrfTransportTransportUdpPortArgs.builder()
            .portNumber(0)
            .build())
        .build());
    
    logging_ipv4_host_vrf_transport_resource = iosxe.LoggingIpv4HostVrfTransport("loggingIpv4HostVrfTransportResource",
        ipv4_host="string",
        vrf="string",
        delete_mode="string",
        device="string",
        transport_tcp_ports=[iosxe.LoggingIpv4HostVrfTransportTransportTcpPortArgs(
            port_number=0,
        )],
        transport_tls_ports=[iosxe.LoggingIpv4HostVrfTransportTransportTlsPortArgs(
            port_number=0,
            profile="string",
        )],
        transport_udp_ports=[iosxe.LoggingIpv4HostVrfTransportTransportUdpPortArgs(
            port_number=0,
        )])
    
    const loggingIpv4HostVrfTransportResource = new iosxe.LoggingIpv4HostVrfTransport("loggingIpv4HostVrfTransportResource", {
        ipv4Host: "string",
        vrf: "string",
        deleteMode: "string",
        device: "string",
        transportTcpPorts: [{
            portNumber: 0,
        }],
        transportTlsPorts: [{
            portNumber: 0,
            profile: "string",
        }],
        transportUdpPorts: [{
            portNumber: 0,
        }],
    });
    
    type: iosxe:LoggingIpv4HostVrfTransport
    properties:
        deleteMode: string
        device: string
        ipv4Host: string
        transportTcpPorts:
            - portNumber: 0
        transportTlsPorts:
            - portNumber: 0
              profile: string
        transportUdpPorts:
            - portNumber: 0
        vrf: string
    

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

    Ipv4Host string
    Vrf string
    Set VRF option
    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.LoggingIpv4HostVrfTransportTransportTcpPort>
    Port Number List
    TransportTlsPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4HostVrfTransportTransportTlsPort>
    Port Number List
    TransportUdpPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4HostVrfTransportTransportUdpPort>
    Port Number List
    Ipv4Host string
    Vrf string
    Set VRF option
    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 []LoggingIpv4HostVrfTransportTransportTcpPortArgs
    Port Number List
    TransportTlsPorts []LoggingIpv4HostVrfTransportTransportTlsPortArgs
    Port Number List
    TransportUdpPorts []LoggingIpv4HostVrfTransportTransportUdpPortArgs
    Port Number List
    ipv4Host String
    vrf String
    Set VRF option
    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<LoggingIpv4HostVrfTransportTransportTcpPort>
    Port Number List
    transportTlsPorts List<LoggingIpv4HostVrfTransportTransportTlsPort>
    Port Number List
    transportUdpPorts List<LoggingIpv4HostVrfTransportTransportUdpPort>
    Port Number List
    ipv4Host string
    vrf string
    Set VRF option
    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 LoggingIpv4HostVrfTransportTransportTcpPort[]
    Port Number List
    transportTlsPorts LoggingIpv4HostVrfTransportTransportTlsPort[]
    Port Number List
    transportUdpPorts LoggingIpv4HostVrfTransportTransportUdpPort[]
    Port Number List
    ipv4_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_ports Sequence[LoggingIpv4HostVrfTransportTransportTcpPortArgs]
    Port Number List
    transport_tls_ports Sequence[LoggingIpv4HostVrfTransportTransportTlsPortArgs]
    Port Number List
    transport_udp_ports Sequence[LoggingIpv4HostVrfTransportTransportUdpPortArgs]
    Port Number List
    ipv4Host String
    vrf String
    Set VRF option
    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 LoggingIpv4HostVrfTransport 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 LoggingIpv4HostVrfTransport Resource

    Get an existing LoggingIpv4HostVrfTransport 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?: LoggingIpv4HostVrfTransportState, opts?: CustomResourceOptions): LoggingIpv4HostVrfTransport
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            delete_mode: Optional[str] = None,
            device: Optional[str] = None,
            ipv4_host: Optional[str] = None,
            transport_tcp_ports: Optional[Sequence[LoggingIpv4HostVrfTransportTransportTcpPortArgs]] = None,
            transport_tls_ports: Optional[Sequence[LoggingIpv4HostVrfTransportTransportTlsPortArgs]] = None,
            transport_udp_ports: Optional[Sequence[LoggingIpv4HostVrfTransportTransportUdpPortArgs]] = None,
            vrf: Optional[str] = None) -> LoggingIpv4HostVrfTransport
    func GetLoggingIpv4HostVrfTransport(ctx *Context, name string, id IDInput, state *LoggingIpv4HostVrfTransportState, opts ...ResourceOption) (*LoggingIpv4HostVrfTransport, error)
    public static LoggingIpv4HostVrfTransport Get(string name, Input<string> id, LoggingIpv4HostVrfTransportState? state, CustomResourceOptions? opts = null)
    public static LoggingIpv4HostVrfTransport get(String name, Output<String> id, LoggingIpv4HostVrfTransportState 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:
    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.
    Ipv4Host string
    TransportTcpPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4HostVrfTransportTransportTcpPort>
    Port Number List
    TransportTlsPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4HostVrfTransportTransportTlsPort>
    Port Number List
    TransportUdpPorts List<Lbrlabs.PulumiPackage.Iosxe.Inputs.LoggingIpv4HostVrfTransportTransportUdpPort>
    Port Number List
    Vrf string
    Set VRF option
    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.
    Ipv4Host string
    TransportTcpPorts []LoggingIpv4HostVrfTransportTransportTcpPortArgs
    Port Number List
    TransportTlsPorts []LoggingIpv4HostVrfTransportTransportTlsPortArgs
    Port Number List
    TransportUdpPorts []LoggingIpv4HostVrfTransportTransportUdpPortArgs
    Port Number List
    Vrf string
    Set VRF option
    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.
    ipv4Host String
    transportTcpPorts List<LoggingIpv4HostVrfTransportTransportTcpPort>
    Port Number List
    transportTlsPorts List<LoggingIpv4HostVrfTransportTransportTlsPort>
    Port Number List
    transportUdpPorts List<LoggingIpv4HostVrfTransportTransportUdpPort>
    Port Number List
    vrf String
    Set VRF option
    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.
    ipv4Host string
    transportTcpPorts LoggingIpv4HostVrfTransportTransportTcpPort[]
    Port Number List
    transportTlsPorts LoggingIpv4HostVrfTransportTransportTlsPort[]
    Port Number List
    transportUdpPorts LoggingIpv4HostVrfTransportTransportUdpPort[]
    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.
    ipv4_host str
    transport_tcp_ports Sequence[LoggingIpv4HostVrfTransportTransportTcpPortArgs]
    Port Number List
    transport_tls_ports Sequence[LoggingIpv4HostVrfTransportTransportTlsPortArgs]
    Port Number List
    transport_udp_ports Sequence[LoggingIpv4HostVrfTransportTransportUdpPortArgs]
    Port Number List
    vrf str
    Set VRF option
    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.
    ipv4Host String
    transportTcpPorts List<Property Map>
    Port Number List
    transportTlsPorts List<Property Map>
    Port Number List
    transportUdpPorts List<Property Map>
    Port Number List
    vrf String
    Set VRF option

    Supporting Types

    LoggingIpv4HostVrfTransportTransportTcpPort, LoggingIpv4HostVrfTransportTransportTcpPortArgs

    portNumber Integer
    portNumber number
    portNumber Number

    LoggingIpv4HostVrfTransportTransportTlsPort, LoggingIpv4HostVrfTransportTransportTlsPortArgs

    portNumber Integer
    profile String
    portNumber number
    profile string
    portNumber Number
    profile String

    LoggingIpv4HostVrfTransportTransportUdpPort, LoggingIpv4HostVrfTransportTransportUdpPortArgs

    portNumber Integer
    portNumber number
    portNumber Number

    Import

     $ pulumi import iosxe:index/loggingIpv4HostVrfTransport:LoggingIpv4HostVrfTransport example "Cisco-IOS-XE-native:native/logging/host/ipv4-host-vrf-transport-list=2.2.2.2,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.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs