nsxt.PolicyEvpnConfig
Explore with Pulumi AI
Create PolicyEvpnConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyEvpnConfig(name: string, args: PolicyEvpnConfigArgs, opts?: CustomResourceOptions);
@overload
def PolicyEvpnConfig(resource_name: str,
args: PolicyEvpnConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyEvpnConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
gateway_path: Optional[str] = None,
mode: Optional[str] = None,
description: Optional[str] = None,
evpn_tenant_path: Optional[str] = None,
policy_evpn_config_id: Optional[str] = None,
tags: Optional[Sequence[PolicyEvpnConfigTagArgs]] = None,
vni_pool_path: Optional[str] = None)
func NewPolicyEvpnConfig(ctx *Context, name string, args PolicyEvpnConfigArgs, opts ...ResourceOption) (*PolicyEvpnConfig, error)
public PolicyEvpnConfig(string name, PolicyEvpnConfigArgs args, CustomResourceOptions? opts = null)
public PolicyEvpnConfig(String name, PolicyEvpnConfigArgs args)
public PolicyEvpnConfig(String name, PolicyEvpnConfigArgs args, CustomResourceOptions options)
type: nsxt:PolicyEvpnConfig
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 PolicyEvpnConfigArgs
- 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 PolicyEvpnConfigArgs
- 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 PolicyEvpnConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyEvpnConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyEvpnConfigArgs
- 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 policyEvpnConfigResource = new Nsxt.PolicyEvpnConfig("policyEvpnConfigResource", new()
{
DisplayName = "string",
GatewayPath = "string",
Mode = "string",
Description = "string",
EvpnTenantPath = "string",
PolicyEvpnConfigId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyEvpnConfigTagArgs
{
Scope = "string",
Tag = "string",
},
},
VniPoolPath = "string",
});
example, err := nsxt.NewPolicyEvpnConfig(ctx, "policyEvpnConfigResource", &nsxt.PolicyEvpnConfigArgs{
DisplayName: pulumi.String("string"),
GatewayPath: pulumi.String("string"),
Mode: pulumi.String("string"),
Description: pulumi.String("string"),
EvpnTenantPath: pulumi.String("string"),
PolicyEvpnConfigId: pulumi.String("string"),
Tags: nsxt.PolicyEvpnConfigTagArray{
&nsxt.PolicyEvpnConfigTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
VniPoolPath: pulumi.String("string"),
})
var policyEvpnConfigResource = new PolicyEvpnConfig("policyEvpnConfigResource", PolicyEvpnConfigArgs.builder()
.displayName("string")
.gatewayPath("string")
.mode("string")
.description("string")
.evpnTenantPath("string")
.policyEvpnConfigId("string")
.tags(PolicyEvpnConfigTagArgs.builder()
.scope("string")
.tag("string")
.build())
.vniPoolPath("string")
.build());
policy_evpn_config_resource = nsxt.PolicyEvpnConfig("policyEvpnConfigResource",
display_name="string",
gateway_path="string",
mode="string",
description="string",
evpn_tenant_path="string",
policy_evpn_config_id="string",
tags=[{
"scope": "string",
"tag": "string",
}],
vni_pool_path="string")
const policyEvpnConfigResource = new nsxt.PolicyEvpnConfig("policyEvpnConfigResource", {
displayName: "string",
gatewayPath: "string",
mode: "string",
description: "string",
evpnTenantPath: "string",
policyEvpnConfigId: "string",
tags: [{
scope: "string",
tag: "string",
}],
vniPoolPath: "string",
});
type: nsxt:PolicyEvpnConfig
properties:
description: string
displayName: string
evpnTenantPath: string
gatewayPath: string
mode: string
policyEvpnConfigId: string
tags:
- scope: string
tag: string
vniPoolPath: string
PolicyEvpnConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PolicyEvpnConfig resource accepts the following input properties:
- Display
Name string - Display name for the resource.
- Gateway
Path string - Policy Path for Tier0 Gateway to configure EVPN on.
- Mode string
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - Description string
- Description for the resource.
- Evpn
Tenant stringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - Policy
Evpn stringConfig Id - ID of the resource.
- List<Policy
Evpn Config Tag> - A list of scope + tag pairs to associate with this resource.
- Vni
Pool stringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- Display
Name string - Display name for the resource.
- Gateway
Path string - Policy Path for Tier0 Gateway to configure EVPN on.
- Mode string
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - Description string
- Description for the resource.
- Evpn
Tenant stringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - Policy
Evpn stringConfig Id - ID of the resource.
- []Policy
Evpn Config Tag Args - A list of scope + tag pairs to associate with this resource.
- Vni
Pool stringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- display
Name String - Display name for the resource.
- gateway
Path String - Policy Path for Tier0 Gateway to configure EVPN on.
- mode String
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - description String
- Description for the resource.
- evpn
Tenant StringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - policy
Evpn StringConfig Id - ID of the resource.
- List<Policy
Evpn Config Tag> - A list of scope + tag pairs to associate with this resource.
- vni
Pool StringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- display
Name string - Display name for the resource.
- gateway
Path string - Policy Path for Tier0 Gateway to configure EVPN on.
- mode string
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - description string
- Description for the resource.
- evpn
Tenant stringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - policy
Evpn stringConfig Id - ID of the resource.
- Policy
Evpn Config Tag[] - A list of scope + tag pairs to associate with this resource.
- vni
Pool stringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- display_
name str - Display name for the resource.
- gateway_
path str - Policy Path for Tier0 Gateway to configure EVPN on.
- mode str
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - description str
- Description for the resource.
- evpn_
tenant_ strpath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - policy_
evpn_ strconfig_ id - ID of the resource.
- Sequence[Policy
Evpn Config Tag Args] - A list of scope + tag pairs to associate with this resource.
- vni_
pool_ strpath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- display
Name String - Display name for the resource.
- gateway
Path String - Policy Path for Tier0 Gateway to configure EVPN on.
- mode String
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - description String
- Description for the resource.
- evpn
Tenant StringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - policy
Evpn StringConfig Id - ID of the resource.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- vni
Pool StringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyEvpnConfig resource produces the following output properties:
Look up Existing PolicyEvpnConfig Resource
Get an existing PolicyEvpnConfig 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?: PolicyEvpnConfigState, opts?: CustomResourceOptions): PolicyEvpnConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
evpn_tenant_path: Optional[str] = None,
gateway_path: Optional[str] = None,
mode: Optional[str] = None,
path: Optional[str] = None,
policy_evpn_config_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[PolicyEvpnConfigTagArgs]] = None,
vni_pool_path: Optional[str] = None) -> PolicyEvpnConfig
func GetPolicyEvpnConfig(ctx *Context, name string, id IDInput, state *PolicyEvpnConfigState, opts ...ResourceOption) (*PolicyEvpnConfig, error)
public static PolicyEvpnConfig Get(string name, Input<string> id, PolicyEvpnConfigState? state, CustomResourceOptions? opts = null)
public static PolicyEvpnConfig get(String name, Output<String> id, PolicyEvpnConfigState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyEvpnConfig get: id: ${id}
- 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.
- Description string
- Description for the resource.
- Display
Name string - Display name for the resource.
- Evpn
Tenant stringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - Gateway
Path string - Policy Path for Tier0 Gateway to configure EVPN on.
- Mode string
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - Path string
- The NSX path of the policy resource.
- Policy
Evpn stringConfig Id - ID of the resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Evpn Config Tag> - A list of scope + tag pairs to associate with this resource.
- Vni
Pool stringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- Description string
- Description for the resource.
- Display
Name string - Display name for the resource.
- Evpn
Tenant stringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - Gateway
Path string - Policy Path for Tier0 Gateway to configure EVPN on.
- Mode string
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - Path string
- The NSX path of the policy resource.
- Policy
Evpn stringConfig Id - ID of the resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Policy
Evpn Config Tag Args - A list of scope + tag pairs to associate with this resource.
- Vni
Pool stringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- description String
- Description for the resource.
- display
Name String - Display name for the resource.
- evpn
Tenant StringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - gateway
Path String - Policy Path for Tier0 Gateway to configure EVPN on.
- mode String
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - path String
- The NSX path of the policy resource.
- policy
Evpn StringConfig Id - ID of the resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Evpn Config Tag> - A list of scope + tag pairs to associate with this resource.
- vni
Pool StringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- description string
- Description for the resource.
- display
Name string - Display name for the resource.
- evpn
Tenant stringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - gateway
Path string - Policy Path for Tier0 Gateway to configure EVPN on.
- mode string
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - path string
- The NSX path of the policy resource.
- policy
Evpn stringConfig Id - ID of the resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Policy
Evpn Config Tag[] - A list of scope + tag pairs to associate with this resource.
- vni
Pool stringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- description str
- Description for the resource.
- display_
name str - Display name for the resource.
- evpn_
tenant_ strpath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - gateway_
path str - Policy Path for Tier0 Gateway to configure EVPN on.
- mode str
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - path str
- The NSX path of the policy resource.
- policy_
evpn_ strconfig_ id - ID of the resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Policy
Evpn Config Tag Args] - A list of scope + tag pairs to associate with this resource.
- vni_
pool_ strpath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
- description String
- Description for the resource.
- display
Name String - Display name for the resource.
- evpn
Tenant StringPath - Policy path for EVPN tenant. Relevant for
ROUTE_SERVER
mode. - gateway
Path String - Policy Path for Tier0 Gateway to configure EVPN on.
- mode String
- EVPN Mode, one of
INLINE
orROUTE_SERVER
. InROUTE_SERVER
mode, edge nodes participate in the BGP EVPN control plane route exchanges only and do not participate in data forwarding. - path String
- The NSX path of the policy resource.
- policy
Evpn StringConfig Id - ID of the resource.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- vni
Pool StringPath - Path of VNI pool to use. This setting is only applicable (and required) with
INLINE
mode.
Supporting Types
PolicyEvpnConfigTag, PolicyEvpnConfigTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.