nsxt.PolicyTier0GatewayInterface
Explore with Pulumi AI
Create PolicyTier0GatewayInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyTier0GatewayInterface(name: string, args: PolicyTier0GatewayInterfaceArgs, opts?: CustomResourceOptions);
@overload
def PolicyTier0GatewayInterface(resource_name: str,
args: PolicyTier0GatewayInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyTier0GatewayInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
subnets: Optional[Sequence[str]] = None,
gateway_path: Optional[str] = None,
mtu: Optional[float] = None,
ospf: Optional[PolicyTier0GatewayInterfaceOspfArgs] = None,
enable_pim: Optional[bool] = None,
dhcp_relay_path: Optional[str] = None,
ipv6_ndra_profile_path: Optional[str] = None,
access_vlan_id: Optional[float] = None,
nsx_id: Optional[str] = None,
edge_node_path: Optional[str] = None,
policy_tier0_gateway_interface_id: Optional[str] = None,
segment_path: Optional[str] = None,
site_path: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Sequence[PolicyTier0GatewayInterfaceTagArgs]] = None,
type: Optional[str] = None,
urpf_mode: Optional[str] = None)
func NewPolicyTier0GatewayInterface(ctx *Context, name string, args PolicyTier0GatewayInterfaceArgs, opts ...ResourceOption) (*PolicyTier0GatewayInterface, error)
public PolicyTier0GatewayInterface(string name, PolicyTier0GatewayInterfaceArgs args, CustomResourceOptions? opts = null)
public PolicyTier0GatewayInterface(String name, PolicyTier0GatewayInterfaceArgs args)
public PolicyTier0GatewayInterface(String name, PolicyTier0GatewayInterfaceArgs args, CustomResourceOptions options)
type: nsxt:PolicyTier0GatewayInterface
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 PolicyTier0GatewayInterfaceArgs
- 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 PolicyTier0GatewayInterfaceArgs
- 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 PolicyTier0GatewayInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyTier0GatewayInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyTier0GatewayInterfaceArgs
- 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 policyTier0GatewayInterfaceResource = new Nsxt.PolicyTier0GatewayInterface("policyTier0GatewayInterfaceResource", new()
{
DisplayName = "string",
Subnets = new[]
{
"string",
},
GatewayPath = "string",
Mtu = 0,
Ospf = new Nsxt.Inputs.PolicyTier0GatewayInterfaceOspfArgs
{
AreaPath = "string",
BfdProfilePath = "string",
DeadInterval = 0,
EnableBfd = false,
Enabled = false,
HelloInterval = 0,
NetworkType = "string",
},
EnablePim = false,
DhcpRelayPath = "string",
Ipv6NdraProfilePath = "string",
AccessVlanId = 0,
NsxId = "string",
EdgeNodePath = "string",
PolicyTier0GatewayInterfaceId = "string",
SegmentPath = "string",
SitePath = "string",
Description = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyTier0GatewayInterfaceTagArgs
{
Scope = "string",
Tag = "string",
},
},
Type = "string",
UrpfMode = "string",
});
example, err := nsxt.NewPolicyTier0GatewayInterface(ctx, "policyTier0GatewayInterfaceResource", &nsxt.PolicyTier0GatewayInterfaceArgs{
DisplayName: pulumi.String("string"),
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
GatewayPath: pulumi.String("string"),
Mtu: pulumi.Float64(0),
Ospf: &nsxt.PolicyTier0GatewayInterfaceOspfArgs{
AreaPath: pulumi.String("string"),
BfdProfilePath: pulumi.String("string"),
DeadInterval: pulumi.Float64(0),
EnableBfd: pulumi.Bool(false),
Enabled: pulumi.Bool(false),
HelloInterval: pulumi.Float64(0),
NetworkType: pulumi.String("string"),
},
EnablePim: pulumi.Bool(false),
DhcpRelayPath: pulumi.String("string"),
Ipv6NdraProfilePath: pulumi.String("string"),
AccessVlanId: pulumi.Float64(0),
NsxId: pulumi.String("string"),
EdgeNodePath: pulumi.String("string"),
PolicyTier0GatewayInterfaceId: pulumi.String("string"),
SegmentPath: pulumi.String("string"),
SitePath: pulumi.String("string"),
Description: pulumi.String("string"),
Tags: nsxt.PolicyTier0GatewayInterfaceTagArray{
&nsxt.PolicyTier0GatewayInterfaceTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
Type: pulumi.String("string"),
UrpfMode: pulumi.String("string"),
})
var policyTier0GatewayInterfaceResource = new PolicyTier0GatewayInterface("policyTier0GatewayInterfaceResource", PolicyTier0GatewayInterfaceArgs.builder()
.displayName("string")
.subnets("string")
.gatewayPath("string")
.mtu(0)
.ospf(PolicyTier0GatewayInterfaceOspfArgs.builder()
.areaPath("string")
.bfdProfilePath("string")
.deadInterval(0)
.enableBfd(false)
.enabled(false)
.helloInterval(0)
.networkType("string")
.build())
.enablePim(false)
.dhcpRelayPath("string")
.ipv6NdraProfilePath("string")
.accessVlanId(0)
.nsxId("string")
.edgeNodePath("string")
.policyTier0GatewayInterfaceId("string")
.segmentPath("string")
.sitePath("string")
.description("string")
.tags(PolicyTier0GatewayInterfaceTagArgs.builder()
.scope("string")
.tag("string")
.build())
.type("string")
.urpfMode("string")
.build());
policy_tier0_gateway_interface_resource = nsxt.PolicyTier0GatewayInterface("policyTier0GatewayInterfaceResource",
display_name="string",
subnets=["string"],
gateway_path="string",
mtu=0,
ospf={
"area_path": "string",
"bfd_profile_path": "string",
"dead_interval": 0,
"enable_bfd": False,
"enabled": False,
"hello_interval": 0,
"network_type": "string",
},
enable_pim=False,
dhcp_relay_path="string",
ipv6_ndra_profile_path="string",
access_vlan_id=0,
nsx_id="string",
edge_node_path="string",
policy_tier0_gateway_interface_id="string",
segment_path="string",
site_path="string",
description="string",
tags=[{
"scope": "string",
"tag": "string",
}],
type="string",
urpf_mode="string")
const policyTier0GatewayInterfaceResource = new nsxt.PolicyTier0GatewayInterface("policyTier0GatewayInterfaceResource", {
displayName: "string",
subnets: ["string"],
gatewayPath: "string",
mtu: 0,
ospf: {
areaPath: "string",
bfdProfilePath: "string",
deadInterval: 0,
enableBfd: false,
enabled: false,
helloInterval: 0,
networkType: "string",
},
enablePim: false,
dhcpRelayPath: "string",
ipv6NdraProfilePath: "string",
accessVlanId: 0,
nsxId: "string",
edgeNodePath: "string",
policyTier0GatewayInterfaceId: "string",
segmentPath: "string",
sitePath: "string",
description: "string",
tags: [{
scope: "string",
tag: "string",
}],
type: "string",
urpfMode: "string",
});
type: nsxt:PolicyTier0GatewayInterface
properties:
accessVlanId: 0
description: string
dhcpRelayPath: string
displayName: string
edgeNodePath: string
enablePim: false
gatewayPath: string
ipv6NdraProfilePath: string
mtu: 0
nsxId: string
ospf:
areaPath: string
bfdProfilePath: string
deadInterval: 0
enableBfd: false
enabled: false
helloInterval: 0
networkType: string
policyTier0GatewayInterfaceId: string
segmentPath: string
sitePath: string
subnets:
- string
tags:
- scope: string
tag: string
type: string
urpfMode: string
PolicyTier0GatewayInterface 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 PolicyTier0GatewayInterface resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Gateway
Path string - Policy path for the Tier-0 Gateway.
- Subnets List<string>
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- Access
Vlan doubleId - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- Description string
- Description of the resource.
- Dhcp
Relay stringPath - DHCP relay path to be associated with this interface.
- Edge
Node stringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - Enable
Pim bool - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - Ipv6Ndra
Profile stringPath - IPv6 NDRA profile to be associated with this interface.
- Mtu double
- Maximum Transmission Unit for this interface.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Ospf
Policy
Tier0Gateway Interface Ospf - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - Policy
Tier0Gateway stringInterface Id - ID of the resource.
- Segment
Path string - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - Site
Path string - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - List<Policy
Tier0Gateway Interface Tag> - A list of scope + tag pairs to associate with this resource.
- Type string
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- Urpf
Mode string - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- Display
Name string - Display name of the resource.
- Gateway
Path string - Policy path for the Tier-0 Gateway.
- Subnets []string
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- Access
Vlan float64Id - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- Description string
- Description of the resource.
- Dhcp
Relay stringPath - DHCP relay path to be associated with this interface.
- Edge
Node stringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - Enable
Pim bool - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - Ipv6Ndra
Profile stringPath - IPv6 NDRA profile to be associated with this interface.
- Mtu float64
- Maximum Transmission Unit for this interface.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Ospf
Policy
Tier0Gateway Interface Ospf Args - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - Policy
Tier0Gateway stringInterface Id - ID of the resource.
- Segment
Path string - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - Site
Path string - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - []Policy
Tier0Gateway Interface Tag Args - A list of scope + tag pairs to associate with this resource.
- Type string
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- Urpf
Mode string - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- display
Name String - Display name of the resource.
- gateway
Path String - Policy path for the Tier-0 Gateway.
- subnets List<String>
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- access
Vlan DoubleId - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- description String
- Description of the resource.
- dhcp
Relay StringPath - DHCP relay path to be associated with this interface.
- edge
Node StringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - enable
Pim Boolean - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - ipv6Ndra
Profile StringPath - IPv6 NDRA profile to be associated with this interface.
- mtu Double
- Maximum Transmission Unit for this interface.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- ospf
Policy
Tier0Gateway Interface Ospf - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - policy
Tier0Gateway StringInterface Id - ID of the resource.
- segment
Path String - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - site
Path String - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - List<Policy
Tier0Gateway Interface Tag> - A list of scope + tag pairs to associate with this resource.
- type String
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- urpf
Mode String - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- display
Name string - Display name of the resource.
- gateway
Path string - Policy path for the Tier-0 Gateway.
- subnets string[]
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- access
Vlan numberId - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- description string
- Description of the resource.
- dhcp
Relay stringPath - DHCP relay path to be associated with this interface.
- edge
Node stringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - enable
Pim boolean - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - ipv6Ndra
Profile stringPath - IPv6 NDRA profile to be associated with this interface.
- mtu number
- Maximum Transmission Unit for this interface.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- ospf
Policy
Tier0Gateway Interface Ospf - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - policy
Tier0Gateway stringInterface Id - ID of the resource.
- segment
Path string - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - site
Path string - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - Policy
Tier0Gateway Interface Tag[] - A list of scope + tag pairs to associate with this resource.
- type string
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- urpf
Mode string - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- display_
name str - Display name of the resource.
- gateway_
path str - Policy path for the Tier-0 Gateway.
- subnets Sequence[str]
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- access_
vlan_ floatid - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- description str
- Description of the resource.
- dhcp_
relay_ strpath - DHCP relay path to be associated with this interface.
- edge_
node_ strpath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - enable_
pim bool - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - ipv6_
ndra_ strprofile_ path - IPv6 NDRA profile to be associated with this interface.
- mtu float
- Maximum Transmission Unit for this interface.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- ospf
Policy
Tier0Gateway Interface Ospf Args - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - policy_
tier0_ strgateway_ interface_ id - ID of the resource.
- segment_
path str - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - site_
path str - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - Sequence[Policy
Tier0Gateway Interface Tag Args] - A list of scope + tag pairs to associate with this resource.
- type str
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- urpf_
mode str - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- display
Name String - Display name of the resource.
- gateway
Path String - Policy path for the Tier-0 Gateway.
- subnets List<String>
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- access
Vlan NumberId - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- description String
- Description of the resource.
- dhcp
Relay StringPath - DHCP relay path to be associated with this interface.
- edge
Node StringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - enable
Pim Boolean - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - ipv6Ndra
Profile StringPath - IPv6 NDRA profile to be associated with this interface.
- mtu Number
- Maximum Transmission Unit for this interface.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- ospf Property Map
- OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - policy
Tier0Gateway StringInterface Id - ID of the resource.
- segment
Path String - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - site
Path String - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- type String
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- urpf
Mode String - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyTier0GatewayInterface resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Addresses List<string> - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - Locale
Service stringId - Id of associated Gateway Locale Service on NSX
- Path string
- The NSX path of the policy resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Addresses []string - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - Locale
Service stringId - Id of associated Gateway Locale Service on NSX
- Path string
- The NSX path of the policy resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Addresses List<String> - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - locale
Service StringId - Id of associated Gateway Locale Service on NSX
- path String
- The NSX path of the policy resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Addresses string[] - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - locale
Service stringId - Id of associated Gateway Locale Service on NSX
- path string
- The NSX path of the policy resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
addresses Sequence[str] - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - locale_
service_ strid - Id of associated Gateway Locale Service on NSX
- path str
- The NSX path of the policy resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Addresses List<String> - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - locale
Service StringId - Id of associated Gateway Locale Service on NSX
- path String
- The NSX path of the policy resource.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
Look up Existing PolicyTier0GatewayInterface Resource
Get an existing PolicyTier0GatewayInterface 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?: PolicyTier0GatewayInterfaceState, opts?: CustomResourceOptions): PolicyTier0GatewayInterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_vlan_id: Optional[float] = None,
description: Optional[str] = None,
dhcp_relay_path: Optional[str] = None,
display_name: Optional[str] = None,
edge_node_path: Optional[str] = None,
enable_pim: Optional[bool] = None,
gateway_path: Optional[str] = None,
ip_addresses: Optional[Sequence[str]] = None,
ipv6_ndra_profile_path: Optional[str] = None,
locale_service_id: Optional[str] = None,
mtu: Optional[float] = None,
nsx_id: Optional[str] = None,
ospf: Optional[PolicyTier0GatewayInterfaceOspfArgs] = None,
path: Optional[str] = None,
policy_tier0_gateway_interface_id: Optional[str] = None,
revision: Optional[float] = None,
segment_path: Optional[str] = None,
site_path: Optional[str] = None,
subnets: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyTier0GatewayInterfaceTagArgs]] = None,
type: Optional[str] = None,
urpf_mode: Optional[str] = None) -> PolicyTier0GatewayInterface
func GetPolicyTier0GatewayInterface(ctx *Context, name string, id IDInput, state *PolicyTier0GatewayInterfaceState, opts ...ResourceOption) (*PolicyTier0GatewayInterface, error)
public static PolicyTier0GatewayInterface Get(string name, Input<string> id, PolicyTier0GatewayInterfaceState? state, CustomResourceOptions? opts = null)
public static PolicyTier0GatewayInterface get(String name, Output<String> id, PolicyTier0GatewayInterfaceState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyTier0GatewayInterface 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.
- Access
Vlan doubleId - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- Description string
- Description of the resource.
- Dhcp
Relay stringPath - DHCP relay path to be associated with this interface.
- Display
Name string - Display name of the resource.
- Edge
Node stringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - Enable
Pim bool - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - Gateway
Path string - Policy path for the Tier-0 Gateway.
- Ip
Addresses List<string> - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - Ipv6Ndra
Profile stringPath - IPv6 NDRA profile to be associated with this interface.
- Locale
Service stringId - Id of associated Gateway Locale Service on NSX
- Mtu double
- Maximum Transmission Unit for this interface.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Ospf
Policy
Tier0Gateway Interface Ospf - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - Path string
- The NSX path of the policy resource.
- Policy
Tier0Gateway stringInterface 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.
- Segment
Path string - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - Site
Path string - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - Subnets List<string>
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- List<Policy
Tier0Gateway Interface Tag> - A list of scope + tag pairs to associate with this resource.
- Type string
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- Urpf
Mode string - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- Access
Vlan float64Id - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- Description string
- Description of the resource.
- Dhcp
Relay stringPath - DHCP relay path to be associated with this interface.
- Display
Name string - Display name of the resource.
- Edge
Node stringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - Enable
Pim bool - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - Gateway
Path string - Policy path for the Tier-0 Gateway.
- Ip
Addresses []string - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - Ipv6Ndra
Profile stringPath - IPv6 NDRA profile to be associated with this interface.
- Locale
Service stringId - Id of associated Gateway Locale Service on NSX
- Mtu float64
- Maximum Transmission Unit for this interface.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Ospf
Policy
Tier0Gateway Interface Ospf Args - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - Path string
- The NSX path of the policy resource.
- Policy
Tier0Gateway stringInterface 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.
- Segment
Path string - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - Site
Path string - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - Subnets []string
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- []Policy
Tier0Gateway Interface Tag Args - A list of scope + tag pairs to associate with this resource.
- Type string
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- Urpf
Mode string - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- access
Vlan DoubleId - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- description String
- Description of the resource.
- dhcp
Relay StringPath - DHCP relay path to be associated with this interface.
- display
Name String - Display name of the resource.
- edge
Node StringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - enable
Pim Boolean - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - gateway
Path String - Policy path for the Tier-0 Gateway.
- ip
Addresses List<String> - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - ipv6Ndra
Profile StringPath - IPv6 NDRA profile to be associated with this interface.
- locale
Service StringId - Id of associated Gateway Locale Service on NSX
- mtu Double
- Maximum Transmission Unit for this interface.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- ospf
Policy
Tier0Gateway Interface Ospf - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - path String
- The NSX path of the policy resource.
- policy
Tier0Gateway StringInterface 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.
- segment
Path String - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - site
Path String - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - subnets List<String>
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- List<Policy
Tier0Gateway Interface Tag> - A list of scope + tag pairs to associate with this resource.
- type String
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- urpf
Mode String - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- access
Vlan numberId - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- description string
- Description of the resource.
- dhcp
Relay stringPath - DHCP relay path to be associated with this interface.
- display
Name string - Display name of the resource.
- edge
Node stringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - enable
Pim boolean - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - gateway
Path string - Policy path for the Tier-0 Gateway.
- ip
Addresses string[] - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - ipv6Ndra
Profile stringPath - IPv6 NDRA profile to be associated with this interface.
- locale
Service stringId - Id of associated Gateway Locale Service on NSX
- mtu number
- Maximum Transmission Unit for this interface.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- ospf
Policy
Tier0Gateway Interface Ospf - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - path string
- The NSX path of the policy resource.
- policy
Tier0Gateway stringInterface 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.
- segment
Path string - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - site
Path string - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - subnets string[]
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- Policy
Tier0Gateway Interface Tag[] - A list of scope + tag pairs to associate with this resource.
- type string
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- urpf
Mode string - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- access_
vlan_ floatid - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- description str
- Description of the resource.
- dhcp_
relay_ strpath - DHCP relay path to be associated with this interface.
- display_
name str - Display name of the resource.
- edge_
node_ strpath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - enable_
pim bool - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - gateway_
path str - Policy path for the Tier-0 Gateway.
- ip_
addresses Sequence[str] - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - ipv6_
ndra_ strprofile_ path - IPv6 NDRA profile to be associated with this interface.
- locale_
service_ strid - Id of associated Gateway Locale Service on NSX
- mtu float
- Maximum Transmission Unit for this interface.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- ospf
Policy
Tier0Gateway Interface Ospf Args - OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - path str
- The NSX path of the policy resource.
- policy_
tier0_ strgateway_ interface_ 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.
- segment_
path str - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - site_
path str - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - subnets Sequence[str]
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- Sequence[Policy
Tier0Gateway Interface Tag Args] - A list of scope + tag pairs to associate with this resource.
- type str
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- urpf_
mode str - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
- access
Vlan NumberId - Access VLAN ID, relevant only for VRF interfaces. This attribute is supported with NSX 3.0.0 onwards.
- description String
- Description of the resource.
- dhcp
Relay StringPath - DHCP relay path to be associated with this interface.
- display
Name String - Display name of the resource.
- edge
Node StringPath - Path of edge node for this interface, relevant for interfaces of type
EXTERNAL
. - enable
Pim Boolean - Flag to enable Protocol Independent Multicast, relevant only for interfaces of type
EXTERNAL
. This attribute will always befalse
for other interface types. This attribute is supported with NSX 3.0.0 onwards, and only for local managers. - gateway
Path String - Policy path for the Tier-0 Gateway.
- ip
Addresses List<String> - list of Ip Addresses picked from each subnet in
subnets
field. This attribute can serve assource_addresses
field ofnsxt.PolicyBgpNeighbor
resource. - ipv6Ndra
Profile StringPath - IPv6 NDRA profile to be associated with this interface.
- locale
Service StringId - Id of associated Gateway Locale Service on NSX
- mtu Number
- Maximum Transmission Unit for this interface.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- ospf Property Map
- OSPF configuration block - supported for
EXTERNAL
interface only. Not supported on Global Manager. - path String
- The NSX path of the policy resource.
- policy
Tier0Gateway StringInterface 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.
- segment
Path String - Policy path for segment to be connected with this Tier1 Gateway. This argemnt is required for interfaces of type
SERVICE
andEXTERNAL
. - site
Path String - Path of the site the Tier0 edge cluster belongs to. This configuration is required for global manager only.
path
field of the existingnsxt.PolicySite
can be used here. - subnets List<String>
- list of Ip Addresses/Prefixes in CIDR format, to be associated with this interface.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
- type String
- Type of this interface, one of
SERVICE
,EXTERNAL
,LOOPBACK
. Default isEXTERNAL
- urpf
Mode String - Unicast Reverse Path Forwarding mode, one of
NONE
,STRICT
. Default isSTRICT
. This attribute is supported with NSX 3.0.0 onwards.
Supporting Types
PolicyTier0GatewayInterfaceOspf, PolicyTier0GatewayInterfaceOspfArgs
- Area
Path string - Policy path to OSPF area defined on this Tier0 Gateway.
- Bfd
Profile stringPath - Policy path to BFD profile. Relevant only if BFD is enabled.
- Dead
Interval double - Interval to wait before declaring OSPF peer as down, in seconds. Defaults to 40. Must be at least 3 times greater than
hello_interval
. - Enable
Bfd bool - Flag that controls whether OSPF will register for BFD event. Default is
false
. - Enabled bool
- Flag to enable/disable OSPF for this interface. Default is
true
. - Hello
Interval double - Interval between OSPF Hello Packets, in seconds. Defaults to 10.
- Network
Type string - OSPF network type, one of
BROADCAST
andP2P
. Default isBROADCAST
.
- Area
Path string - Policy path to OSPF area defined on this Tier0 Gateway.
- Bfd
Profile stringPath - Policy path to BFD profile. Relevant only if BFD is enabled.
- Dead
Interval float64 - Interval to wait before declaring OSPF peer as down, in seconds. Defaults to 40. Must be at least 3 times greater than
hello_interval
. - Enable
Bfd bool - Flag that controls whether OSPF will register for BFD event. Default is
false
. - Enabled bool
- Flag to enable/disable OSPF for this interface. Default is
true
. - Hello
Interval float64 - Interval between OSPF Hello Packets, in seconds. Defaults to 10.
- Network
Type string - OSPF network type, one of
BROADCAST
andP2P
. Default isBROADCAST
.
- area
Path String - Policy path to OSPF area defined on this Tier0 Gateway.
- bfd
Profile StringPath - Policy path to BFD profile. Relevant only if BFD is enabled.
- dead
Interval Double - Interval to wait before declaring OSPF peer as down, in seconds. Defaults to 40. Must be at least 3 times greater than
hello_interval
. - enable
Bfd Boolean - Flag that controls whether OSPF will register for BFD event. Default is
false
. - enabled Boolean
- Flag to enable/disable OSPF for this interface. Default is
true
. - hello
Interval Double - Interval between OSPF Hello Packets, in seconds. Defaults to 10.
- network
Type String - OSPF network type, one of
BROADCAST
andP2P
. Default isBROADCAST
.
- area
Path string - Policy path to OSPF area defined on this Tier0 Gateway.
- bfd
Profile stringPath - Policy path to BFD profile. Relevant only if BFD is enabled.
- dead
Interval number - Interval to wait before declaring OSPF peer as down, in seconds. Defaults to 40. Must be at least 3 times greater than
hello_interval
. - enable
Bfd boolean - Flag that controls whether OSPF will register for BFD event. Default is
false
. - enabled boolean
- Flag to enable/disable OSPF for this interface. Default is
true
. - hello
Interval number - Interval between OSPF Hello Packets, in seconds. Defaults to 10.
- network
Type string - OSPF network type, one of
BROADCAST
andP2P
. Default isBROADCAST
.
- area_
path str - Policy path to OSPF area defined on this Tier0 Gateway.
- bfd_
profile_ strpath - Policy path to BFD profile. Relevant only if BFD is enabled.
- dead_
interval float - Interval to wait before declaring OSPF peer as down, in seconds. Defaults to 40. Must be at least 3 times greater than
hello_interval
. - enable_
bfd bool - Flag that controls whether OSPF will register for BFD event. Default is
false
. - enabled bool
- Flag to enable/disable OSPF for this interface. Default is
true
. - hello_
interval float - Interval between OSPF Hello Packets, in seconds. Defaults to 10.
- network_
type str - OSPF network type, one of
BROADCAST
andP2P
. Default isBROADCAST
.
- area
Path String - Policy path to OSPF area defined on this Tier0 Gateway.
- bfd
Profile StringPath - Policy path to BFD profile. Relevant only if BFD is enabled.
- dead
Interval Number - Interval to wait before declaring OSPF peer as down, in seconds. Defaults to 40. Must be at least 3 times greater than
hello_interval
. - enable
Bfd Boolean - Flag that controls whether OSPF will register for BFD event. Default is
false
. - enabled Boolean
- Flag to enable/disable OSPF for this interface. Default is
true
. - hello
Interval Number - Interval between OSPF Hello Packets, in seconds. Defaults to 10.
- network
Type String - OSPF network type, one of
BROADCAST
andP2P
. Default isBROADCAST
.
PolicyTier0GatewayInterfaceTag, PolicyTier0GatewayInterfaceTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.