Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getLoggingIpv4HostVrfTransport
Explore with Pulumi AI
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:
getLoggingIpv4HostVrfTransport 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 Vrf Transport Transport Tcp Port> - Port Number List
- Transport
Tls List<Lbrlabs.Ports Pulumi Package. Iosxe. Outputs. Get Logging Ipv4Host Vrf Transport Transport Tls Port> - Port Number List
- Transport
Udp List<Lbrlabs.Ports Pulumi Package. Iosxe. Outputs. Get Logging Ipv4Host Vrf Transport Transport Udp Port> - 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
- Transport
Tcp []GetPorts Logging Ipv4Host Vrf Transport Transport Tcp Port - Port Number List
- Transport
Tls []GetPorts Logging Ipv4Host Vrf Transport Transport Tls Port - Port Number List
- Transport
Udp []GetPorts Logging Ipv4Host Vrf Transport Transport Udp Port - 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
- transport
Tcp List<GetPorts Logging Ipv4Host Vrf Transport Transport Tcp Port> - Port Number List
- transport
Tls List<GetPorts Logging Ipv4Host Vrf Transport Transport Tls Port> - Port Number List
- transport
Udp List<GetPorts Logging Ipv4Host Vrf Transport Transport Udp Port> - 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
- transport
Tcp GetPorts Logging Ipv4Host Vrf Transport Transport Tcp Port[] - Port Number List
- transport
Tls GetPorts Logging Ipv4Host Vrf Transport Transport Tls Port[] - Port Number List
- transport
Udp GetPorts Logging Ipv4Host Vrf Transport Transport Udp Port[] - Port Number List
- vrf string
- Set VRF option
- 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 Vrf Transport Transport Tcp Port] - Port Number List
- transport_
tls_ Sequence[Getports Logging Ipv4Host Vrf Transport Transport Tls Port] - Port Number List
- transport_
udp_ Sequence[Getports Logging Ipv4Host Vrf Transport Transport Udp Port] - Port Number List
- vrf str
- Set VRF option
- 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
- vrf String
- Set VRF option
- device String
- A device name from the provider configuration.
Supporting Types
GetLoggingIpv4HostVrfTransportTransportTcpPort
- 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)
GetLoggingIpv4HostVrfTransportTransportTlsPort
- 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
GetLoggingIpv4HostVrfTransportTransportUdpPort
- 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.