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

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";

const example = iosxe.getLoggingIpv6HostTransport({
    ipv6Host: "2001::1",
});
Copy
import pulumi
import pulumi_iosxe as iosxe

example = iosxe.get_logging_ipv6_host_transport(ipv6_host="2001::1")
Copy
variables:
  example:
    fn::invoke:
      Function: iosxe:getLoggingIpv6HostTransport
      Arguments:
        ipv6Host: 2001::1
Copy

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>
Copy
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]
Copy
func LookupLoggingIpv6HostTransport(ctx *Context, args *LookupLoggingIpv6HostTransportArgs, opts ...InvokeOption) (*LookupLoggingIpv6HostTransportResult, error)
func LookupLoggingIpv6HostTransportOutput(ctx *Context, args *LookupLoggingIpv6HostTransportOutputArgs, opts ...InvokeOption) LookupLoggingIpv6HostTransportResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetLoggingIpv6HostTransportResult> getLoggingIpv6HostTransport(GetLoggingIpv6HostTransportArgs args, InvokeOptions options)
public static Output<GetLoggingIpv6HostTransportResult> getLoggingIpv6HostTransport(GetLoggingIpv6HostTransportArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: iosxe:index/getLoggingIpv6HostTransport:getLoggingIpv6HostTransport
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Ipv6Host This property is required. string
Device string
A device name from the provider configuration.
Ipv6Host This property is required. string
Device string
A device name from the provider configuration.
ipv6Host This property is required. String
device String
A device name from the provider configuration.
ipv6Host This property is required. string
device string
A device name from the provider configuration.
ipv6_host This property is required. str
device str
A device name from the provider configuration.
ipv6Host This property is required. 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 This property is required. int
Specify the TCP port number (default=601)
PortNumber This property is required. int
Specify the TCP port number (default=601)
portNumber This property is required. Integer
Specify the TCP port number (default=601)
portNumber This property is required. number
Specify the TCP port number (default=601)
port_number This property is required. int
Specify the TCP port number (default=601)
portNumber This property is required. Number
Specify the TCP port number (default=601)

GetLoggingIpv6HostTransportTransportTlsPort

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

GetLoggingIpv6HostTransportTransportUdpPort

PortNumber This property is required. int
Specify the UDP port number (default=514)
PortNumber This property is required. int
Specify the UDP port number (default=514)
portNumber This property is required. Integer
Specify the UDP port number (default=514)
portNumber This property is required. number
Specify the UDP port number (default=514)
port_number This property is required. int
Specify the UDP port number (default=514)
portNumber This property is required. 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.