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

iosxe.getLoggingIpv4HostVrfTransport

Explore with Pulumi AI

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

    This data source can read the Logging IPv4 Host VRF Transport configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetLoggingIpv4HostVrfTransport.Invoke(new()
        {
            Ipv4Host = "2.2.2.2",
            Vrf = "VRF1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iosxe.LookupLoggingIpv4HostVrfTransport(ctx, &iosxe.LookupLoggingIpv4HostVrfTransportArgs{
    			Ipv4Host: "2.2.2.2",
    			Vrf:      "VRF1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.iosxe.IosxeFunctions;
    import com.pulumi.iosxe.inputs.GetLoggingIpv4HostVrfTransportArgs;
    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) {
            final var example = IosxeFunctions.getLoggingIpv4HostVrfTransport(GetLoggingIpv4HostVrfTransportArgs.builder()
                .ipv4Host("2.2.2.2")
                .vrf("VRF1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_logging_ipv4_host_vrf_transport(ipv4_host="2.2.2.2",
        vrf="VRF1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getLoggingIpv4HostVrfTransport({
        ipv4Host: "2.2.2.2",
        vrf: "VRF1",
    });
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getLoggingIpv4HostVrfTransport
          Arguments:
            ipv4Host: 2.2.2.2
            vrf: VRF1
    

    Using getLoggingIpv4HostVrfTransport

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLoggingIpv4HostVrfTransport(args: GetLoggingIpv4HostVrfTransportArgs, opts?: InvokeOptions): Promise<GetLoggingIpv4HostVrfTransportResult>
    function getLoggingIpv4HostVrfTransportOutput(args: GetLoggingIpv4HostVrfTransportOutputArgs, opts?: InvokeOptions): Output<GetLoggingIpv4HostVrfTransportResult>
    def get_logging_ipv4_host_vrf_transport(device: Optional[str] = None,
                                            ipv4_host: Optional[str] = None,
                                            vrf: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetLoggingIpv4HostVrfTransportResult
    def get_logging_ipv4_host_vrf_transport_output(device: Optional[pulumi.Input[str]] = None,
                                            ipv4_host: Optional[pulumi.Input[str]] = None,
                                            vrf: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetLoggingIpv4HostVrfTransportResult]
    func LookupLoggingIpv4HostVrfTransport(ctx *Context, args *LookupLoggingIpv4HostVrfTransportArgs, opts ...InvokeOption) (*LookupLoggingIpv4HostVrfTransportResult, error)
    func LookupLoggingIpv4HostVrfTransportOutput(ctx *Context, args *LookupLoggingIpv4HostVrfTransportOutputArgs, opts ...InvokeOption) LookupLoggingIpv4HostVrfTransportResultOutput

    > Note: This function is named LookupLoggingIpv4HostVrfTransport in the Go SDK.

    public static class GetLoggingIpv4HostVrfTransport 
    {
        public static Task<GetLoggingIpv4HostVrfTransportResult> InvokeAsync(GetLoggingIpv4HostVrfTransportArgs args, InvokeOptions? opts = null)
        public static Output<GetLoggingIpv4HostVrfTransportResult> Invoke(GetLoggingIpv4HostVrfTransportInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLoggingIpv4HostVrfTransportResult> getLoggingIpv4HostVrfTransport(GetLoggingIpv4HostVrfTransportArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getLoggingIpv4HostVrfTransport:getLoggingIpv4HostVrfTransport
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ipv4Host string
    Vrf string
    Set VRF option
    Device string
    A device name from the provider configuration.
    Ipv4Host string
    Vrf string
    Set VRF option
    Device string
    A device name from the provider configuration.
    ipv4Host String
    vrf String
    Set VRF option
    device String
    A device name from the provider configuration.
    ipv4Host string
    vrf string
    Set VRF option
    device string
    A device name from the provider configuration.
    ipv4_host str
    vrf str
    Set VRF option
    device str
    A device name from the provider configuration.
    ipv4Host String
    vrf String
    Set VRF option
    device String
    A device name from the provider configuration.

    getLoggingIpv4HostVrfTransport Result

    The following output properties are available:

    Id string
    The path of the retrieved object.
    Ipv4Host string
    TransportTcpPorts []GetLoggingIpv4HostVrfTransportTransportTcpPort
    Port Number List
    TransportTlsPorts []GetLoggingIpv4HostVrfTransportTransportTlsPort
    Port Number List
    TransportUdpPorts []GetLoggingIpv4HostVrfTransportTransportUdpPort
    Port Number List
    Vrf string
    Set VRF option
    Device string
    A device name from the provider configuration.
    id String
    The path of the retrieved object.
    ipv4Host String
    transportTcpPorts List<GetLoggingIpv4HostVrfTransportTransportTcpPort>
    Port Number List
    transportTlsPorts List<GetLoggingIpv4HostVrfTransportTransportTlsPort>
    Port Number List
    transportUdpPorts List<GetLoggingIpv4HostVrfTransportTransportUdpPort>
    Port Number List
    vrf String
    Set VRF option
    device String
    A device name from the provider configuration.
    id string
    The path of the retrieved object.
    ipv4Host string
    transportTcpPorts GetLoggingIpv4HostVrfTransportTransportTcpPort[]
    Port Number List
    transportTlsPorts GetLoggingIpv4HostVrfTransportTransportTlsPort[]
    Port Number List
    transportUdpPorts GetLoggingIpv4HostVrfTransportTransportUdpPort[]
    Port Number List
    vrf string
    Set VRF option
    device string
    A device name from the provider configuration.
    id String
    The path of the retrieved object.
    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
    device String
    A device name from the provider configuration.

    Supporting Types

    GetLoggingIpv4HostVrfTransportTransportTcpPort

    PortNumber int
    Specify the TCP port number (default=601)
    PortNumber int
    Specify the TCP port number (default=601)
    portNumber Integer
    Specify the TCP port number (default=601)
    portNumber number
    Specify the TCP port number (default=601)
    port_number int
    Specify the TCP port number (default=601)
    portNumber Number
    Specify the TCP port number (default=601)

    GetLoggingIpv4HostVrfTransportTransportTlsPort

    PortNumber int
    Specify the TLS port number (default=6514)
    Profile string
    Specify the TLS profile
    PortNumber int
    Specify the TLS port number (default=6514)
    Profile string
    Specify the TLS profile
    portNumber Integer
    Specify the TLS port number (default=6514)
    profile String
    Specify the TLS profile
    portNumber number
    Specify the TLS port number (default=6514)
    profile string
    Specify the TLS profile
    port_number int
    Specify the TLS port number (default=6514)
    profile str
    Specify the TLS profile
    portNumber Number
    Specify the TLS port number (default=6514)
    profile String
    Specify the TLS profile

    GetLoggingIpv4HostVrfTransportTransportUdpPort

    PortNumber int
    Specify the UDP port number (default=514)
    PortNumber int
    Specify the UDP port number (default=514)
    portNumber Integer
    Specify the UDP port number (default=514)
    portNumber number
    Specify the UDP port number (default=514)
    port_number int
    Specify the UDP port number (default=514)
    portNumber Number
    Specify the UDP port number (default=514)

    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