Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getEvpn
Explore with Pulumi AI
This data source can read the EVPN configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() => 
{
    var example = Iosxe.GetEvpn.Invoke();
});
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.LookupEvpn(ctx, nil, 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.GetEvpnArgs;
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.getEvpn();
    }
}
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_evpn()
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getEvpn({});
variables:
  example:
    fn::invoke:
      Function: iosxe:getEvpn
      Arguments: {}
Using getEvpn
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 getEvpn(args: GetEvpnArgs, opts?: InvokeOptions): Promise<GetEvpnResult>
function getEvpnOutput(args: GetEvpnOutputArgs, opts?: InvokeOptions): Output<GetEvpnResult>def get_evpn(device: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetEvpnResult
def get_evpn_output(device: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetEvpnResult]func LookupEvpn(ctx *Context, args *LookupEvpnArgs, opts ...InvokeOption) (*LookupEvpnResult, error)
func LookupEvpnOutput(ctx *Context, args *LookupEvpnOutputArgs, opts ...InvokeOption) LookupEvpnResultOutput> Note: This function is named LookupEvpn in the Go SDK.
public static class GetEvpn 
{
    public static Task<GetEvpnResult> InvokeAsync(GetEvpnArgs args, InvokeOptions? opts = null)
    public static Output<GetEvpnResult> Invoke(GetEvpnInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEvpnResult> getEvpn(GetEvpnArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: iosxe:index/getEvpn:getEvpn
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Device string
 - A device name from the provider configuration.
 
- Device string
 - A device name from the provider configuration.
 
- device String
 - A device name from the provider configuration.
 
- device string
 - A device name from the provider configuration.
 
- device str
 - A device name from the provider configuration.
 
- device String
 - A device name from the provider configuration.
 
getEvpn Result
The following output properties are available:
- Default
Gateway boolAdvertise  - Advertise Default Gateway MAC/IP routes
 - Id string
 - The path of the retrieved object.
 - Ip
Duplication intLimit  - Number of IP moves within specified time interval
 - Ip
Duplication intTime  - IP duplication timer
 - Logging
Peer boolState  - Peer state transition logging
 - Mac
Duplication intLimit  - Number of MAC moves within specified time interval
 - Mac
Duplication intTime  - MAC duplication timer
 - Replication
Type boolIngress  - Ingress replication
 - Replication
Type boolMp2mp  - mp2mp replication
 - Replication
Type boolP2mp  - p2mp replication
 - Replication
Type boolStatic  - Static replication
 - Route
Target boolAuto Vni  - Set vni-based route-target
 - Router
Id intLoopback  - Loopback interface
 - Device string
 - A device name from the provider configuration.
 
- Default
Gateway boolAdvertise  - Advertise Default Gateway MAC/IP routes
 - Id string
 - The path of the retrieved object.
 - Ip
Duplication intLimit  - Number of IP moves within specified time interval
 - Ip
Duplication intTime  - IP duplication timer
 - Logging
Peer boolState  - Peer state transition logging
 - Mac
Duplication intLimit  - Number of MAC moves within specified time interval
 - Mac
Duplication intTime  - MAC duplication timer
 - Replication
Type boolIngress  - Ingress replication
 - Replication
Type boolMp2mp  - mp2mp replication
 - Replication
Type boolP2mp  - p2mp replication
 - Replication
Type boolStatic  - Static replication
 - Route
Target boolAuto Vni  - Set vni-based route-target
 - Router
Id intLoopback  - Loopback interface
 - Device string
 - A device name from the provider configuration.
 
- default
Gateway BooleanAdvertise  - Advertise Default Gateway MAC/IP routes
 - id String
 - The path of the retrieved object.
 - ip
Duplication IntegerLimit  - Number of IP moves within specified time interval
 - ip
Duplication IntegerTime  - IP duplication timer
 - logging
Peer BooleanState  - Peer state transition logging
 - mac
Duplication IntegerLimit  - Number of MAC moves within specified time interval
 - mac
Duplication IntegerTime  - MAC duplication timer
 - replication
Type BooleanIngress  - Ingress replication
 - replication
Type BooleanMp2mp  - mp2mp replication
 - replication
Type BooleanP2mp  - p2mp replication
 - replication
Type BooleanStatic  - Static replication
 - route
Target BooleanAuto Vni  - Set vni-based route-target
 - router
Id IntegerLoopback  - Loopback interface
 - device String
 - A device name from the provider configuration.
 
- default
Gateway booleanAdvertise  - Advertise Default Gateway MAC/IP routes
 - id string
 - The path of the retrieved object.
 - ip
Duplication numberLimit  - Number of IP moves within specified time interval
 - ip
Duplication numberTime  - IP duplication timer
 - logging
Peer booleanState  - Peer state transition logging
 - mac
Duplication numberLimit  - Number of MAC moves within specified time interval
 - mac
Duplication numberTime  - MAC duplication timer
 - replication
Type booleanIngress  - Ingress replication
 - replication
Type booleanMp2mp  - mp2mp replication
 - replication
Type booleanP2mp  - p2mp replication
 - replication
Type booleanStatic  - Static replication
 - route
Target booleanAuto Vni  - Set vni-based route-target
 - router
Id numberLoopback  - Loopback interface
 - device string
 - A device name from the provider configuration.
 
- default_
gateway_ booladvertise  - Advertise Default Gateway MAC/IP routes
 - id str
 - The path of the retrieved object.
 - ip_
duplication_ intlimit  - Number of IP moves within specified time interval
 - ip_
duplication_ inttime  - IP duplication timer
 - logging_
peer_ boolstate  - Peer state transition logging
 - mac_
duplication_ intlimit  - Number of MAC moves within specified time interval
 - mac_
duplication_ inttime  - MAC duplication timer
 - replication_
type_ boolingress  - Ingress replication
 - replication_
type_ boolmp2mp  - mp2mp replication
 - replication_
type_ boolp2mp  - p2mp replication
 - replication_
type_ boolstatic  - Static replication
 - route_
target_ boolauto_ vni  - Set vni-based route-target
 - router_
id_ intloopback  - Loopback interface
 - device str
 - A device name from the provider configuration.
 
- default
Gateway BooleanAdvertise  - Advertise Default Gateway MAC/IP routes
 - id String
 - The path of the retrieved object.
 - ip
Duplication NumberLimit  - Number of IP moves within specified time interval
 - ip
Duplication NumberTime  - IP duplication timer
 - logging
Peer BooleanState  - Peer state transition logging
 - mac
Duplication NumberLimit  - Number of MAC moves within specified time interval
 - mac
Duplication NumberTime  - MAC duplication timer
 - replication
Type BooleanIngress  - Ingress replication
 - replication
Type BooleanMp2mp  - mp2mp replication
 - replication
Type BooleanP2mp  - p2mp replication
 - replication
Type BooleanStatic  - Static replication
 - route
Target BooleanAuto Vni  - Set vni-based route-target
 - router
Id NumberLoopback  - Loopback interface
 - device String
 - A device name from the provider configuration.
 
Package Details
- Repository
 - iosxe lbrlabs/pulumi-iosxe
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
iosxeTerraform Provider.