Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
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 * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getInterfaceNve({
name: 1,
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_interface_nve(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)
public static Output<GetInterfaceNveResult> getInterfaceNve(GetInterfaceNveArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getInterfaceNve:getInterfaceNve
arguments:
# arguments dictionaryThe following arguments are supported:
getInterfaceNve Result
The following output properties are available:
- Description string
- Interface specific description
- Host
Reachability boolProtocol Bgp - Id string
- The path of the retrieved object.
- Name int
- Shutdown bool
- Shutdown the selected interface
- Source
Interface intLoopback - Loopback interface
- Vni
Vrfs List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Interface Nve Vni Vrf> - Configure VNI information
- Vnis
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Interface Nve Vni> - Configure VNI information
- Device string
- A device name from the provider configuration.
- Description string
- Interface specific description
- Host
Reachability boolProtocol Bgp - Id string
- The path of the retrieved object.
- Name int
- Shutdown bool
- Shutdown the selected interface
- Source
Interface intLoopback - Loopback interface
- Vni
Vrfs []GetInterface Nve Vni Vrf - Configure VNI information
- Vnis
[]Get
Interface Nve Vni - Configure VNI information
- Device string
- A device name from the provider configuration.
- description String
- Interface specific description
- host
Reachability BooleanProtocol Bgp - id String
- The path of the retrieved object.
- name Integer
- shutdown Boolean
- Shutdown the selected interface
- source
Interface IntegerLoopback - Loopback interface
- vni
Vrfs List<GetInterface Nve Vni Vrf> - Configure VNI information
- vnis
List<Get
Interface Nve Vni> - Configure VNI information
- device String
- A device name from the provider configuration.
- description string
- Interface specific description
- host
Reachability booleanProtocol Bgp - id string
- The path of the retrieved object.
- name number
- shutdown boolean
- Shutdown the selected interface
- source
Interface numberLoopback - Loopback interface
- vni
Vrfs GetInterface Nve Vni Vrf[] - Configure VNI information
- vnis
Get
Interface Nve Vni[] - Configure VNI information
- device string
- A device name from the provider configuration.
- description str
- Interface specific description
- host_
reachability_ boolprotocol_ bgp - id str
- The path of the retrieved object.
- name int
- shutdown bool
- Shutdown the selected interface
- source_
interface_ intloopback - Loopback interface
- vni_
vrfs Sequence[GetInterface Nve Vni Vrf] - Configure VNI information
- vnis
Sequence[Get
Interface Nve Vni] - Configure VNI information
- device str
- A device name from the provider configuration.
- description String
- Interface specific description
- host
Reachability BooleanProtocol Bgp - id String
- The path of the retrieved object.
- name Number
- shutdown Boolean
- Shutdown the selected interface
- source
Interface NumberLoopback - Loopback interface
- vni
Vrfs 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
- Ingress
Replication bool - Ingress Replication control-plane (BGP) signaling
- Ipv4Multicast
Group string - Starting Multicast Group IPv4 Address
- Vni
Range string - VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
- Ingress
Replication bool - Ingress Replication control-plane (BGP) signaling
- Ipv4Multicast
Group string - Starting Multicast Group IPv4 Address
- Vni
Range string - VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
- ingress
Replication Boolean - Ingress Replication control-plane (BGP) signaling
- ipv4Multicast
Group String - Starting Multicast Group IPv4 Address
- vni
Range String - VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
- ingress
Replication boolean - Ingress Replication control-plane (BGP) signaling
- ipv4Multicast
Group string - Starting Multicast Group IPv4 Address
- vni
Range string - VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
- ingress_
replication bool - Ingress Replication control-plane (BGP) signaling
- ipv4_
multicast_ strgroup - Starting Multicast Group IPv4 Address
- vni_
range str - VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
- ingress
Replication Boolean - Ingress Replication control-plane (BGP) signaling
- ipv4Multicast
Group String - Starting Multicast Group IPv4 Address
- vni
Range String - VNI range or instance between 4096-16777215, example: 6010-6030 or 7115
GetInterfaceNveVniVrf
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxeTerraform Provider.
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
