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

iosxe logo
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,
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_interface_nve(name=1)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getInterfaceNve({
        name: 1,
    });
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getInterfaceNve
          Arguments:
            name: 1
    

    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>
    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]
    func LookupInterfaceNve(ctx *Context, args *LookupInterfaceNveArgs, opts ...InvokeOption) (*LookupInterfaceNveResult, error)
    func LookupInterfaceNveOutput(ctx *Context, args *LookupInterfaceNveOutputArgs, opts ...InvokeOption) LookupInterfaceNveResultOutput

    > 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)
    }
    public static CompletableFuture<GetInterfaceNveResult> getInterfaceNve(GetInterfaceNveArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getInterfaceNve:getInterfaceNve
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name int
    Device string
    A device name from the provider configuration.
    Name int
    Device string
    A device name from the provider configuration.
    name Integer
    device String
    A device name from the provider configuration.
    name number
    device string
    A device name from the provider configuration.
    name int
    device str
    A device name from the provider configuration.
    name 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 bool
    Ingress Replication control-plane (BGP) signaling
    Ipv4MulticastGroup string
    Starting Multicast Group IPv4 Address
    VniRange string
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    IngressReplication bool
    Ingress Replication control-plane (BGP) signaling
    Ipv4MulticastGroup string
    Starting Multicast Group IPv4 Address
    VniRange string
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    ingressReplication Boolean
    Ingress Replication control-plane (BGP) signaling
    ipv4MulticastGroup String
    Starting Multicast Group IPv4 Address
    vniRange String
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    ingressReplication boolean
    Ingress Replication control-plane (BGP) signaling
    ipv4MulticastGroup string
    Starting Multicast Group IPv4 Address
    vniRange string
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    ingress_replication bool
    Ingress Replication control-plane (BGP) signaling
    ipv4_multicast_group str
    Starting Multicast Group IPv4 Address
    vni_range str
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    ingressReplication Boolean
    Ingress Replication control-plane (BGP) signaling
    ipv4MulticastGroup String
    Starting Multicast Group IPv4 Address
    vniRange String
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115

    GetInterfaceNveVniVrf

    VniRange string
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    Vrf string
    Specify a particular VRF
    VniRange string
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    Vrf string
    Specify a particular VRF
    vniRange String
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    vrf String
    Specify a particular VRF
    vniRange string
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    vrf string
    Specify a particular VRF
    vni_range str
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    vrf str
    Specify a particular VRF
    vniRange String
    VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
    vrf 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.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs