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

iosxe.getEvpn

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 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 dictionary

    The 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:

    DefaultGatewayAdvertise bool
    Advertise Default Gateway MAC/IP routes
    Id string
    The path of the retrieved object.
    IpDuplicationLimit int
    Number of IP moves within specified time interval
    IpDuplicationTime int
    IP duplication timer
    LoggingPeerState bool
    Peer state transition logging
    MacDuplicationLimit int
    Number of MAC moves within specified time interval
    MacDuplicationTime int
    MAC duplication timer
    ReplicationTypeIngress bool
    Ingress replication
    ReplicationTypeMp2mp bool
    mp2mp replication
    ReplicationTypeP2mp bool
    p2mp replication
    ReplicationTypeStatic bool
    Static replication
    RouteTargetAutoVni bool
    Set vni-based route-target
    RouterIdLoopback int
    Loopback interface
    Device string
    A device name from the provider configuration.
    DefaultGatewayAdvertise bool
    Advertise Default Gateway MAC/IP routes
    Id string
    The path of the retrieved object.
    IpDuplicationLimit int
    Number of IP moves within specified time interval
    IpDuplicationTime int
    IP duplication timer
    LoggingPeerState bool
    Peer state transition logging
    MacDuplicationLimit int
    Number of MAC moves within specified time interval
    MacDuplicationTime int
    MAC duplication timer
    ReplicationTypeIngress bool
    Ingress replication
    ReplicationTypeMp2mp bool
    mp2mp replication
    ReplicationTypeP2mp bool
    p2mp replication
    ReplicationTypeStatic bool
    Static replication
    RouteTargetAutoVni bool
    Set vni-based route-target
    RouterIdLoopback int
    Loopback interface
    Device string
    A device name from the provider configuration.
    defaultGatewayAdvertise Boolean
    Advertise Default Gateway MAC/IP routes
    id String
    The path of the retrieved object.
    ipDuplicationLimit Integer
    Number of IP moves within specified time interval
    ipDuplicationTime Integer
    IP duplication timer
    loggingPeerState Boolean
    Peer state transition logging
    macDuplicationLimit Integer
    Number of MAC moves within specified time interval
    macDuplicationTime Integer
    MAC duplication timer
    replicationTypeIngress Boolean
    Ingress replication
    replicationTypeMp2mp Boolean
    mp2mp replication
    replicationTypeP2mp Boolean
    p2mp replication
    replicationTypeStatic Boolean
    Static replication
    routeTargetAutoVni Boolean
    Set vni-based route-target
    routerIdLoopback Integer
    Loopback interface
    device String
    A device name from the provider configuration.
    defaultGatewayAdvertise boolean
    Advertise Default Gateway MAC/IP routes
    id string
    The path of the retrieved object.
    ipDuplicationLimit number
    Number of IP moves within specified time interval
    ipDuplicationTime number
    IP duplication timer
    loggingPeerState boolean
    Peer state transition logging
    macDuplicationLimit number
    Number of MAC moves within specified time interval
    macDuplicationTime number
    MAC duplication timer
    replicationTypeIngress boolean
    Ingress replication
    replicationTypeMp2mp boolean
    mp2mp replication
    replicationTypeP2mp boolean
    p2mp replication
    replicationTypeStatic boolean
    Static replication
    routeTargetAutoVni boolean
    Set vni-based route-target
    routerIdLoopback number
    Loopback interface
    device string
    A device name from the provider configuration.
    default_gateway_advertise bool
    Advertise Default Gateway MAC/IP routes
    id str
    The path of the retrieved object.
    ip_duplication_limit int
    Number of IP moves within specified time interval
    ip_duplication_time int
    IP duplication timer
    logging_peer_state bool
    Peer state transition logging
    mac_duplication_limit int
    Number of MAC moves within specified time interval
    mac_duplication_time int
    MAC duplication timer
    replication_type_ingress bool
    Ingress replication
    replication_type_mp2mp bool
    mp2mp replication
    replication_type_p2mp bool
    p2mp replication
    replication_type_static bool
    Static replication
    route_target_auto_vni bool
    Set vni-based route-target
    router_id_loopback int
    Loopback interface
    device str
    A device name from the provider configuration.
    defaultGatewayAdvertise Boolean
    Advertise Default Gateway MAC/IP routes
    id String
    The path of the retrieved object.
    ipDuplicationLimit Number
    Number of IP moves within specified time interval
    ipDuplicationTime Number
    IP duplication timer
    loggingPeerState Boolean
    Peer state transition logging
    macDuplicationLimit Number
    Number of MAC moves within specified time interval
    macDuplicationTime Number
    MAC duplication timer
    replicationTypeIngress Boolean
    Ingress replication
    replicationTypeMp2mp Boolean
    mp2mp replication
    replicationTypeP2mp Boolean
    p2mp replication
    replicationTypeStatic Boolean
    Static replication
    routeTargetAutoVni Boolean
    Set vni-based route-target
    routerIdLoopback Number
    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 iosxe Terraform Provider.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs