iosxe.EvpnInstance
Explore with Pulumi AI
This resource can manage the EVPN Instance configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Lbrlabs.PulumiPackage.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = new Iosxe.EvpnInstance("example", new()
{
EvpnInstanceNum = 10,
VlanBasedAutoRouteTarget = false,
VlanBasedDefaultGatewayAdvertise = "enable",
VlanBasedEncapsulation = "vxlan",
VlanBasedIpLocalLearningDisable = false,
VlanBasedIpLocalLearningEnable = true,
VlanBasedRd = "10:10",
VlanBasedReOriginateRouteType5 = true,
VlanBasedReplicationTypeIngress = false,
VlanBasedReplicationTypeMp2mp = false,
VlanBasedReplicationTypeP2mp = false,
VlanBasedReplicationTypeStatic = true,
VlanBasedRouteTarget = "10:10",
VlanBasedRouteTargetBoth = "10:10",
VlanBasedRouteTargetExport = "10:10",
VlanBasedRouteTargetImport = "10:10",
});
});
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.NewEvpnInstance(ctx, "example", &iosxe.EvpnInstanceArgs{
EvpnInstanceNum: pulumi.Int(10),
VlanBasedAutoRouteTarget: pulumi.Bool(false),
VlanBasedDefaultGatewayAdvertise: pulumi.String("enable"),
VlanBasedEncapsulation: pulumi.String("vxlan"),
VlanBasedIpLocalLearningDisable: pulumi.Bool(false),
VlanBasedIpLocalLearningEnable: pulumi.Bool(true),
VlanBasedRd: pulumi.String("10:10"),
VlanBasedReOriginateRouteType5: pulumi.Bool(true),
VlanBasedReplicationTypeIngress: pulumi.Bool(false),
VlanBasedReplicationTypeMp2mp: pulumi.Bool(false),
VlanBasedReplicationTypeP2mp: pulumi.Bool(false),
VlanBasedReplicationTypeStatic: pulumi.Bool(true),
VlanBasedRouteTarget: pulumi.String("10:10"),
VlanBasedRouteTargetBoth: pulumi.String("10:10"),
VlanBasedRouteTargetExport: pulumi.String("10:10"),
VlanBasedRouteTargetImport: pulumi.String("10:10"),
})
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.EvpnInstance;
import com.pulumi.iosxe.EvpnInstanceArgs;
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) {
var example = new EvpnInstance("example", EvpnInstanceArgs.builder()
.evpnInstanceNum(10)
.vlanBasedAutoRouteTarget(false)
.vlanBasedDefaultGatewayAdvertise("enable")
.vlanBasedEncapsulation("vxlan")
.vlanBasedIpLocalLearningDisable(false)
.vlanBasedIpLocalLearningEnable(true)
.vlanBasedRd("10:10")
.vlanBasedReOriginateRouteType5(true)
.vlanBasedReplicationTypeIngress(false)
.vlanBasedReplicationTypeMp2mp(false)
.vlanBasedReplicationTypeP2mp(false)
.vlanBasedReplicationTypeStatic(true)
.vlanBasedRouteTarget("10:10")
.vlanBasedRouteTargetBoth("10:10")
.vlanBasedRouteTargetExport("10:10")
.vlanBasedRouteTargetImport("10:10")
.build());
}
}
import pulumi
import lbrlabs_pulumi_iosxe as iosxe
example = iosxe.EvpnInstance("example",
evpn_instance_num=10,
vlan_based_auto_route_target=False,
vlan_based_default_gateway_advertise="enable",
vlan_based_encapsulation="vxlan",
vlan_based_ip_local_learning_disable=False,
vlan_based_ip_local_learning_enable=True,
vlan_based_rd="10:10",
vlan_based_re_originate_route_type5=True,
vlan_based_replication_type_ingress=False,
vlan_based_replication_type_mp2mp=False,
vlan_based_replication_type_p2mp=False,
vlan_based_replication_type_static=True,
vlan_based_route_target="10:10",
vlan_based_route_target_both="10:10",
vlan_based_route_target_export="10:10",
vlan_based_route_target_import="10:10")
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@lbrlabs/pulumi-iosxe";
const example = new iosxe.EvpnInstance("example", {
evpnInstanceNum: 10,
vlanBasedAutoRouteTarget: false,
vlanBasedDefaultGatewayAdvertise: "enable",
vlanBasedEncapsulation: "vxlan",
vlanBasedIpLocalLearningDisable: false,
vlanBasedIpLocalLearningEnable: true,
vlanBasedRd: "10:10",
vlanBasedReOriginateRouteType5: true,
vlanBasedReplicationTypeIngress: false,
vlanBasedReplicationTypeMp2mp: false,
vlanBasedReplicationTypeP2mp: false,
vlanBasedReplicationTypeStatic: true,
vlanBasedRouteTarget: "10:10",
vlanBasedRouteTargetBoth: "10:10",
vlanBasedRouteTargetExport: "10:10",
vlanBasedRouteTargetImport: "10:10",
});
resources:
example:
type: iosxe:EvpnInstance
properties:
evpnInstanceNum: 10
vlanBasedAutoRouteTarget: false
vlanBasedDefaultGatewayAdvertise: enable
vlanBasedEncapsulation: vxlan
vlanBasedIpLocalLearningDisable: false
vlanBasedIpLocalLearningEnable: true
vlanBasedRd: 10:10
vlanBasedReOriginateRouteType5: true
vlanBasedReplicationTypeIngress: false
vlanBasedReplicationTypeMp2mp: false
vlanBasedReplicationTypeP2mp: false
vlanBasedReplicationTypeStatic: true
vlanBasedRouteTarget: 10:10
vlanBasedRouteTargetBoth: 10:10
vlanBasedRouteTargetExport: 10:10
vlanBasedRouteTargetImport: 10:10
Create EvpnInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EvpnInstance(name: string, args: EvpnInstanceArgs, opts?: CustomResourceOptions);
@overload
def EvpnInstance(resource_name: str,
args: EvpnInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EvpnInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
evpn_instance_num: Optional[int] = None,
vlan_based_re_originate_route_type5: Optional[bool] = None,
vlan_based_rd: Optional[str] = None,
vlan_based_default_gateway_advertise: Optional[str] = None,
vlan_based_encapsulation: Optional[str] = None,
vlan_based_replication_type_ingress: Optional[bool] = None,
vlan_based_ip_local_learning_enable: Optional[bool] = None,
vlan_based_auto_route_target: Optional[bool] = None,
device: Optional[str] = None,
vlan_based_ip_local_learning_disable: Optional[bool] = None,
vlan_based_replication_type_mp2mp: Optional[bool] = None,
vlan_based_replication_type_p2mp: Optional[bool] = None,
vlan_based_replication_type_static: Optional[bool] = None,
vlan_based_route_target: Optional[str] = None,
vlan_based_route_target_both: Optional[str] = None,
vlan_based_route_target_export: Optional[str] = None,
vlan_based_route_target_import: Optional[str] = None)
func NewEvpnInstance(ctx *Context, name string, args EvpnInstanceArgs, opts ...ResourceOption) (*EvpnInstance, error)
public EvpnInstance(string name, EvpnInstanceArgs args, CustomResourceOptions? opts = null)
public EvpnInstance(String name, EvpnInstanceArgs args)
public EvpnInstance(String name, EvpnInstanceArgs args, CustomResourceOptions options)
type: iosxe:EvpnInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EvpnInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EvpnInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EvpnInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EvpnInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EvpnInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var evpnInstanceResource = new Iosxe.EvpnInstance("evpnInstanceResource", new()
{
EvpnInstanceNum = 0,
VlanBasedReOriginateRouteType5 = false,
VlanBasedRd = "string",
VlanBasedDefaultGatewayAdvertise = "string",
VlanBasedEncapsulation = "string",
VlanBasedReplicationTypeIngress = false,
VlanBasedIpLocalLearningEnable = false,
VlanBasedAutoRouteTarget = false,
Device = "string",
VlanBasedIpLocalLearningDisable = false,
VlanBasedReplicationTypeMp2mp = false,
VlanBasedReplicationTypeP2mp = false,
VlanBasedReplicationTypeStatic = false,
VlanBasedRouteTarget = "string",
VlanBasedRouteTargetBoth = "string",
VlanBasedRouteTargetExport = "string",
VlanBasedRouteTargetImport = "string",
});
example, err := iosxe.NewEvpnInstance(ctx, "evpnInstanceResource", &iosxe.EvpnInstanceArgs{
EvpnInstanceNum: pulumi.Int(0),
VlanBasedReOriginateRouteType5: pulumi.Bool(false),
VlanBasedRd: pulumi.String("string"),
VlanBasedDefaultGatewayAdvertise: pulumi.String("string"),
VlanBasedEncapsulation: pulumi.String("string"),
VlanBasedReplicationTypeIngress: pulumi.Bool(false),
VlanBasedIpLocalLearningEnable: pulumi.Bool(false),
VlanBasedAutoRouteTarget: pulumi.Bool(false),
Device: pulumi.String("string"),
VlanBasedIpLocalLearningDisable: pulumi.Bool(false),
VlanBasedReplicationTypeMp2mp: pulumi.Bool(false),
VlanBasedReplicationTypeP2mp: pulumi.Bool(false),
VlanBasedReplicationTypeStatic: pulumi.Bool(false),
VlanBasedRouteTarget: pulumi.String("string"),
VlanBasedRouteTargetBoth: pulumi.String("string"),
VlanBasedRouteTargetExport: pulumi.String("string"),
VlanBasedRouteTargetImport: pulumi.String("string"),
})
var evpnInstanceResource = new EvpnInstance("evpnInstanceResource", EvpnInstanceArgs.builder()
.evpnInstanceNum(0)
.vlanBasedReOriginateRouteType5(false)
.vlanBasedRd("string")
.vlanBasedDefaultGatewayAdvertise("string")
.vlanBasedEncapsulation("string")
.vlanBasedReplicationTypeIngress(false)
.vlanBasedIpLocalLearningEnable(false)
.vlanBasedAutoRouteTarget(false)
.device("string")
.vlanBasedIpLocalLearningDisable(false)
.vlanBasedReplicationTypeMp2mp(false)
.vlanBasedReplicationTypeP2mp(false)
.vlanBasedReplicationTypeStatic(false)
.vlanBasedRouteTarget("string")
.vlanBasedRouteTargetBoth("string")
.vlanBasedRouteTargetExport("string")
.vlanBasedRouteTargetImport("string")
.build());
evpn_instance_resource = iosxe.EvpnInstance("evpnInstanceResource",
evpn_instance_num=0,
vlan_based_re_originate_route_type5=False,
vlan_based_rd="string",
vlan_based_default_gateway_advertise="string",
vlan_based_encapsulation="string",
vlan_based_replication_type_ingress=False,
vlan_based_ip_local_learning_enable=False,
vlan_based_auto_route_target=False,
device="string",
vlan_based_ip_local_learning_disable=False,
vlan_based_replication_type_mp2mp=False,
vlan_based_replication_type_p2mp=False,
vlan_based_replication_type_static=False,
vlan_based_route_target="string",
vlan_based_route_target_both="string",
vlan_based_route_target_export="string",
vlan_based_route_target_import="string")
const evpnInstanceResource = new iosxe.EvpnInstance("evpnInstanceResource", {
evpnInstanceNum: 0,
vlanBasedReOriginateRouteType5: false,
vlanBasedRd: "string",
vlanBasedDefaultGatewayAdvertise: "string",
vlanBasedEncapsulation: "string",
vlanBasedReplicationTypeIngress: false,
vlanBasedIpLocalLearningEnable: false,
vlanBasedAutoRouteTarget: false,
device: "string",
vlanBasedIpLocalLearningDisable: false,
vlanBasedReplicationTypeMp2mp: false,
vlanBasedReplicationTypeP2mp: false,
vlanBasedReplicationTypeStatic: false,
vlanBasedRouteTarget: "string",
vlanBasedRouteTargetBoth: "string",
vlanBasedRouteTargetExport: "string",
vlanBasedRouteTargetImport: "string",
});
type: iosxe:EvpnInstance
properties:
device: string
evpnInstanceNum: 0
vlanBasedAutoRouteTarget: false
vlanBasedDefaultGatewayAdvertise: string
vlanBasedEncapsulation: string
vlanBasedIpLocalLearningDisable: false
vlanBasedIpLocalLearningEnable: false
vlanBasedRd: string
vlanBasedReOriginateRouteType5: false
vlanBasedReplicationTypeIngress: false
vlanBasedReplicationTypeMp2mp: false
vlanBasedReplicationTypeP2mp: false
vlanBasedReplicationTypeStatic: false
vlanBasedRouteTarget: string
vlanBasedRouteTargetBoth: string
vlanBasedRouteTargetExport: string
vlanBasedRouteTargetImport: string
EvpnInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EvpnInstance resource accepts the following input properties:
- Evpn
Instance intNum - evpn instance number - Range:
1
-65535
- Device string
- A device name from the provider configuration.
- Vlan
Based boolAuto Route Target - Automatically set a route-target
- Vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- Vlan
Based stringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- Vlan
Based boolIp Local Learning Disable - Disable IP local learning from dataplane
- Vlan
Based boolIp Local Learning Enable - Enable IP local learning from dataplane
- Vlan
Based stringRd - ASN:nn or IP-address:nn
- Vlan
Based boolRe Originate Route Type5 - Re-originate route-type 5
- Vlan
Based boolReplication Type Ingress - Ingress replication
- Vlan
Based boolReplication Type Mp2mp - mp2mp replication
- Vlan
Based boolReplication Type P2mp - p2mp replication
- Vlan
Based boolReplication Type Static - Static replication
- Vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Evpn
Instance intNum - evpn instance number - Range:
1
-65535
- Device string
- A device name from the provider configuration.
- Vlan
Based boolAuto Route Target - Automatically set a route-target
- Vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- Vlan
Based stringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- Vlan
Based boolIp Local Learning Disable - Disable IP local learning from dataplane
- Vlan
Based boolIp Local Learning Enable - Enable IP local learning from dataplane
- Vlan
Based stringRd - ASN:nn or IP-address:nn
- Vlan
Based boolRe Originate Route Type5 - Re-originate route-type 5
- Vlan
Based boolReplication Type Ingress - Ingress replication
- Vlan
Based boolReplication Type Mp2mp - mp2mp replication
- Vlan
Based boolReplication Type P2mp - p2mp replication
- Vlan
Based boolReplication Type Static - Static replication
- Vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- evpn
Instance IntegerNum - evpn instance number - Range:
1
-65535
- device String
- A device name from the provider configuration.
- vlan
Based BooleanAuto Route Target - Automatically set a route-target
- vlan
Based StringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- vlan
Based StringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- vlan
Based BooleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based BooleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based StringRd - ASN:nn or IP-address:nn
- vlan
Based BooleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based BooleanReplication Type Ingress - Ingress replication
- vlan
Based BooleanReplication Type Mp2mp - mp2mp replication
- vlan
Based BooleanReplication Type P2mp - p2mp replication
- vlan
Based BooleanReplication Type Static - Static replication
- vlan
Based StringRoute Target - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based StringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- evpn
Instance numberNum - evpn instance number - Range:
1
-65535
- device string
- A device name from the provider configuration.
- vlan
Based booleanAuto Route Target - Automatically set a route-target
- vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- vlan
Based stringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- vlan
Based booleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based booleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based stringRd - ASN:nn or IP-address:nn
- vlan
Based booleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based booleanReplication Type Ingress - Ingress replication
- vlan
Based booleanReplication Type Mp2mp - mp2mp replication
- vlan
Based booleanReplication Type P2mp - p2mp replication
- vlan
Based booleanReplication Type Static - Static replication
- vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- evpn_
instance_ intnum - evpn instance number - Range:
1
-65535
- device str
- A device name from the provider configuration.
- vlan_
based_ boolauto_ route_ target - Automatically set a route-target
- vlan_
based_ strdefault_ gateway_ advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- vlan_
based_ strencapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- vlan_
based_ boolip_ local_ learning_ disable - Disable IP local learning from dataplane
- vlan_
based_ boolip_ local_ learning_ enable - Enable IP local learning from dataplane
- vlan_
based_ strrd - ASN:nn or IP-address:nn
- vlan_
based_ boolre_ originate_ route_ type5 - Re-originate route-type 5
- vlan_
based_ boolreplication_ type_ ingress - Ingress replication
- vlan_
based_ boolreplication_ type_ mp2mp - mp2mp replication
- vlan_
based_ boolreplication_ type_ p2mp - p2mp replication
- vlan_
based_ boolreplication_ type_ static - Static replication
- vlan_
based_ strroute_ target - ASN:nn or IP-address:nn
- vlan_
based_ strroute_ target_ both - ASN:nn or IP-address:nn
- vlan_
based_ strroute_ target_ export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan_
based_ strroute_ target_ import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- evpn
Instance NumberNum - evpn instance number - Range:
1
-65535
- device String
- A device name from the provider configuration.
- vlan
Based BooleanAuto Route Target - Automatically set a route-target
- vlan
Based StringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- vlan
Based StringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- vlan
Based BooleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based BooleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based StringRd - ASN:nn or IP-address:nn
- vlan
Based BooleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based BooleanReplication Type Ingress - Ingress replication
- vlan
Based BooleanReplication Type Mp2mp - mp2mp replication
- vlan
Based BooleanReplication Type P2mp - p2mp replication
- vlan
Based BooleanReplication Type Static - Static replication
- vlan
Based StringRoute Target - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based StringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
Outputs
All input properties are implicitly available as output properties. Additionally, the EvpnInstance resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EvpnInstance Resource
Get an existing EvpnInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EvpnInstanceState, opts?: CustomResourceOptions): EvpnInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
evpn_instance_num: Optional[int] = None,
vlan_based_auto_route_target: Optional[bool] = None,
vlan_based_default_gateway_advertise: Optional[str] = None,
vlan_based_encapsulation: Optional[str] = None,
vlan_based_ip_local_learning_disable: Optional[bool] = None,
vlan_based_ip_local_learning_enable: Optional[bool] = None,
vlan_based_rd: Optional[str] = None,
vlan_based_re_originate_route_type5: Optional[bool] = None,
vlan_based_replication_type_ingress: Optional[bool] = None,
vlan_based_replication_type_mp2mp: Optional[bool] = None,
vlan_based_replication_type_p2mp: Optional[bool] = None,
vlan_based_replication_type_static: Optional[bool] = None,
vlan_based_route_target: Optional[str] = None,
vlan_based_route_target_both: Optional[str] = None,
vlan_based_route_target_export: Optional[str] = None,
vlan_based_route_target_import: Optional[str] = None) -> EvpnInstance
func GetEvpnInstance(ctx *Context, name string, id IDInput, state *EvpnInstanceState, opts ...ResourceOption) (*EvpnInstance, error)
public static EvpnInstance Get(string name, Input<string> id, EvpnInstanceState? state, CustomResourceOptions? opts = null)
public static EvpnInstance get(String name, Output<String> id, EvpnInstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Device string
- A device name from the provider configuration.
- Evpn
Instance intNum - evpn instance number - Range:
1
-65535
- Vlan
Based boolAuto Route Target - Automatically set a route-target
- Vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- Vlan
Based stringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- Vlan
Based boolIp Local Learning Disable - Disable IP local learning from dataplane
- Vlan
Based boolIp Local Learning Enable - Enable IP local learning from dataplane
- Vlan
Based stringRd - ASN:nn or IP-address:nn
- Vlan
Based boolRe Originate Route Type5 - Re-originate route-type 5
- Vlan
Based boolReplication Type Ingress - Ingress replication
- Vlan
Based boolReplication Type Mp2mp - mp2mp replication
- Vlan
Based boolReplication Type P2mp - p2mp replication
- Vlan
Based boolReplication Type Static - Static replication
- Vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Device string
- A device name from the provider configuration.
- Evpn
Instance intNum - evpn instance number - Range:
1
-65535
- Vlan
Based boolAuto Route Target - Automatically set a route-target
- Vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- Vlan
Based stringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- Vlan
Based boolIp Local Learning Disable - Disable IP local learning from dataplane
- Vlan
Based boolIp Local Learning Enable - Enable IP local learning from dataplane
- Vlan
Based stringRd - ASN:nn or IP-address:nn
- Vlan
Based boolRe Originate Route Type5 - Re-originate route-type 5
- Vlan
Based boolReplication Type Ingress - Ingress replication
- Vlan
Based boolReplication Type Mp2mp - mp2mp replication
- Vlan
Based boolReplication Type P2mp - p2mp replication
- Vlan
Based boolReplication Type Static - Static replication
- Vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- device String
- A device name from the provider configuration.
- evpn
Instance IntegerNum - evpn instance number - Range:
1
-65535
- vlan
Based BooleanAuto Route Target - Automatically set a route-target
- vlan
Based StringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- vlan
Based StringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- vlan
Based BooleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based BooleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based StringRd - ASN:nn or IP-address:nn
- vlan
Based BooleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based BooleanReplication Type Ingress - Ingress replication
- vlan
Based BooleanReplication Type Mp2mp - mp2mp replication
- vlan
Based BooleanReplication Type P2mp - p2mp replication
- vlan
Based BooleanReplication Type Static - Static replication
- vlan
Based StringRoute Target - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based StringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- device string
- A device name from the provider configuration.
- evpn
Instance numberNum - evpn instance number - Range:
1
-65535
- vlan
Based booleanAuto Route Target - Automatically set a route-target
- vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- vlan
Based stringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- vlan
Based booleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based booleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based stringRd - ASN:nn or IP-address:nn
- vlan
Based booleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based booleanReplication Type Ingress - Ingress replication
- vlan
Based booleanReplication Type Mp2mp - mp2mp replication
- vlan
Based booleanReplication Type P2mp - p2mp replication
- vlan
Based booleanReplication Type Static - Static replication
- vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- device str
- A device name from the provider configuration.
- evpn_
instance_ intnum - evpn instance number - Range:
1
-65535
- vlan_
based_ boolauto_ route_ target - Automatically set a route-target
- vlan_
based_ strdefault_ gateway_ advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- vlan_
based_ strencapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- vlan_
based_ boolip_ local_ learning_ disable - Disable IP local learning from dataplane
- vlan_
based_ boolip_ local_ learning_ enable - Enable IP local learning from dataplane
- vlan_
based_ strrd - ASN:nn or IP-address:nn
- vlan_
based_ boolre_ originate_ route_ type5 - Re-originate route-type 5
- vlan_
based_ boolreplication_ type_ ingress - Ingress replication
- vlan_
based_ boolreplication_ type_ mp2mp - mp2mp replication
- vlan_
based_ boolreplication_ type_ p2mp - p2mp replication
- vlan_
based_ boolreplication_ type_ static - Static replication
- vlan_
based_ strroute_ target - ASN:nn or IP-address:nn
- vlan_
based_ strroute_ target_ both - ASN:nn or IP-address:nn
- vlan_
based_ strroute_ target_ export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan_
based_ strroute_ target_ import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- device String
- A device name from the provider configuration.
- evpn
Instance NumberNum - evpn instance number - Range:
1
-65535
- vlan
Based BooleanAuto Route Target - Automatically set a route-target
- vlan
Based StringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes - Choices:
disable
,enable
- vlan
Based StringEncapsulation - Data encapsulation method - Choices:
mpls
,vxlan
- vlan
Based BooleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based BooleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based StringRd - ASN:nn or IP-address:nn
- vlan
Based BooleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based BooleanReplication Type Ingress - Ingress replication
- vlan
Based BooleanReplication Type Mp2mp - mp2mp replication
- vlan
Based BooleanReplication Type P2mp - p2mp replication
- vlan
Based BooleanReplication Type Static - Static replication
- vlan
Based StringRoute Target - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based StringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
Import
$ pulumi import iosxe:index/evpnInstance:EvpnInstance example "Cisco-IOS-XE-native:native/l2vpn/Cisco-IOS-XE-l2vpn:evpn_cont/evpn-instance/evpn/instance/instance=10"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.