nsxt.PolicyTier1Gateway
Explore with Pulumi AI
Create PolicyTier1Gateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyTier1Gateway(name: string, args: PolicyTier1GatewayArgs, opts?: CustomResourceOptions);
@overload
def PolicyTier1Gateway(resource_name: str,
args: PolicyTier1GatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyTier1Gateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
ingress_qos_profile_path: Optional[str] = None,
enable_firewall: Optional[bool] = None,
dhcp_config_path: Optional[str] = None,
default_rule_logging: Optional[bool] = None,
edge_cluster_path: Optional[str] = None,
egress_qos_profile_path: Optional[str] = None,
context: Optional[PolicyTier1GatewayContextArgs] = None,
enable_standby_relocation: Optional[bool] = None,
failover_mode: Optional[str] = None,
force_whitelisting: Optional[bool] = None,
description: Optional[str] = None,
ha_mode: Optional[str] = None,
nsx_id: Optional[str] = None,
ipv6_dad_profile_path: Optional[str] = None,
ipv6_ndra_profile_path: Optional[str] = None,
locale_services: Optional[Sequence[PolicyTier1GatewayLocaleServiceArgs]] = None,
intersite_config: Optional[PolicyTier1GatewayIntersiteConfigArgs] = None,
policy_tier1_gateway_id: Optional[str] = None,
pool_allocation: Optional[str] = None,
route_advertisement_rules: Optional[Sequence[PolicyTier1GatewayRouteAdvertisementRuleArgs]] = None,
route_advertisement_types: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyTier1GatewayTagArgs]] = None,
tier0_path: Optional[str] = None,
type: Optional[str] = None)
func NewPolicyTier1Gateway(ctx *Context, name string, args PolicyTier1GatewayArgs, opts ...ResourceOption) (*PolicyTier1Gateway, error)
public PolicyTier1Gateway(string name, PolicyTier1GatewayArgs args, CustomResourceOptions? opts = null)
public PolicyTier1Gateway(String name, PolicyTier1GatewayArgs args)
public PolicyTier1Gateway(String name, PolicyTier1GatewayArgs args, CustomResourceOptions options)
type: nsxt:PolicyTier1Gateway
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 PolicyTier1GatewayArgs
- 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 PolicyTier1GatewayArgs
- 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 PolicyTier1GatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyTier1GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyTier1GatewayArgs
- 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 policyTier1GatewayResource = new Nsxt.PolicyTier1Gateway("policyTier1GatewayResource", new()
{
DisplayName = "string",
IngressQosProfilePath = "string",
EnableFirewall = false,
DhcpConfigPath = "string",
DefaultRuleLogging = false,
EdgeClusterPath = "string",
EgressQosProfilePath = "string",
Context = new Nsxt.Inputs.PolicyTier1GatewayContextArgs
{
ProjectId = "string",
},
EnableStandbyRelocation = false,
FailoverMode = "string",
Description = "string",
HaMode = "string",
NsxId = "string",
Ipv6DadProfilePath = "string",
Ipv6NdraProfilePath = "string",
LocaleServices = new[]
{
new Nsxt.Inputs.PolicyTier1GatewayLocaleServiceArgs
{
EdgeClusterPath = "string",
DisplayName = "string",
NsxId = "string",
Path = "string",
PreferredEdgePaths = new[]
{
"string",
},
Revision = 0,
},
},
IntersiteConfig = new Nsxt.Inputs.PolicyTier1GatewayIntersiteConfigArgs
{
FallbackSitePaths = new[]
{
"string",
},
PrimarySitePath = "string",
TransitSubnet = "string",
},
PolicyTier1GatewayId = "string",
PoolAllocation = "string",
RouteAdvertisementRules = new[]
{
new Nsxt.Inputs.PolicyTier1GatewayRouteAdvertisementRuleArgs
{
Name = "string",
Subnets = new[]
{
"string",
},
Action = "string",
PrefixOperator = "string",
RouteAdvertisementTypes = new[]
{
"string",
},
},
},
RouteAdvertisementTypes = new[]
{
"string",
},
Tags = new[]
{
new Nsxt.Inputs.PolicyTier1GatewayTagArgs
{
Scope = "string",
Tag = "string",
},
},
Tier0Path = "string",
Type = "string",
});
example, err := nsxt.NewPolicyTier1Gateway(ctx, "policyTier1GatewayResource", &nsxt.PolicyTier1GatewayArgs{
DisplayName: pulumi.String("string"),
IngressQosProfilePath: pulumi.String("string"),
EnableFirewall: pulumi.Bool(false),
DhcpConfigPath: pulumi.String("string"),
DefaultRuleLogging: pulumi.Bool(false),
EdgeClusterPath: pulumi.String("string"),
EgressQosProfilePath: pulumi.String("string"),
Context: &nsxt.PolicyTier1GatewayContextArgs{
ProjectId: pulumi.String("string"),
},
EnableStandbyRelocation: pulumi.Bool(false),
FailoverMode: pulumi.String("string"),
Description: pulumi.String("string"),
HaMode: pulumi.String("string"),
NsxId: pulumi.String("string"),
Ipv6DadProfilePath: pulumi.String("string"),
Ipv6NdraProfilePath: pulumi.String("string"),
LocaleServices: nsxt.PolicyTier1GatewayLocaleServiceArray{
&nsxt.PolicyTier1GatewayLocaleServiceArgs{
EdgeClusterPath: pulumi.String("string"),
DisplayName: pulumi.String("string"),
NsxId: pulumi.String("string"),
Path: pulumi.String("string"),
PreferredEdgePaths: pulumi.StringArray{
pulumi.String("string"),
},
Revision: pulumi.Float64(0),
},
},
IntersiteConfig: &nsxt.PolicyTier1GatewayIntersiteConfigArgs{
FallbackSitePaths: pulumi.StringArray{
pulumi.String("string"),
},
PrimarySitePath: pulumi.String("string"),
TransitSubnet: pulumi.String("string"),
},
PolicyTier1GatewayId: pulumi.String("string"),
PoolAllocation: pulumi.String("string"),
RouteAdvertisementRules: nsxt.PolicyTier1GatewayRouteAdvertisementRuleArray{
&nsxt.PolicyTier1GatewayRouteAdvertisementRuleArgs{
Name: pulumi.String("string"),
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
Action: pulumi.String("string"),
PrefixOperator: pulumi.String("string"),
RouteAdvertisementTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
RouteAdvertisementTypes: pulumi.StringArray{
pulumi.String("string"),
},
Tags: nsxt.PolicyTier1GatewayTagArray{
&nsxt.PolicyTier1GatewayTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
Tier0Path: pulumi.String("string"),
Type: pulumi.String("string"),
})
var policyTier1GatewayResource = new PolicyTier1Gateway("policyTier1GatewayResource", PolicyTier1GatewayArgs.builder()
.displayName("string")
.ingressQosProfilePath("string")
.enableFirewall(false)
.dhcpConfigPath("string")
.defaultRuleLogging(false)
.edgeClusterPath("string")
.egressQosProfilePath("string")
.context(PolicyTier1GatewayContextArgs.builder()
.projectId("string")
.build())
.enableStandbyRelocation(false)
.failoverMode("string")
.description("string")
.haMode("string")
.nsxId("string")
.ipv6DadProfilePath("string")
.ipv6NdraProfilePath("string")
.localeServices(PolicyTier1GatewayLocaleServiceArgs.builder()
.edgeClusterPath("string")
.displayName("string")
.nsxId("string")
.path("string")
.preferredEdgePaths("string")
.revision(0)
.build())
.intersiteConfig(PolicyTier1GatewayIntersiteConfigArgs.builder()
.fallbackSitePaths("string")
.primarySitePath("string")
.transitSubnet("string")
.build())
.policyTier1GatewayId("string")
.poolAllocation("string")
.routeAdvertisementRules(PolicyTier1GatewayRouteAdvertisementRuleArgs.builder()
.name("string")
.subnets("string")
.action("string")
.prefixOperator("string")
.routeAdvertisementTypes("string")
.build())
.routeAdvertisementTypes("string")
.tags(PolicyTier1GatewayTagArgs.builder()
.scope("string")
.tag("string")
.build())
.tier0Path("string")
.type("string")
.build());
policy_tier1_gateway_resource = nsxt.PolicyTier1Gateway("policyTier1GatewayResource",
display_name="string",
ingress_qos_profile_path="string",
enable_firewall=False,
dhcp_config_path="string",
default_rule_logging=False,
edge_cluster_path="string",
egress_qos_profile_path="string",
context={
"project_id": "string",
},
enable_standby_relocation=False,
failover_mode="string",
description="string",
ha_mode="string",
nsx_id="string",
ipv6_dad_profile_path="string",
ipv6_ndra_profile_path="string",
locale_services=[{
"edge_cluster_path": "string",
"display_name": "string",
"nsx_id": "string",
"path": "string",
"preferred_edge_paths": ["string"],
"revision": 0,
}],
intersite_config={
"fallback_site_paths": ["string"],
"primary_site_path": "string",
"transit_subnet": "string",
},
policy_tier1_gateway_id="string",
pool_allocation="string",
route_advertisement_rules=[{
"name": "string",
"subnets": ["string"],
"action": "string",
"prefix_operator": "string",
"route_advertisement_types": ["string"],
}],
route_advertisement_types=["string"],
tags=[{
"scope": "string",
"tag": "string",
}],
tier0_path="string",
type="string")
const policyTier1GatewayResource = new nsxt.PolicyTier1Gateway("policyTier1GatewayResource", {
displayName: "string",
ingressQosProfilePath: "string",
enableFirewall: false,
dhcpConfigPath: "string",
defaultRuleLogging: false,
edgeClusterPath: "string",
egressQosProfilePath: "string",
context: {
projectId: "string",
},
enableStandbyRelocation: false,
failoverMode: "string",
description: "string",
haMode: "string",
nsxId: "string",
ipv6DadProfilePath: "string",
ipv6NdraProfilePath: "string",
localeServices: [{
edgeClusterPath: "string",
displayName: "string",
nsxId: "string",
path: "string",
preferredEdgePaths: ["string"],
revision: 0,
}],
intersiteConfig: {
fallbackSitePaths: ["string"],
primarySitePath: "string",
transitSubnet: "string",
},
policyTier1GatewayId: "string",
poolAllocation: "string",
routeAdvertisementRules: [{
name: "string",
subnets: ["string"],
action: "string",
prefixOperator: "string",
routeAdvertisementTypes: ["string"],
}],
routeAdvertisementTypes: ["string"],
tags: [{
scope: "string",
tag: "string",
}],
tier0Path: "string",
type: "string",
});
type: nsxt:PolicyTier1Gateway
properties:
context:
projectId: string
defaultRuleLogging: false
description: string
dhcpConfigPath: string
displayName: string
edgeClusterPath: string
egressQosProfilePath: string
enableFirewall: false
enableStandbyRelocation: false
failoverMode: string
haMode: string
ingressQosProfilePath: string
intersiteConfig:
fallbackSitePaths:
- string
primarySitePath: string
transitSubnet: string
ipv6DadProfilePath: string
ipv6NdraProfilePath: string
localeServices:
- displayName: string
edgeClusterPath: string
nsxId: string
path: string
preferredEdgePaths:
- string
revision: 0
nsxId: string
policyTier1GatewayId: string
poolAllocation: string
routeAdvertisementRules:
- action: string
name: string
prefixOperator: string
routeAdvertisementTypes:
- string
subnets:
- string
routeAdvertisementTypes:
- string
tags:
- scope: string
tag: string
tier0Path: string
type: string
PolicyTier1Gateway 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 PolicyTier1Gateway resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Context
Policy
Tier1Gateway Context - The context which the object belongs to
- Default
Rule boolLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- Description string
- Description of the resource.
- Dhcp
Config stringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- Edge
Cluster stringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - Egress
Qos stringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- Enable
Firewall bool - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- Enable
Standby boolRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- Failover
Mode string - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- Force
Whitelisting bool - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - Ha
Mode string - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - Ingress
Qos stringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- Intersite
Config PolicyTier1Gateway Intersite Config - This clause is relevant for Global Manager only.
- Ipv6Dad
Profile stringPath - Policy path to IPv6 DAD profile.
- Ipv6Ndra
Profile stringPath - Policy path to IPv6 NDRA profile.
- Locale
Services List<PolicyTier1Gateway Locale Service> - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Policy
Tier1Gateway stringId - ID of the Tier-1 gateway.
- Pool
Allocation string - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - Route
Advertisement List<PolicyRules Tier1Gateway Route Advertisement Rule> - List of rules for routes advertisement:
- Route
Advertisement List<string>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - List<Policy
Tier1Gateway Tag> - A list of scope + tag pairs to associate with this Tier-1 gateway.
- Tier0Path string
- The path of the connected Tier0.
- Type string
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- Display
Name string - Display name of the resource.
- Context
Policy
Tier1Gateway Context Args - The context which the object belongs to
- Default
Rule boolLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- Description string
- Description of the resource.
- Dhcp
Config stringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- Edge
Cluster stringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - Egress
Qos stringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- Enable
Firewall bool - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- Enable
Standby boolRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- Failover
Mode string - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- Force
Whitelisting bool - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - Ha
Mode string - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - Ingress
Qos stringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- Intersite
Config PolicyTier1Gateway Intersite Config Args - This clause is relevant for Global Manager only.
- Ipv6Dad
Profile stringPath - Policy path to IPv6 DAD profile.
- Ipv6Ndra
Profile stringPath - Policy path to IPv6 NDRA profile.
- Locale
Services []PolicyTier1Gateway Locale Service Args - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Policy
Tier1Gateway stringId - ID of the Tier-1 gateway.
- Pool
Allocation string - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - Route
Advertisement []PolicyRules Tier1Gateway Route Advertisement Rule Args - List of rules for routes advertisement:
- Route
Advertisement []stringTypes - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - []Policy
Tier1Gateway Tag Args - A list of scope + tag pairs to associate with this Tier-1 gateway.
- Tier0Path string
- The path of the connected Tier0.
- Type string
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- display
Name String - Display name of the resource.
- context
Policy
Tier1Gateway Context - The context which the object belongs to
- default
Rule BooleanLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- description String
- Description of the resource.
- dhcp
Config StringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- edge
Cluster StringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - egress
Qos StringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- enable
Firewall Boolean - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- enable
Standby BooleanRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- failover
Mode String - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- force
Whitelisting Boolean - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - ha
Mode String - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - ingress
Qos StringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- intersite
Config PolicyTier1Gateway Intersite Config - This clause is relevant for Global Manager only.
- ipv6Dad
Profile StringPath - Policy path to IPv6 DAD profile.
- ipv6Ndra
Profile StringPath - Policy path to IPv6 NDRA profile.
- locale
Services List<PolicyTier1Gateway Locale Service> - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- policy
Tier1Gateway StringId - ID of the Tier-1 gateway.
- pool
Allocation String - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - route
Advertisement List<PolicyRules Tier1Gateway Route Advertisement Rule> - List of rules for routes advertisement:
- route
Advertisement List<String>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - List<Policy
Tier1Gateway Tag> - A list of scope + tag pairs to associate with this Tier-1 gateway.
- tier0Path String
- The path of the connected Tier0.
- type String
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- display
Name string - Display name of the resource.
- context
Policy
Tier1Gateway Context - The context which the object belongs to
- default
Rule booleanLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- description string
- Description of the resource.
- dhcp
Config stringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- edge
Cluster stringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - egress
Qos stringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- enable
Firewall boolean - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- enable
Standby booleanRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- failover
Mode string - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- force
Whitelisting boolean - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - ha
Mode string - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - ingress
Qos stringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- intersite
Config PolicyTier1Gateway Intersite Config - This clause is relevant for Global Manager only.
- ipv6Dad
Profile stringPath - Policy path to IPv6 DAD profile.
- ipv6Ndra
Profile stringPath - Policy path to IPv6 NDRA profile.
- locale
Services PolicyTier1Gateway Locale Service[] - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- policy
Tier1Gateway stringId - ID of the Tier-1 gateway.
- pool
Allocation string - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - route
Advertisement PolicyRules Tier1Gateway Route Advertisement Rule[] - List of rules for routes advertisement:
- route
Advertisement string[]Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - Policy
Tier1Gateway Tag[] - A list of scope + tag pairs to associate with this Tier-1 gateway.
- tier0Path string
- The path of the connected Tier0.
- type string
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- display_
name str - Display name of the resource.
- context
Policy
Tier1Gateway Context Args - The context which the object belongs to
- default_
rule_ boollogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- description str
- Description of the resource.
- dhcp_
config_ strpath - Policy path to DHCP server or relay configuration to use for this gateway.
- edge_
cluster_ strpath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - egress_
qos_ strprofile_ path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- enable_
firewall bool - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- enable_
standby_ boolrelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- failover_
mode str - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- force_
whitelisting bool - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - ha_
mode str - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - ingress_
qos_ strprofile_ path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- intersite_
config PolicyTier1Gateway Intersite Config Args - This clause is relevant for Global Manager only.
- ipv6_
dad_ strprofile_ path - Policy path to IPv6 DAD profile.
- ipv6_
ndra_ strprofile_ path - Policy path to IPv6 NDRA profile.
- locale_
services Sequence[PolicyTier1Gateway Locale Service Args] - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- policy_
tier1_ strgateway_ id - ID of the Tier-1 gateway.
- pool_
allocation str - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - route_
advertisement_ Sequence[Policyrules Tier1Gateway Route Advertisement Rule Args] - List of rules for routes advertisement:
- route_
advertisement_ Sequence[str]types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - Sequence[Policy
Tier1Gateway Tag Args] - A list of scope + tag pairs to associate with this Tier-1 gateway.
- tier0_
path str - The path of the connected Tier0.
- type str
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- display
Name String - Display name of the resource.
- context Property Map
- The context which the object belongs to
- default
Rule BooleanLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- description String
- Description of the resource.
- dhcp
Config StringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- edge
Cluster StringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - egress
Qos StringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- enable
Firewall Boolean - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- enable
Standby BooleanRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- failover
Mode String - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- force
Whitelisting Boolean - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - ha
Mode String - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - ingress
Qos StringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- intersite
Config Property Map - This clause is relevant for Global Manager only.
- ipv6Dad
Profile StringPath - Policy path to IPv6 DAD profile.
- ipv6Ndra
Profile StringPath - Policy path to IPv6 NDRA profile.
- locale
Services List<Property Map> - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- policy
Tier1Gateway StringId - ID of the Tier-1 gateway.
- pool
Allocation String - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - route
Advertisement List<Property Map>Rules - List of rules for routes advertisement:
- route
Advertisement List<String>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - List<Property Map>
- A list of scope + tag pairs to associate with this Tier-1 gateway.
- tier0Path String
- The path of the connected Tier0.
- type String
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyTier1Gateway resource produces the following output properties:
Look up Existing PolicyTier1Gateway Resource
Get an existing PolicyTier1Gateway 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?: PolicyTier1GatewayState, opts?: CustomResourceOptions): PolicyTier1Gateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
context: Optional[PolicyTier1GatewayContextArgs] = None,
default_rule_logging: Optional[bool] = None,
description: Optional[str] = None,
dhcp_config_path: Optional[str] = None,
display_name: Optional[str] = None,
edge_cluster_path: Optional[str] = None,
egress_qos_profile_path: Optional[str] = None,
enable_firewall: Optional[bool] = None,
enable_standby_relocation: Optional[bool] = None,
failover_mode: Optional[str] = None,
force_whitelisting: Optional[bool] = None,
ha_mode: Optional[str] = None,
ingress_qos_profile_path: Optional[str] = None,
intersite_config: Optional[PolicyTier1GatewayIntersiteConfigArgs] = None,
ipv6_dad_profile_path: Optional[str] = None,
ipv6_ndra_profile_path: Optional[str] = None,
locale_services: Optional[Sequence[PolicyTier1GatewayLocaleServiceArgs]] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_tier1_gateway_id: Optional[str] = None,
pool_allocation: Optional[str] = None,
revision: Optional[float] = None,
route_advertisement_rules: Optional[Sequence[PolicyTier1GatewayRouteAdvertisementRuleArgs]] = None,
route_advertisement_types: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyTier1GatewayTagArgs]] = None,
tier0_path: Optional[str] = None,
type: Optional[str] = None) -> PolicyTier1Gateway
func GetPolicyTier1Gateway(ctx *Context, name string, id IDInput, state *PolicyTier1GatewayState, opts ...ResourceOption) (*PolicyTier1Gateway, error)
public static PolicyTier1Gateway Get(string name, Input<string> id, PolicyTier1GatewayState? state, CustomResourceOptions? opts = null)
public static PolicyTier1Gateway get(String name, Output<String> id, PolicyTier1GatewayState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyTier1Gateway 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.
- Context
Policy
Tier1Gateway Context - The context which the object belongs to
- Default
Rule boolLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- Description string
- Description of the resource.
- Dhcp
Config stringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- Display
Name string - Display name of the resource.
- Edge
Cluster stringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - Egress
Qos stringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- Enable
Firewall bool - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- Enable
Standby boolRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- Failover
Mode string - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- Force
Whitelisting bool - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - Ha
Mode string - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - Ingress
Qos stringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- Intersite
Config PolicyTier1Gateway Intersite Config - This clause is relevant for Global Manager only.
- Ipv6Dad
Profile stringPath - Policy path to IPv6 DAD profile.
- Ipv6Ndra
Profile stringPath - Policy path to IPv6 NDRA profile.
- Locale
Services List<PolicyTier1Gateway Locale Service> - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Path string
- The NSX path of the policy resource.
- Policy
Tier1Gateway stringId - ID of the Tier-1 gateway.
- Pool
Allocation string - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Route
Advertisement List<PolicyRules Tier1Gateway Route Advertisement Rule> - List of rules for routes advertisement:
- Route
Advertisement List<string>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - List<Policy
Tier1Gateway Tag> - A list of scope + tag pairs to associate with this Tier-1 gateway.
- Tier0Path string
- The path of the connected Tier0.
- Type string
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- Context
Policy
Tier1Gateway Context Args - The context which the object belongs to
- Default
Rule boolLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- Description string
- Description of the resource.
- Dhcp
Config stringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- Display
Name string - Display name of the resource.
- Edge
Cluster stringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - Egress
Qos stringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- Enable
Firewall bool - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- Enable
Standby boolRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- Failover
Mode string - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- Force
Whitelisting bool - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - Ha
Mode string - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - Ingress
Qos stringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- Intersite
Config PolicyTier1Gateway Intersite Config Args - This clause is relevant for Global Manager only.
- Ipv6Dad
Profile stringPath - Policy path to IPv6 DAD profile.
- Ipv6Ndra
Profile stringPath - Policy path to IPv6 NDRA profile.
- Locale
Services []PolicyTier1Gateway Locale Service Args - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- Path string
- The NSX path of the policy resource.
- Policy
Tier1Gateway stringId - ID of the Tier-1 gateway.
- Pool
Allocation string - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Route
Advertisement []PolicyRules Tier1Gateway Route Advertisement Rule Args - List of rules for routes advertisement:
- Route
Advertisement []stringTypes - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - []Policy
Tier1Gateway Tag Args - A list of scope + tag pairs to associate with this Tier-1 gateway.
- Tier0Path string
- The path of the connected Tier0.
- Type string
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- context
Policy
Tier1Gateway Context - The context which the object belongs to
- default
Rule BooleanLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- description String
- Description of the resource.
- dhcp
Config StringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- display
Name String - Display name of the resource.
- edge
Cluster StringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - egress
Qos StringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- enable
Firewall Boolean - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- enable
Standby BooleanRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- failover
Mode String - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- force
Whitelisting Boolean - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - ha
Mode String - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - ingress
Qos StringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- intersite
Config PolicyTier1Gateway Intersite Config - This clause is relevant for Global Manager only.
- ipv6Dad
Profile StringPath - Policy path to IPv6 DAD profile.
- ipv6Ndra
Profile StringPath - Policy path to IPv6 NDRA profile.
- locale
Services List<PolicyTier1Gateway Locale Service> - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- path String
- The NSX path of the policy resource.
- policy
Tier1Gateway StringId - ID of the Tier-1 gateway.
- pool
Allocation String - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- route
Advertisement List<PolicyRules Tier1Gateway Route Advertisement Rule> - List of rules for routes advertisement:
- route
Advertisement List<String>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - List<Policy
Tier1Gateway Tag> - A list of scope + tag pairs to associate with this Tier-1 gateway.
- tier0Path String
- The path of the connected Tier0.
- type String
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- context
Policy
Tier1Gateway Context - The context which the object belongs to
- default
Rule booleanLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- description string
- Description of the resource.
- dhcp
Config stringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- display
Name string - Display name of the resource.
- edge
Cluster stringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - egress
Qos stringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- enable
Firewall boolean - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- enable
Standby booleanRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- failover
Mode string - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- force
Whitelisting boolean - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - ha
Mode string - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - ingress
Qos stringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- intersite
Config PolicyTier1Gateway Intersite Config - This clause is relevant for Global Manager only.
- ipv6Dad
Profile stringPath - Policy path to IPv6 DAD profile.
- ipv6Ndra
Profile stringPath - Policy path to IPv6 NDRA profile.
- locale
Services PolicyTier1Gateway Locale Service[] - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- path string
- The NSX path of the policy resource.
- policy
Tier1Gateway stringId - ID of the Tier-1 gateway.
- pool
Allocation string - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- route
Advertisement PolicyRules Tier1Gateway Route Advertisement Rule[] - List of rules for routes advertisement:
- route
Advertisement string[]Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - Policy
Tier1Gateway Tag[] - A list of scope + tag pairs to associate with this Tier-1 gateway.
- tier0Path string
- The path of the connected Tier0.
- type string
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- context
Policy
Tier1Gateway Context Args - The context which the object belongs to
- default_
rule_ boollogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- description str
- Description of the resource.
- dhcp_
config_ strpath - Policy path to DHCP server or relay configuration to use for this gateway.
- display_
name str - Display name of the resource.
- edge_
cluster_ strpath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - egress_
qos_ strprofile_ path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- enable_
firewall bool - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- enable_
standby_ boolrelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- failover_
mode str - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- force_
whitelisting bool - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - ha_
mode str - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - ingress_
qos_ strprofile_ path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- intersite_
config PolicyTier1Gateway Intersite Config Args - This clause is relevant for Global Manager only.
- ipv6_
dad_ strprofile_ path - Policy path to IPv6 DAD profile.
- ipv6_
ndra_ strprofile_ path - Policy path to IPv6 NDRA profile.
- locale_
services Sequence[PolicyTier1Gateway Locale Service Args] - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- path str
- The NSX path of the policy resource.
- policy_
tier1_ strgateway_ id - ID of the Tier-1 gateway.
- pool_
allocation str - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- route_
advertisement_ Sequence[Policyrules Tier1Gateway Route Advertisement Rule Args] - List of rules for routes advertisement:
- route_
advertisement_ Sequence[str]types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - Sequence[Policy
Tier1Gateway Tag Args] - A list of scope + tag pairs to associate with this Tier-1 gateway.
- tier0_
path str - The path of the connected Tier0.
- type str
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
- context Property Map
- The context which the object belongs to
- default
Rule BooleanLogging - Boolean flag indicating if the default rule logging will be enabled or not. The default value is false.
- description String
- Description of the resource.
- dhcp
Config StringPath - Policy path to DHCP server or relay configuration to use for this gateway.
- display
Name String - Display name of the resource.
- edge
Cluster StringPath - The path of the edge cluster where the Tier-1 is placed.For advanced configuration, use
locale_service
clause instead. - egress
Qos StringProfile Path - QoS Profile path for egress traffic on link connected to Tier0 gateway.
- enable
Firewall Boolean - Boolean flag indicating if the edge firewall will be enabled or not. The default value is true.
- enable
Standby BooleanRelocation - Boolean flag indicating if the standby relocation will be enabled or not. The default value is false.
- failover
Mode String - This failover mode determines, whether the preferred service router instance for given logical router will preempt the peer. Accepted values are PREEMPTIVE/NON_PREEMPTIVE.
- force
Whitelisting Boolean - Boolean flag indicating if white-listing will be forced or not. The default value is false. This argument is deprecated and will be removed. Please use
nsxt.PolicyPredefinedGatewayPolicy
resource to control default action. - ha
Mode String - High-availability Mode for Tier-1. Valid values are
ACTIVE_ACTIVE
,ACTIVE_STANDBY
andNONE
.ACTIVE_ACTIVE
is supported with NSX version 4.0.0 and above.NONE
mode should be used for Distributed Only, e.g when a gateway is created and has no services. - ingress
Qos StringProfile Path - QoS Profile path for ingress traffic on link connected to Tier0 gateway.
- intersite
Config Property Map - This clause is relevant for Global Manager only.
- ipv6Dad
Profile StringPath - Policy path to IPv6 DAD profile.
- ipv6Ndra
Profile StringPath - Policy path to IPv6 NDRA profile.
- locale
Services List<Property Map> - This argument is required on NSX Global Manager. Multiple locale services can be specified for multiple locations.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the policy resource.
- path String
- The NSX path of the policy resource.
- policy
Tier1Gateway StringId - ID of the Tier-1 gateway.
- pool
Allocation String - Size of edge node allocation at for routing and load balancer service to meet performance and scalability requirements, one of
ROUTING
,LB_SMALL
,LB_MEDIUM
,LB_LARGE
,LB_XLARGE
. Default isROUTING
. Changing this attribute would force new resource. - revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- route
Advertisement List<Property Map>Rules - List of rules for routes advertisement:
- route
Advertisement List<String>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration. - List<Property Map>
- A list of scope + tag pairs to associate with this Tier-1 gateway.
- tier0Path String
- The path of the connected Tier0.
- type String
- This setting is only applicable to VMC and it helps auto-configure router advertisements for the gateway. Valid values are
ROUTED
,NATTED
andISOLATED
. ForROUTED
andNATTED
,tier0_path
should be specified in configuration.
Supporting Types
PolicyTier1GatewayContext, PolicyTier1GatewayContextArgs
- Project
Id string - The ID of the project which the object belongs to
- Project
Id string - The ID of the project which the object belongs to
- project
Id String - The ID of the project which the object belongs to
- project
Id string - The ID of the project which the object belongs to
- project_
id str - The ID of the project which the object belongs to
- project
Id String - The ID of the project which the object belongs to
PolicyTier1GatewayIntersiteConfig, PolicyTier1GatewayIntersiteConfigArgs
- Fallback
Site List<string>Paths - Fallback sites to be used as new primary site on current primary site failure
- Primary
Site stringPath - Primary egress site for gateway.
- Transit
Subnet string - IPv4 subnet for inter-site transit segment connecting service routers across sites for stretched gateway. For IPv6 link local subnet is auto configured.
- Fallback
Site []stringPaths - Fallback sites to be used as new primary site on current primary site failure
- Primary
Site stringPath - Primary egress site for gateway.
- Transit
Subnet string - IPv4 subnet for inter-site transit segment connecting service routers across sites for stretched gateway. For IPv6 link local subnet is auto configured.
- fallback
Site List<String>Paths - Fallback sites to be used as new primary site on current primary site failure
- primary
Site StringPath - Primary egress site for gateway.
- transit
Subnet String - IPv4 subnet for inter-site transit segment connecting service routers across sites for stretched gateway. For IPv6 link local subnet is auto configured.
- fallback
Site string[]Paths - Fallback sites to be used as new primary site on current primary site failure
- primary
Site stringPath - Primary egress site for gateway.
- transit
Subnet string - IPv4 subnet for inter-site transit segment connecting service routers across sites for stretched gateway. For IPv6 link local subnet is auto configured.
- fallback_
site_ Sequence[str]paths - Fallback sites to be used as new primary site on current primary site failure
- primary_
site_ strpath - Primary egress site for gateway.
- transit_
subnet str - IPv4 subnet for inter-site transit segment connecting service routers across sites for stretched gateway. For IPv6 link local subnet is auto configured.
- fallback
Site List<String>Paths - Fallback sites to be used as new primary site on current primary site failure
- primary
Site StringPath - Primary egress site for gateway.
- transit
Subnet String - IPv4 subnet for inter-site transit segment connecting service routers across sites for stretched gateway. For IPv6 link local subnet is auto configured.
PolicyTier1GatewayLocaleService, PolicyTier1GatewayLocaleServiceArgs
- Edge
Cluster stringPath - The path of the edge cluster where the Tier-0 is placed.
- Display
Name string - Display name for the locale service.
- Nsx
Id string - NSX id for the locale service. It is recommended to specify this attribute in order to avoid unnecessary recreation of this object. Should be unique within the gateway.
- Path string
- The NSX path of the policy resource.
- Preferred
Edge List<string>Paths - Policy paths to edge nodes. Specified edge is used as preferred edge cluster member when failover mode is set to
PREEMPTIVE
. - Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Edge
Cluster stringPath - The path of the edge cluster where the Tier-0 is placed.
- Display
Name string - Display name for the locale service.
- Nsx
Id string - NSX id for the locale service. It is recommended to specify this attribute in order to avoid unnecessary recreation of this object. Should be unique within the gateway.
- Path string
- The NSX path of the policy resource.
- Preferred
Edge []stringPaths - Policy paths to edge nodes. Specified edge is used as preferred edge cluster member when failover mode is set to
PREEMPTIVE
. - Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- edge
Cluster StringPath - The path of the edge cluster where the Tier-0 is placed.
- display
Name String - Display name for the locale service.
- nsx
Id String - NSX id for the locale service. It is recommended to specify this attribute in order to avoid unnecessary recreation of this object. Should be unique within the gateway.
- path String
- The NSX path of the policy resource.
- preferred
Edge List<String>Paths - Policy paths to edge nodes. Specified edge is used as preferred edge cluster member when failover mode is set to
PREEMPTIVE
. - revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- edge
Cluster stringPath - The path of the edge cluster where the Tier-0 is placed.
- display
Name string - Display name for the locale service.
- nsx
Id string - NSX id for the locale service. It is recommended to specify this attribute in order to avoid unnecessary recreation of this object. Should be unique within the gateway.
- path string
- The NSX path of the policy resource.
- preferred
Edge string[]Paths - Policy paths to edge nodes. Specified edge is used as preferred edge cluster member when failover mode is set to
PREEMPTIVE
. - revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- edge_
cluster_ strpath - The path of the edge cluster where the Tier-0 is placed.
- display_
name str - Display name for the locale service.
- nsx_
id str - NSX id for the locale service. It is recommended to specify this attribute in order to avoid unnecessary recreation of this object. Should be unique within the gateway.
- path str
- The NSX path of the policy resource.
- preferred_
edge_ Sequence[str]paths - Policy paths to edge nodes. Specified edge is used as preferred edge cluster member when failover mode is set to
PREEMPTIVE
. - revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- edge
Cluster StringPath - The path of the edge cluster where the Tier-0 is placed.
- display
Name String - Display name for the locale service.
- nsx
Id String - NSX id for the locale service. It is recommended to specify this attribute in order to avoid unnecessary recreation of this object. Should be unique within the gateway.
- path String
- The NSX path of the policy resource.
- preferred
Edge List<String>Paths - Policy paths to edge nodes. Specified edge is used as preferred edge cluster member when failover mode is set to
PREEMPTIVE
. - revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
PolicyTier1GatewayRouteAdvertisementRule, PolicyTier1GatewayRouteAdvertisementRuleArgs
- Name string
- The name of the rule.
- Subnets List<string>
- list of network CIDRs to be routed.
- Action string
- Action to advertise filtered routes to the connected Tier0 gateway. PERMIT (which is the default): Enables the advertisement, DENY: Disables the advertisement.
- Prefix
Operator string - Prefix operator to apply on subnets. GE prefix operator (which is the default|) filters all the routes having network subset of any of the networks configured in Advertise rule. EQ prefix operator filter all the routes having network equal to any of the network configured in Advertise rule.The name of the rule.
- Route
Advertisement List<string>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration.
- Name string
- The name of the rule.
- Subnets []string
- list of network CIDRs to be routed.
- Action string
- Action to advertise filtered routes to the connected Tier0 gateway. PERMIT (which is the default): Enables the advertisement, DENY: Disables the advertisement.
- Prefix
Operator string - Prefix operator to apply on subnets. GE prefix operator (which is the default|) filters all the routes having network subset of any of the networks configured in Advertise rule. EQ prefix operator filter all the routes having network equal to any of the network configured in Advertise rule.The name of the rule.
- Route
Advertisement []stringTypes - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration.
- name String
- The name of the rule.
- subnets List<String>
- list of network CIDRs to be routed.
- action String
- Action to advertise filtered routes to the connected Tier0 gateway. PERMIT (which is the default): Enables the advertisement, DENY: Disables the advertisement.
- prefix
Operator String - Prefix operator to apply on subnets. GE prefix operator (which is the default|) filters all the routes having network subset of any of the networks configured in Advertise rule. EQ prefix operator filter all the routes having network equal to any of the network configured in Advertise rule.The name of the rule.
- route
Advertisement List<String>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration.
- name string
- The name of the rule.
- subnets string[]
- list of network CIDRs to be routed.
- action string
- Action to advertise filtered routes to the connected Tier0 gateway. PERMIT (which is the default): Enables the advertisement, DENY: Disables the advertisement.
- prefix
Operator string - Prefix operator to apply on subnets. GE prefix operator (which is the default|) filters all the routes having network subset of any of the networks configured in Advertise rule. EQ prefix operator filter all the routes having network equal to any of the network configured in Advertise rule.The name of the rule.
- route
Advertisement string[]Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration.
- name str
- The name of the rule.
- subnets Sequence[str]
- list of network CIDRs to be routed.
- action str
- Action to advertise filtered routes to the connected Tier0 gateway. PERMIT (which is the default): Enables the advertisement, DENY: Disables the advertisement.
- prefix_
operator str - Prefix operator to apply on subnets. GE prefix operator (which is the default|) filters all the routes having network subset of any of the networks configured in Advertise rule. EQ prefix operator filter all the routes having network equal to any of the network configured in Advertise rule.The name of the rule.
- route_
advertisement_ Sequence[str]types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration.
- name String
- The name of the rule.
- subnets List<String>
- list of network CIDRs to be routed.
- action String
- Action to advertise filtered routes to the connected Tier0 gateway. PERMIT (which is the default): Enables the advertisement, DENY: Disables the advertisement.
- prefix
Operator String - Prefix operator to apply on subnets. GE prefix operator (which is the default|) filters all the routes having network subset of any of the networks configured in Advertise rule. EQ prefix operator filter all the routes having network equal to any of the network configured in Advertise rule.The name of the rule.
- route
Advertisement List<String>Types - List of desired types of route advertisements, supported values:
TIER1_STATIC_ROUTES
,TIER1_CONNECTED
,TIER1_NAT
,TIER1_LB_VIP
,TIER1_LB_SNAT
,TIER1_DNS_FORWARDER_IP
,TIER1_IPSEC_LOCAL_ENDPOINT
. This field is Computed, meaning that NSX can auto-assign types. Hence, in order to revert to default behavior, set route advertisement values explicitly rather than removing this clause from configuration.
PolicyTier1GatewayTag, PolicyTier1GatewayTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.