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

iosxe.getInterfaceNve

Explore with Pulumi AI

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

This data source can read the Interface NVE configuration.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;

return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetInterfaceNve.Invoke(new()
    {
        Name = 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.LookupInterfaceNve(ctx, &iosxe.LookupInterfaceNveArgs{
			Name: 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.GetInterfaceNveArgs;
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.getInterfaceNve(GetInterfaceNveArgs.builder()
            .name(1)
            .build());

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

const example = iosxe.getInterfaceNve({
    name: 1,
});
Copy
import pulumi
import pulumi_iosxe as iosxe

example = iosxe.get_interface_nve(name=1)
Copy
variables:
  example:
    fn::invoke:
      Function: iosxe:getInterfaceNve
      Arguments:
        name: 1
Copy

Using getInterfaceNve

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 getInterfaceNve(args: GetInterfaceNveArgs, opts?: InvokeOptions): Promise<GetInterfaceNveResult>
function getInterfaceNveOutput(args: GetInterfaceNveOutputArgs, opts?: InvokeOptions): Output<GetInterfaceNveResult>
Copy
def get_interface_nve(device: Optional[str] = None,
                      name: Optional[int] = None,
                      opts: Optional[InvokeOptions] = None) -> GetInterfaceNveResult
def get_interface_nve_output(device: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[int]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetInterfaceNveResult]
Copy
func LookupInterfaceNve(ctx *Context, args *LookupInterfaceNveArgs, opts ...InvokeOption) (*LookupInterfaceNveResult, error)
func LookupInterfaceNveOutput(ctx *Context, args *LookupInterfaceNveOutputArgs, opts ...InvokeOption) LookupInterfaceNveResultOutput
Copy

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

public static class GetInterfaceNve 
{
    public static Task<GetInterfaceNveResult> InvokeAsync(GetInterfaceNveArgs args, InvokeOptions? opts = null)
    public static Output<GetInterfaceNveResult> Invoke(GetInterfaceNveInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInterfaceNveResult> getInterfaceNve(GetInterfaceNveArgs args, InvokeOptions options)
public static Output<GetInterfaceNveResult> getInterfaceNve(GetInterfaceNveArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: iosxe:index/getInterfaceNve:getInterfaceNve
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. int
Device string
A device name from the provider configuration.
Name This property is required. int
Device string
A device name from the provider configuration.
name This property is required. Integer
device String
A device name from the provider configuration.
name This property is required. number
device string
A device name from the provider configuration.
name This property is required. int
device str
A device name from the provider configuration.
name This property is required. Number
device String
A device name from the provider configuration.

getInterfaceNve Result

The following output properties are available:

Description string
Interface specific description
HostReachabilityProtocolBgp bool
Id string
The path of the retrieved object.
Name int
Shutdown bool
Shutdown the selected interface
SourceInterfaceLoopback int
Loopback interface
VniVrfs List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetInterfaceNveVniVrf>
Configure VNI information
Vnis List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetInterfaceNveVni>
Configure VNI information
Device string
A device name from the provider configuration.
Description string
Interface specific description
HostReachabilityProtocolBgp bool
Id string
The path of the retrieved object.
Name int
Shutdown bool
Shutdown the selected interface
SourceInterfaceLoopback int
Loopback interface
VniVrfs []GetInterfaceNveVniVrf
Configure VNI information
Vnis []GetInterfaceNveVni
Configure VNI information
Device string
A device name from the provider configuration.
description String
Interface specific description
hostReachabilityProtocolBgp Boolean
id String
The path of the retrieved object.
name Integer
shutdown Boolean
Shutdown the selected interface
sourceInterfaceLoopback Integer
Loopback interface
vniVrfs List<GetInterfaceNveVniVrf>
Configure VNI information
vnis List<GetInterfaceNveVni>
Configure VNI information
device String
A device name from the provider configuration.
description string
Interface specific description
hostReachabilityProtocolBgp boolean
id string
The path of the retrieved object.
name number
shutdown boolean
Shutdown the selected interface
sourceInterfaceLoopback number
Loopback interface
vniVrfs GetInterfaceNveVniVrf[]
Configure VNI information
vnis GetInterfaceNveVni[]
Configure VNI information
device string
A device name from the provider configuration.
description str
Interface specific description
host_reachability_protocol_bgp bool
id str
The path of the retrieved object.
name int
shutdown bool
Shutdown the selected interface
source_interface_loopback int
Loopback interface
vni_vrfs Sequence[GetInterfaceNveVniVrf]
Configure VNI information
vnis Sequence[GetInterfaceNveVni]
Configure VNI information
device str
A device name from the provider configuration.
description String
Interface specific description
hostReachabilityProtocolBgp Boolean
id String
The path of the retrieved object.
name Number
shutdown Boolean
Shutdown the selected interface
sourceInterfaceLoopback Number
Loopback interface
vniVrfs List<Property Map>
Configure VNI information
vnis List<Property Map>
Configure VNI information
device String
A device name from the provider configuration.

Supporting Types

GetInterfaceNveVni

IngressReplication This property is required. bool
Ingress Replication control-plane (BGP) signaling
Ipv4MulticastGroup This property is required. string
Starting Multicast Group IPv4 Address
VniRange This property is required. string
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
IngressReplication This property is required. bool
Ingress Replication control-plane (BGP) signaling
Ipv4MulticastGroup This property is required. string
Starting Multicast Group IPv4 Address
VniRange This property is required. string
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
ingressReplication This property is required. Boolean
Ingress Replication control-plane (BGP) signaling
ipv4MulticastGroup This property is required. String
Starting Multicast Group IPv4 Address
vniRange This property is required. String
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
ingressReplication This property is required. boolean
Ingress Replication control-plane (BGP) signaling
ipv4MulticastGroup This property is required. string
Starting Multicast Group IPv4 Address
vniRange This property is required. string
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
ingress_replication This property is required. bool
Ingress Replication control-plane (BGP) signaling
ipv4_multicast_group This property is required. str
Starting Multicast Group IPv4 Address
vni_range This property is required. str
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
ingressReplication This property is required. Boolean
Ingress Replication control-plane (BGP) signaling
ipv4MulticastGroup This property is required. String
Starting Multicast Group IPv4 Address
vniRange This property is required. String
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115

GetInterfaceNveVniVrf

VniRange This property is required. string
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
Vrf This property is required. string
Specify a particular VRF
VniRange This property is required. string
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
Vrf This property is required. string
Specify a particular VRF
vniRange This property is required. String
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
vrf This property is required. String
Specify a particular VRF
vniRange This property is required. string
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
vrf This property is required. string
Specify a particular VRF
vni_range This property is required. str
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
vrf This property is required. str
Specify a particular VRF
vniRange This property is required. String
VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
vrf This property is required. String
Specify a particular VRF

Package Details

Repository
iosxe lbrlabs/pulumi-iosxe
License
Apache-2.0
Notes
This Pulumi package is based on the iosxe Terraform Provider.
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs