Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getLoggingIpv4HostTransport
Explore with Pulumi AI
This data source can read the Logging IPv4 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.GetLoggingIpv4HostTransport.Invoke(new()
{
Ipv4Host = "2.2.2.2",
});
});
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.LookupLoggingIpv4HostTransport(ctx, &iosxe.LookupLoggingIpv4HostTransportArgs{
Ipv4Host: "2.2.2.2",
}, 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.GetLoggingIpv4HostTransportArgs;
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.getLoggingIpv4HostTransport(GetLoggingIpv4HostTransportArgs.builder()
.ipv4Host("2.2.2.2")
.build());
}
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_logging_ipv4_host_transport(ipv4_host="2.2.2.2")
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getLoggingIpv4HostTransport({
ipv4Host: "2.2.2.2",
});
variables:
example:
fn::invoke:
Function: iosxe:getLoggingIpv4HostTransport
Arguments:
ipv4Host: 2.2.2.2
Using getLoggingIpv4HostTransport
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 getLoggingIpv4HostTransport(args: GetLoggingIpv4HostTransportArgs, opts?: InvokeOptions): Promise<GetLoggingIpv4HostTransportResult>
function getLoggingIpv4HostTransportOutput(args: GetLoggingIpv4HostTransportOutputArgs, opts?: InvokeOptions): Output<GetLoggingIpv4HostTransportResult>
def get_logging_ipv4_host_transport(device: Optional[str] = None,
ipv4_host: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLoggingIpv4HostTransportResult
def get_logging_ipv4_host_transport_output(device: Optional[pulumi.Input[str]] = None,
ipv4_host: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLoggingIpv4HostTransportResult]
func LookupLoggingIpv4HostTransport(ctx *Context, args *LookupLoggingIpv4HostTransportArgs, opts ...InvokeOption) (*LookupLoggingIpv4HostTransportResult, error)
func LookupLoggingIpv4HostTransportOutput(ctx *Context, args *LookupLoggingIpv4HostTransportOutputArgs, opts ...InvokeOption) LookupLoggingIpv4HostTransportResultOutput
> Note: This function is named LookupLoggingIpv4HostTransport
in the Go SDK.
public static class GetLoggingIpv4HostTransport
{
public static Task<GetLoggingIpv4HostTransportResult> InvokeAsync(GetLoggingIpv4HostTransportArgs args, InvokeOptions? opts = null)
public static Output<GetLoggingIpv4HostTransportResult> Invoke(GetLoggingIpv4HostTransportInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLoggingIpv4HostTransportResult> getLoggingIpv4HostTransport(GetLoggingIpv4HostTransportArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: iosxe:index/getLoggingIpv4HostTransport:getLoggingIpv4HostTransport
arguments:
# arguments dictionary
The following arguments are supported:
getLoggingIpv4HostTransport Result
The following output properties are available:
- Id string
- The path of the retrieved object.
- Ipv4Host string
- Transport
Tcp List<Lbrlabs.Ports Pulumi Package. Iosxe. Outputs. Get Logging Ipv4Host Transport Transport Tcp Port> - Port Number List
- Transport
Tls List<Lbrlabs.Ports Pulumi Package. Iosxe. Outputs. Get Logging Ipv4Host Transport Transport Tls Port> - Port Number List
- Transport
Udp List<Lbrlabs.Ports Pulumi Package. Iosxe. Outputs. Get Logging Ipv4Host Transport Transport Udp Port> - Port Number List
- Device string
- A device name from the provider configuration.
- Id string
- The path of the retrieved object.
- Ipv4Host string
- Transport
Tcp []GetPorts Logging Ipv4Host Transport Transport Tcp Port - Port Number List
- Transport
Tls []GetPorts Logging Ipv4Host Transport Transport Tls Port - Port Number List
- Transport
Udp []GetPorts Logging Ipv4Host Transport Transport Udp Port - Port Number List
- Device string
- A device name from the provider configuration.
- id String
- The path of the retrieved object.
- ipv4Host String
- transport
Tcp List<GetPorts Logging Ipv4Host Transport Transport Tcp Port> - Port Number List
- transport
Tls List<GetPorts Logging Ipv4Host Transport Transport Tls Port> - Port Number List
- transport
Udp List<GetPorts Logging Ipv4Host Transport Transport Udp Port> - Port Number List
- device String
- A device name from the provider configuration.
- id string
- The path of the retrieved object.
- ipv4Host string
- transport
Tcp GetPorts Logging Ipv4Host Transport Transport Tcp Port[] - Port Number List
- transport
Tls GetPorts Logging Ipv4Host Transport Transport Tls Port[] - Port Number List
- transport
Udp GetPorts Logging Ipv4Host Transport Transport Udp Port[] - Port Number List
- device string
- A device name from the provider configuration.
- id str
- The path of the retrieved object.
- ipv4_
host str - transport_
tcp_ Sequence[Getports Logging Ipv4Host Transport Transport Tcp Port] - Port Number List
- transport_
tls_ Sequence[Getports Logging Ipv4Host Transport Transport Tls Port] - Port Number List
- transport_
udp_ Sequence[Getports Logging Ipv4Host Transport Transport Udp Port] - Port Number List
- device str
- A device name from the provider configuration.
- id String
- The path of the retrieved object.
- ipv4Host 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
- device String
- A device name from the provider configuration.
Supporting Types
GetLoggingIpv4HostTransportTransportTcpPort
- Port
Number int - Specify the TCP port number (default=601)
- Port
Number int - Specify the TCP port number (default=601)
- port
Number Integer - Specify the TCP port number (default=601)
- port
Number number - Specify the TCP port number (default=601)
- port_
number int - Specify the TCP port number (default=601)
- port
Number Number - Specify the TCP port number (default=601)
GetLoggingIpv4HostTransportTransportTlsPort
- Port
Number int - Specify the TLS port number (default=6514)
- Profile string
- Specify the TLS profile
- Port
Number int - Specify the TLS port number (default=6514)
- Profile string
- Specify the TLS profile
- port
Number Integer - Specify the TLS port number (default=6514)
- profile String
- Specify the TLS profile
- port
Number 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
- port
Number Number - Specify the TLS port number (default=6514)
- profile String
- Specify the TLS profile
GetLoggingIpv4HostTransportTransportUdpPort
- Port
Number int - Specify the UDP port number (default=514)
- Port
Number int - Specify the UDP port number (default=514)
- port
Number Integer - Specify the UDP port number (default=514)
- port
Number number - Specify the UDP port number (default=514)
- port_
number int - Specify the UDP port number (default=514)
- port
Number 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.