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

iosxe.getLoggingIpv6HostTransport

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 IPv6 Host Transport configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetLoggingIpv6HostTransport.Invoke(new()
        {
            Ipv6Host = "2001::1",
        });
    
    });
    
    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.LookupLoggingIpv6HostTransport(ctx, &iosxe.LookupLoggingIpv6HostTransportArgs{
    			Ipv6Host: "2001::1",
    		}, 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.GetLoggingIpv6HostTransportArgs;
    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.getLoggingIpv6HostTransport(GetLoggingIpv6HostTransportArgs.builder()
                .ipv6Host("2001::1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_logging_ipv6_host_transport(ipv6_host="2001::1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getLoggingIpv6HostTransport({
        ipv6Host: "2001::1",
    });
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getLoggingIpv6HostTransport
          Arguments:
            ipv6Host: 2001::1
    

    Using getLoggingIpv6HostTransport

    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 getLoggingIpv6HostTransport(args: GetLoggingIpv6HostTransportArgs, opts?: InvokeOptions): Promise<GetLoggingIpv6HostTransportResult>
    function getLoggingIpv6HostTransportOutput(args: GetLoggingIpv6HostTransportOutputArgs, opts?: InvokeOptions): Output<GetLoggingIpv6HostTransportResult>
    def get_logging_ipv6_host_transport(device: Optional[str] = None,
                                        ipv6_host: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetLoggingIpv6HostTransportResult
    def get_logging_ipv6_host_transport_output(device: Optional[pulumi.Input[str]] = None,
                                        ipv6_host: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetLoggingIpv6HostTransportResult]
    func LookupLoggingIpv6HostTransport(ctx *Context, args *LookupLoggingIpv6HostTransportArgs, opts ...InvokeOption) (*LookupLoggingIpv6HostTransportResult, error)
    func LookupLoggingIpv6HostTransportOutput(ctx *Context, args *LookupLoggingIpv6HostTransportOutputArgs, opts ...InvokeOption) LookupLoggingIpv6HostTransportResultOutput

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

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

    The following arguments are supported:

    Ipv6Host string
    Device string
    A device name from the provider configuration.
    Ipv6Host string
    Device string
    A device name from the provider configuration.
    ipv6Host String
    device String
    A device name from the provider configuration.
    ipv6Host string
    device string
    A device name from the provider configuration.
    ipv6_host str
    device str
    A device name from the provider configuration.
    ipv6Host String
    device String
    A device name from the provider configuration.

    getLoggingIpv6HostTransport Result

    The following output properties are available:

    Id string
    The path of the retrieved object.
    Ipv6Host string
    TransportTcpPorts []GetLoggingIpv6HostTransportTransportTcpPort
    Port Number List
    TransportTlsPorts []GetLoggingIpv6HostTransportTransportTlsPort
    Port Number List
    TransportUdpPorts []GetLoggingIpv6HostTransportTransportUdpPort
    Port Number List
    Device string
    A device name from the provider configuration.
    id String
    The path of the retrieved object.
    ipv6Host String
    transportTcpPorts List<GetLoggingIpv6HostTransportTransportTcpPort>
    Port Number List
    transportTlsPorts List<GetLoggingIpv6HostTransportTransportTlsPort>
    Port Number List
    transportUdpPorts List<GetLoggingIpv6HostTransportTransportUdpPort>
    Port Number List
    device String
    A device name from the provider configuration.
    id string
    The path of the retrieved object.
    ipv6Host string
    transportTcpPorts GetLoggingIpv6HostTransportTransportTcpPort[]
    Port Number List
    transportTlsPorts GetLoggingIpv6HostTransportTransportTlsPort[]
    Port Number List
    transportUdpPorts GetLoggingIpv6HostTransportTransportUdpPort[]
    Port Number List
    device string
    A device name from the provider configuration.
    id String
    The path of the retrieved object.
    ipv6Host String
    transportTcpPorts List<Property Map>
    Port Number List
    transportTlsPorts List<Property Map>
    Port Number List
    transportUdpPorts List<Property Map>
    Port Number List
    device String
    A device name from the provider configuration.

    Supporting Types

    GetLoggingIpv6HostTransportTransportTcpPort

    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)

    GetLoggingIpv6HostTransportTransportTlsPort

    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

    GetLoggingIpv6HostTransportTransportUdpPort

    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