vcd.NsxtEdgegateway
Explore with Pulumi AI
Create NsxtEdgegateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NsxtEdgegateway(name: string, args: NsxtEdgegatewayArgs, opts?: CustomResourceOptions);
@overload
def NsxtEdgegateway(resource_name: str,
args: NsxtEdgegatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NsxtEdgegateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
external_network_id: Optional[str] = None,
non_distributed_routing_enabled: Optional[bool] = None,
org: Optional[str] = None,
edge_cluster_id: Optional[str] = None,
deployment_mode: Optional[str] = None,
external_networks: Optional[Sequence[NsxtEdgegatewayExternalNetworkArgs]] = None,
ip_count_read_limit: Optional[float] = None,
name: Optional[str] = None,
dedicate_external_network: Optional[bool] = None,
description: Optional[str] = None,
owner_id: Optional[str] = None,
nsxt_edgegateway_id: Optional[str] = None,
starting_vdc_id: Optional[str] = None,
subnet_with_ip_counts: Optional[Sequence[NsxtEdgegatewaySubnetWithIpCountArgs]] = None,
subnet_with_total_ip_counts: Optional[Sequence[NsxtEdgegatewaySubnetWithTotalIpCountArgs]] = None,
subnets: Optional[Sequence[NsxtEdgegatewaySubnetArgs]] = None,
total_allocated_ip_count: Optional[float] = None,
vdc: Optional[str] = None)
func NewNsxtEdgegateway(ctx *Context, name string, args NsxtEdgegatewayArgs, opts ...ResourceOption) (*NsxtEdgegateway, error)
public NsxtEdgegateway(string name, NsxtEdgegatewayArgs args, CustomResourceOptions? opts = null)
public NsxtEdgegateway(String name, NsxtEdgegatewayArgs args)
public NsxtEdgegateway(String name, NsxtEdgegatewayArgs args, CustomResourceOptions options)
type: vcd:NsxtEdgegateway
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 NsxtEdgegatewayArgs
- 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 NsxtEdgegatewayArgs
- 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 NsxtEdgegatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NsxtEdgegatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NsxtEdgegatewayArgs
- 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 nsxtEdgegatewayResource = new Vcd.NsxtEdgegateway("nsxtEdgegatewayResource", new()
{
ExternalNetworkId = "string",
NonDistributedRoutingEnabled = false,
Org = "string",
EdgeClusterId = "string",
DeploymentMode = "string",
ExternalNetworks = new[]
{
new Vcd.Inputs.NsxtEdgegatewayExternalNetworkArgs
{
AllocatedIpCount = 0,
ExternalNetworkId = "string",
Gateway = "string",
PrefixLength = 0,
PrimaryIp = "string",
},
},
IpCountReadLimit = 0,
Name = "string",
DedicateExternalNetwork = false,
Description = "string",
OwnerId = "string",
NsxtEdgegatewayId = "string",
StartingVdcId = "string",
SubnetWithIpCounts = new[]
{
new Vcd.Inputs.NsxtEdgegatewaySubnetWithIpCountArgs
{
AllocatedIpCount = 0,
Gateway = "string",
PrefixLength = 0,
PrimaryIp = "string",
},
},
SubnetWithTotalIpCounts = new[]
{
new Vcd.Inputs.NsxtEdgegatewaySubnetWithTotalIpCountArgs
{
Gateway = "string",
PrefixLength = 0,
PrimaryIp = "string",
},
},
Subnets = new[]
{
new Vcd.Inputs.NsxtEdgegatewaySubnetArgs
{
Gateway = "string",
PrefixLength = 0,
AllocatedIps = new[]
{
new Vcd.Inputs.NsxtEdgegatewaySubnetAllocatedIpArgs
{
EndAddress = "string",
StartAddress = "string",
},
},
PrimaryIp = "string",
},
},
TotalAllocatedIpCount = 0,
});
example, err := vcd.NewNsxtEdgegateway(ctx, "nsxtEdgegatewayResource", &vcd.NsxtEdgegatewayArgs{
ExternalNetworkId: pulumi.String("string"),
NonDistributedRoutingEnabled: pulumi.Bool(false),
Org: pulumi.String("string"),
EdgeClusterId: pulumi.String("string"),
DeploymentMode: pulumi.String("string"),
ExternalNetworks: vcd.NsxtEdgegatewayExternalNetworkArray{
&vcd.NsxtEdgegatewayExternalNetworkArgs{
AllocatedIpCount: pulumi.Float64(0),
ExternalNetworkId: pulumi.String("string"),
Gateway: pulumi.String("string"),
PrefixLength: pulumi.Float64(0),
PrimaryIp: pulumi.String("string"),
},
},
IpCountReadLimit: pulumi.Float64(0),
Name: pulumi.String("string"),
DedicateExternalNetwork: pulumi.Bool(false),
Description: pulumi.String("string"),
OwnerId: pulumi.String("string"),
NsxtEdgegatewayId: pulumi.String("string"),
StartingVdcId: pulumi.String("string"),
SubnetWithIpCounts: vcd.NsxtEdgegatewaySubnetWithIpCountArray{
&vcd.NsxtEdgegatewaySubnetWithIpCountArgs{
AllocatedIpCount: pulumi.Float64(0),
Gateway: pulumi.String("string"),
PrefixLength: pulumi.Float64(0),
PrimaryIp: pulumi.String("string"),
},
},
SubnetWithTotalIpCounts: vcd.NsxtEdgegatewaySubnetWithTotalIpCountArray{
&vcd.NsxtEdgegatewaySubnetWithTotalIpCountArgs{
Gateway: pulumi.String("string"),
PrefixLength: pulumi.Float64(0),
PrimaryIp: pulumi.String("string"),
},
},
Subnets: vcd.NsxtEdgegatewaySubnetArray{
&vcd.NsxtEdgegatewaySubnetArgs{
Gateway: pulumi.String("string"),
PrefixLength: pulumi.Float64(0),
AllocatedIps: vcd.NsxtEdgegatewaySubnetAllocatedIpArray{
&vcd.NsxtEdgegatewaySubnetAllocatedIpArgs{
EndAddress: pulumi.String("string"),
StartAddress: pulumi.String("string"),
},
},
PrimaryIp: pulumi.String("string"),
},
},
TotalAllocatedIpCount: pulumi.Float64(0),
})
var nsxtEdgegatewayResource = new NsxtEdgegateway("nsxtEdgegatewayResource", NsxtEdgegatewayArgs.builder()
.externalNetworkId("string")
.nonDistributedRoutingEnabled(false)
.org("string")
.edgeClusterId("string")
.deploymentMode("string")
.externalNetworks(NsxtEdgegatewayExternalNetworkArgs.builder()
.allocatedIpCount(0)
.externalNetworkId("string")
.gateway("string")
.prefixLength(0)
.primaryIp("string")
.build())
.ipCountReadLimit(0)
.name("string")
.dedicateExternalNetwork(false)
.description("string")
.ownerId("string")
.nsxtEdgegatewayId("string")
.startingVdcId("string")
.subnetWithIpCounts(NsxtEdgegatewaySubnetWithIpCountArgs.builder()
.allocatedIpCount(0)
.gateway("string")
.prefixLength(0)
.primaryIp("string")
.build())
.subnetWithTotalIpCounts(NsxtEdgegatewaySubnetWithTotalIpCountArgs.builder()
.gateway("string")
.prefixLength(0)
.primaryIp("string")
.build())
.subnets(NsxtEdgegatewaySubnetArgs.builder()
.gateway("string")
.prefixLength(0)
.allocatedIps(NsxtEdgegatewaySubnetAllocatedIpArgs.builder()
.endAddress("string")
.startAddress("string")
.build())
.primaryIp("string")
.build())
.totalAllocatedIpCount(0)
.build());
nsxt_edgegateway_resource = vcd.NsxtEdgegateway("nsxtEdgegatewayResource",
external_network_id="string",
non_distributed_routing_enabled=False,
org="string",
edge_cluster_id="string",
deployment_mode="string",
external_networks=[{
"allocated_ip_count": 0,
"external_network_id": "string",
"gateway": "string",
"prefix_length": 0,
"primary_ip": "string",
}],
ip_count_read_limit=0,
name="string",
dedicate_external_network=False,
description="string",
owner_id="string",
nsxt_edgegateway_id="string",
starting_vdc_id="string",
subnet_with_ip_counts=[{
"allocated_ip_count": 0,
"gateway": "string",
"prefix_length": 0,
"primary_ip": "string",
}],
subnet_with_total_ip_counts=[{
"gateway": "string",
"prefix_length": 0,
"primary_ip": "string",
}],
subnets=[{
"gateway": "string",
"prefix_length": 0,
"allocated_ips": [{
"end_address": "string",
"start_address": "string",
}],
"primary_ip": "string",
}],
total_allocated_ip_count=0)
const nsxtEdgegatewayResource = new vcd.NsxtEdgegateway("nsxtEdgegatewayResource", {
externalNetworkId: "string",
nonDistributedRoutingEnabled: false,
org: "string",
edgeClusterId: "string",
deploymentMode: "string",
externalNetworks: [{
allocatedIpCount: 0,
externalNetworkId: "string",
gateway: "string",
prefixLength: 0,
primaryIp: "string",
}],
ipCountReadLimit: 0,
name: "string",
dedicateExternalNetwork: false,
description: "string",
ownerId: "string",
nsxtEdgegatewayId: "string",
startingVdcId: "string",
subnetWithIpCounts: [{
allocatedIpCount: 0,
gateway: "string",
prefixLength: 0,
primaryIp: "string",
}],
subnetWithTotalIpCounts: [{
gateway: "string",
prefixLength: 0,
primaryIp: "string",
}],
subnets: [{
gateway: "string",
prefixLength: 0,
allocatedIps: [{
endAddress: "string",
startAddress: "string",
}],
primaryIp: "string",
}],
totalAllocatedIpCount: 0,
});
type: vcd:NsxtEdgegateway
properties:
dedicateExternalNetwork: false
deploymentMode: string
description: string
edgeClusterId: string
externalNetworkId: string
externalNetworks:
- allocatedIpCount: 0
externalNetworkId: string
gateway: string
prefixLength: 0
primaryIp: string
ipCountReadLimit: 0
name: string
nonDistributedRoutingEnabled: false
nsxtEdgegatewayId: string
org: string
ownerId: string
startingVdcId: string
subnetWithIpCounts:
- allocatedIpCount: 0
gateway: string
prefixLength: 0
primaryIp: string
subnetWithTotalIpCounts:
- gateway: string
prefixLength: 0
primaryIp: string
subnets:
- allocatedIps:
- endAddress: string
startAddress: string
gateway: string
prefixLength: 0
primaryIp: string
totalAllocatedIpCount: 0
NsxtEdgegateway 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 NsxtEdgegateway resource accepts the following input properties:
- External
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- Dedicate
External boolNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - Deployment
Mode string ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- Description string
- A unique name for the edge gateway.
- Edge
Cluster stringId - Specific Edge Cluster ID if required
- External
Networks List<NsxtEdgegateway External Network> - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- Ip
Count doubleRead Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- Name string
- A unique name for the edge gateway.
- Non
Distributed boolRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - Nsxt
Edgegateway stringId - Org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- Owner
Id string The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- Starting
Vdc stringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - Subnet
With List<NsxtIp Counts Edgegateway Subnet With Ip Count> - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Subnet
With List<NsxtTotal Ip Counts Edgegateway Subnet With Total Ip Count> - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Subnets
List<Nsxt
Edgegateway Subnet> - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Total
Allocated doubleIp Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - Vdc string
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- External
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- Dedicate
External boolNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - Deployment
Mode string ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- Description string
- A unique name for the edge gateway.
- Edge
Cluster stringId - Specific Edge Cluster ID if required
- External
Networks []NsxtEdgegateway External Network Args - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- Ip
Count float64Read Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- Name string
- A unique name for the edge gateway.
- Non
Distributed boolRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - Nsxt
Edgegateway stringId - Org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- Owner
Id string The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- Starting
Vdc stringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - Subnet
With []NsxtIp Counts Edgegateway Subnet With Ip Count Args - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Subnet
With []NsxtTotal Ip Counts Edgegateway Subnet With Total Ip Count Args - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Subnets
[]Nsxt
Edgegateway Subnet Args - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Total
Allocated float64Ip Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - Vdc string
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- external
Network StringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- dedicate
External BooleanNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - deployment
Mode String ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- description String
- A unique name for the edge gateway.
- edge
Cluster StringId - Specific Edge Cluster ID if required
- external
Networks List<NsxtEdgegateway External Network> - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- ip
Count DoubleRead Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- name String
- A unique name for the edge gateway.
- non
Distributed BooleanRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - nsxt
Edgegateway StringId - org String
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- owner
Id String The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- starting
Vdc StringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - subnet
With List<NsxtIp Counts Edgegateway Subnet With Ip Count> - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnet
With List<NsxtTotal Ip Counts Edgegateway Subnet With Total Ip Count> - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnets
List<Nsxt
Edgegateway Subnet> - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - total
Allocated DoubleIp Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - vdc String
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- external
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- dedicate
External booleanNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - deployment
Mode string ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- description string
- A unique name for the edge gateway.
- edge
Cluster stringId - Specific Edge Cluster ID if required
- external
Networks NsxtEdgegateway External Network[] - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- ip
Count numberRead Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- name string
- A unique name for the edge gateway.
- non
Distributed booleanRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - nsxt
Edgegateway stringId - org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- owner
Id string The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- starting
Vdc stringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - subnet
With NsxtIp Counts Edgegateway Subnet With Ip Count[] - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnet
With NsxtTotal Ip Counts Edgegateway Subnet With Total Ip Count[] - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnets
Nsxt
Edgegateway Subnet[] - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - total
Allocated numberIp Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - vdc string
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- external_
network_ strid - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- dedicate_
external_ boolnetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - deployment_
mode str ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- description str
- A unique name for the edge gateway.
- edge_
cluster_ strid - Specific Edge Cluster ID if required
- external_
networks Sequence[NsxtEdgegateway External Network Args] - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- ip_
count_ floatread_ limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- name str
- A unique name for the edge gateway.
- non_
distributed_ boolrouting_ enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - nsxt_
edgegateway_ strid - org str
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- owner_
id str The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- starting_
vdc_ strid - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - subnet_
with_ Sequence[Nsxtip_ counts Edgegateway Subnet With Ip Count Args] - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnet_
with_ Sequence[Nsxttotal_ ip_ counts Edgegateway Subnet With Total Ip Count Args] - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnets
Sequence[Nsxt
Edgegateway Subnet Args] - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - total_
allocated_ floatip_ count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - vdc str
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- external
Network StringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- dedicate
External BooleanNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - deployment
Mode String ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- description String
- A unique name for the edge gateway.
- edge
Cluster StringId - Specific Edge Cluster ID if required
- external
Networks List<Property Map> - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- ip
Count NumberRead Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- name String
- A unique name for the edge gateway.
- non
Distributed BooleanRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - nsxt
Edgegateway StringId - org String
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- owner
Id String The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- starting
Vdc StringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - subnet
With List<Property Map>Ip Counts - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnet
With List<Property Map>Total Ip Counts - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnets List<Property Map>
- One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - total
Allocated NumberIp Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - vdc String
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
Outputs
All input properties are implicitly available as output properties. Additionally, the NsxtEdgegateway resource produces the following output properties:
- External
Network doubleAllocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- Unused
Ip doubleCount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- Use
Ip boolSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- Used
Ip doubleCount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- External
Network float64Allocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- Id string
- The provider-assigned unique ID for this managed resource.
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- Unused
Ip float64Count - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- Use
Ip boolSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- Used
Ip float64Count - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- external
Network DoubleAllocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- id String
- The provider-assigned unique ID for this managed resource.
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
- unused
Ip DoubleCount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- use
Ip BooleanSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- used
Ip DoubleCount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- external
Network numberAllocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- id string
- The provider-assigned unique ID for this managed resource.
- primary
Ip string - Primary IP address exposed for an easy access without nesting.
- unused
Ip numberCount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- use
Ip booleanSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- used
Ip numberCount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- external_
network_ floatallocated_ ip_ count - Total allocated IP count in attached NSX-T Segment backed external networks
- id str
- The provider-assigned unique ID for this managed resource.
- primary_
ip str - Primary IP address exposed for an easy access without nesting.
- unused_
ip_ floatcount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- use_
ip_ boolspaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- used_
ip_ floatcount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- external
Network NumberAllocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- id String
- The provider-assigned unique ID for this managed resource.
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
- unused
Ip NumberCount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- use
Ip BooleanSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- used
Ip NumberCount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
Look up Existing NsxtEdgegateway Resource
Get an existing NsxtEdgegateway 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?: NsxtEdgegatewayState, opts?: CustomResourceOptions): NsxtEdgegateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dedicate_external_network: Optional[bool] = None,
deployment_mode: Optional[str] = None,
description: Optional[str] = None,
edge_cluster_id: Optional[str] = None,
external_network_allocated_ip_count: Optional[float] = None,
external_network_id: Optional[str] = None,
external_networks: Optional[Sequence[NsxtEdgegatewayExternalNetworkArgs]] = None,
ip_count_read_limit: Optional[float] = None,
name: Optional[str] = None,
non_distributed_routing_enabled: Optional[bool] = None,
nsxt_edgegateway_id: Optional[str] = None,
org: Optional[str] = None,
owner_id: Optional[str] = None,
primary_ip: Optional[str] = None,
starting_vdc_id: Optional[str] = None,
subnet_with_ip_counts: Optional[Sequence[NsxtEdgegatewaySubnetWithIpCountArgs]] = None,
subnet_with_total_ip_counts: Optional[Sequence[NsxtEdgegatewaySubnetWithTotalIpCountArgs]] = None,
subnets: Optional[Sequence[NsxtEdgegatewaySubnetArgs]] = None,
total_allocated_ip_count: Optional[float] = None,
unused_ip_count: Optional[float] = None,
use_ip_spaces: Optional[bool] = None,
used_ip_count: Optional[float] = None,
vdc: Optional[str] = None) -> NsxtEdgegateway
func GetNsxtEdgegateway(ctx *Context, name string, id IDInput, state *NsxtEdgegatewayState, opts ...ResourceOption) (*NsxtEdgegateway, error)
public static NsxtEdgegateway Get(string name, Input<string> id, NsxtEdgegatewayState? state, CustomResourceOptions? opts = null)
public static NsxtEdgegateway get(String name, Output<String> id, NsxtEdgegatewayState state, CustomResourceOptions options)
resources: _: type: vcd:NsxtEdgegateway 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.
- Dedicate
External boolNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - Deployment
Mode string ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- Description string
- A unique name for the edge gateway.
- Edge
Cluster stringId - Specific Edge Cluster ID if required
- External
Network doubleAllocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- External
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- External
Networks List<NsxtEdgegateway External Network> - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- Ip
Count doubleRead Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- Name string
- A unique name for the edge gateway.
- Non
Distributed boolRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - Nsxt
Edgegateway stringId - Org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- Owner
Id string The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- Starting
Vdc stringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - Subnet
With List<NsxtIp Counts Edgegateway Subnet With Ip Count> - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Subnet
With List<NsxtTotal Ip Counts Edgegateway Subnet With Total Ip Count> - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Subnets
List<Nsxt
Edgegateway Subnet> - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Total
Allocated doubleIp Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - Unused
Ip doubleCount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- Use
Ip boolSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- Used
Ip doubleCount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- Vdc string
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- Dedicate
External boolNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - Deployment
Mode string ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- Description string
- A unique name for the edge gateway.
- Edge
Cluster stringId - Specific Edge Cluster ID if required
- External
Network float64Allocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- External
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- External
Networks []NsxtEdgegateway External Network Args - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- Ip
Count float64Read Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- Name string
- A unique name for the edge gateway.
- Non
Distributed boolRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - Nsxt
Edgegateway stringId - Org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- Owner
Id string The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- Starting
Vdc stringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - Subnet
With []NsxtIp Counts Edgegateway Subnet With Ip Count Args - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Subnet
With []NsxtTotal Ip Counts Edgegateway Subnet With Total Ip Count Args - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Subnets
[]Nsxt
Edgegateway Subnet Args - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - Total
Allocated float64Ip Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - Unused
Ip float64Count - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- Use
Ip boolSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- Used
Ip float64Count - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- Vdc string
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- dedicate
External BooleanNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - deployment
Mode String ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- description String
- A unique name for the edge gateway.
- edge
Cluster StringId - Specific Edge Cluster ID if required
- external
Network DoubleAllocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- external
Network StringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- external
Networks List<NsxtEdgegateway External Network> - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- ip
Count DoubleRead Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- name String
- A unique name for the edge gateway.
- non
Distributed BooleanRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - nsxt
Edgegateway StringId - org String
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- owner
Id String The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- primary
Ip String - Primary IP address exposed for an easy access without nesting.
- starting
Vdc StringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - subnet
With List<NsxtIp Counts Edgegateway Subnet With Ip Count> - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnet
With List<NsxtTotal Ip Counts Edgegateway Subnet With Total Ip Count> - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnets
List<Nsxt
Edgegateway Subnet> - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - total
Allocated DoubleIp Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - unused
Ip DoubleCount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- use
Ip BooleanSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- used
Ip DoubleCount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- vdc String
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- dedicate
External booleanNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - deployment
Mode string ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- description string
- A unique name for the edge gateway.
- edge
Cluster stringId - Specific Edge Cluster ID if required
- external
Network numberAllocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- external
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- external
Networks NsxtEdgegateway External Network[] - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- ip
Count numberRead Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- name string
- A unique name for the edge gateway.
- non
Distributed booleanRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - nsxt
Edgegateway stringId - org string
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- owner
Id string The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- primary
Ip string - Primary IP address exposed for an easy access without nesting.
- starting
Vdc stringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - subnet
With NsxtIp Counts Edgegateway Subnet With Ip Count[] - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnet
With NsxtTotal Ip Counts Edgegateway Subnet With Total Ip Count[] - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnets
Nsxt
Edgegateway Subnet[] - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - total
Allocated numberIp Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - unused
Ip numberCount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- use
Ip booleanSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- used
Ip numberCount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- vdc string
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- dedicate_
external_ boolnetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - deployment_
mode str ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- description str
- A unique name for the edge gateway.
- edge_
cluster_ strid - Specific Edge Cluster ID if required
- external_
network_ floatallocated_ ip_ count - Total allocated IP count in attached NSX-T Segment backed external networks
- external_
network_ strid - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- external_
networks Sequence[NsxtEdgegateway External Network Args] - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- ip_
count_ floatread_ limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- name str
- A unique name for the edge gateway.
- non_
distributed_ boolrouting_ enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - nsxt_
edgegateway_ strid - org str
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- owner_
id str The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- primary_
ip str - Primary IP address exposed for an easy access without nesting.
- starting_
vdc_ strid - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - subnet_
with_ Sequence[Nsxtip_ counts Edgegateway Subnet With Ip Count Args] - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnet_
with_ Sequence[Nsxttotal_ ip_ counts Edgegateway Subnet With Total Ip Count Args] - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnets
Sequence[Nsxt
Edgegateway Subnet Args] - One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - total_
allocated_ floatip_ count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - unused_
ip_ floatcount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- use_
ip_ boolspaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- used_
ip_ floatcount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- vdc str
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
- dedicate
External BooleanNetwork - Dedicating the external network will enable Route Advertisement for this Edge Gateway. Default
false
. - deployment
Mode String ACTIVE_STANDBY
(default) orDISTRIBUTED_ONLY
(VCD 10.6+). Distributed-only does not provide services that run on service router such as firewalling, NAT, VPN, DNS forwarding or static routes, instead, the distributed nature guarantees high north-south data throughput.- description String
- A unique name for the edge gateway.
- edge
Cluster StringId - Specific Edge Cluster ID if required
- external
Network NumberAllocated Ip Count - Total allocated IP count in attached NSX-T Segment backed external networks
- external
Network StringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- external
Networks List<Property Map> - attaches NSX-T Segment backed External Networks with a given configuration block. It does not support IP Spaces.
- ip
Count NumberRead Limit Sets a limit of IPs to count for
used_ip_count
andunused_ip_count
attributes to avoid exhausting compute resource while counting IPs in large IPv6 subnets. It does not affect operation of Edge Gateway configuration, only IP count reporting. Defaults to1000000
, update is a no-op, but will affect newly read data. While it is unlikely that a single Edge Gateway can effectively manage more IPs, one can specify0
for unlimited value.- name String
- A unique name for the edge gateway.
- non
Distributed BooleanRouting Enabled - Non-Distributed routing will allow
tenants the option of connecting Org Vdc networks to the Service
Router. This would
force all VM traffic through the service router for that network. Default
false
. - nsxt
Edgegateway StringId - org String
- The name of organization to which the VDC belongs. Optional if defined at provider level.
- owner
Id String The ID of VDC or VDC Group. Note: Data sources vcd.VdcGroup or vcd.OrgVdc can be used to lookup IDs by name.
Only one of
vdc
orowner_id
can be specified.owner_id
takes precedence overvdc
definition at provider level.When a VDC Group ID is specified in
owner_id
field, the Edge Gateway will be created in VDC (random member of VDC Group or specified instarting_vdc_id
). Main use case ofstarting_vdc_id
is to pick egress traffic origin for multi datacenter VDC Groups.- primary
Ip String - Primary IP address exposed for an easy access without nesting.
- starting
Vdc StringId - If
owner_id
is a VDC Group, by default Edge Gateway will be created in random member VDC and moved to destination VDC Group. This field allows to specify initial VDC for Edge Gateway (this can define Egress location of traffic in the VDC Group) Note: It can only be used whenowner_id
is a VDC Group. - subnet
With List<Property Map>Ip Counts - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnet
With List<Property Map>Total Ip Counts - One or more
subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - subnets List<Property Map>
- One or more subnets defined for Edge Gateway. One of
subnet
,subnet_with_total_ip_count
orsubnet_with_ip_count
is required unless parent network is backed by IP Spaces. Read more in IP allocation modes section. - total
Allocated NumberIp Count - Required with
subnet_with_total_ip_count
. It is read-only attribute with other other allocation modelssubnet
andsubnet_with_ip_count
. Note. It sets or reports IP count only for NSX-T Tier 0 backed external network Uplink. - unused
Ip NumberCount - Unused IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- use
Ip BooleanSpaces - Boolean value that hints if the NSX-T Edge Gateway uses IP Spaces
- used
Ip NumberCount - Used IP count in this Edge Gateway (for all uplinks). Note: it is not exposed when using IP Spaces.
- vdc String
- Deprecated in favor of
owner_id
. The name of VDC that owns the edge gateway. Can be inherited fromprovider
configuration if not defined here.
Supporting Types
NsxtEdgegatewayExternalNetwork, NsxtEdgegatewayExternalNetworkArgs
- Allocated
Ip doubleCount - Number of allocated IPs
- External
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- Gateway string
- Gateway IP Address
- Prefix
Length double - Prefix length for a subnet (e.g. 24)
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- Allocated
Ip float64Count - Number of allocated IPs
- External
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- Gateway string
- Gateway IP Address
- Prefix
Length float64 - Prefix length for a subnet (e.g. 24)
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- allocated
Ip DoubleCount - Number of allocated IPs
- external
Network StringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- gateway String
- Gateway IP Address
- prefix
Length Double - Prefix length for a subnet (e.g. 24)
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
- allocated
Ip numberCount - Number of allocated IPs
- external
Network stringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- gateway string
- Gateway IP Address
- prefix
Length number - Prefix length for a subnet (e.g. 24)
- primary
Ip string - Primary IP address exposed for an easy access without nesting.
- allocated_
ip_ floatcount - Number of allocated IPs
- external_
network_ strid - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- gateway str
- Gateway IP Address
- prefix_
length float - Prefix length for a subnet (e.g. 24)
- primary_
ip str - Primary IP address exposed for an easy access without nesting.
- allocated
Ip NumberCount - Number of allocated IPs
- external
Network StringId - An external network ID. Note: Data source vcd.ExternalNetworkV2 can be used to lookup ID by name.
- gateway String
- Gateway IP Address
- prefix
Length Number - Prefix length for a subnet (e.g. 24)
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
NsxtEdgegatewaySubnet, NsxtEdgegatewaySubnetArgs
- Gateway string
- Gateway address for a subnet
- Prefix
Length double - Prefix length for a subnet (e.g. 24)
- Allocated
Ips List<NsxtEdgegateway Subnet Allocated Ip> - Define one or more blocks to sub-allocate pools on the edge gateway
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- Gateway string
- Gateway address for a subnet
- Prefix
Length float64 - Prefix length for a subnet (e.g. 24)
- Allocated
Ips []NsxtEdgegateway Subnet Allocated Ip - Define one or more blocks to sub-allocate pools on the edge gateway
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- gateway String
- Gateway address for a subnet
- prefix
Length Double - Prefix length for a subnet (e.g. 24)
- allocated
Ips List<NsxtEdgegateway Subnet Allocated Ip> - Define one or more blocks to sub-allocate pools on the edge gateway
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
- gateway string
- Gateway address for a subnet
- prefix
Length number - Prefix length for a subnet (e.g. 24)
- allocated
Ips NsxtEdgegateway Subnet Allocated Ip[] - Define one or more blocks to sub-allocate pools on the edge gateway
- primary
Ip string - Primary IP address exposed for an easy access without nesting.
- gateway str
- Gateway address for a subnet
- prefix_
length float - Prefix length for a subnet (e.g. 24)
- allocated_
ips Sequence[NsxtEdgegateway Subnet Allocated Ip] - Define one or more blocks to sub-allocate pools on the edge gateway
- primary_
ip str - Primary IP address exposed for an easy access without nesting.
- gateway String
- Gateway address for a subnet
- prefix
Length Number - Prefix length for a subnet (e.g. 24)
- allocated
Ips List<Property Map> - Define one or more blocks to sub-allocate pools on the edge gateway
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
NsxtEdgegatewaySubnetAllocatedIp, NsxtEdgegatewaySubnetAllocatedIpArgs
- End
Address string - Start
Address string
- End
Address string - Start
Address string
- end
Address String - start
Address String
- end
Address string - start
Address string
- end_
address str - start_
address str
- end
Address String - start
Address String
NsxtEdgegatewaySubnetWithIpCount, NsxtEdgegatewaySubnetWithIpCountArgs
- Allocated
Ip doubleCount - Number of IP addresses to allocate
- Gateway string
- Gateway address for a subnet
- Prefix
Length double - Prefix length for a subnet (e.g. 24)
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- Allocated
Ip float64Count - Number of IP addresses to allocate
- Gateway string
- Gateway address for a subnet
- Prefix
Length float64 - Prefix length for a subnet (e.g. 24)
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- allocated
Ip DoubleCount - Number of IP addresses to allocate
- gateway String
- Gateway address for a subnet
- prefix
Length Double - Prefix length for a subnet (e.g. 24)
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
- allocated
Ip numberCount - Number of IP addresses to allocate
- gateway string
- Gateway address for a subnet
- prefix
Length number - Prefix length for a subnet (e.g. 24)
- primary
Ip string - Primary IP address exposed for an easy access without nesting.
- allocated_
ip_ floatcount - Number of IP addresses to allocate
- gateway str
- Gateway address for a subnet
- prefix_
length float - Prefix length for a subnet (e.g. 24)
- primary_
ip str - Primary IP address exposed for an easy access without nesting.
- allocated
Ip NumberCount - Number of IP addresses to allocate
- gateway String
- Gateway address for a subnet
- prefix
Length Number - Prefix length for a subnet (e.g. 24)
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
NsxtEdgegatewaySubnetWithTotalIpCount, NsxtEdgegatewaySubnetWithTotalIpCountArgs
- Gateway string
- Gateway address for a subnet
- Prefix
Length double - Prefix length for a subnet (e.g. 24)
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- Gateway string
- Gateway address for a subnet
- Prefix
Length float64 - Prefix length for a subnet (e.g. 24)
- Primary
Ip string - Primary IP address exposed for an easy access without nesting.
- gateway String
- Gateway address for a subnet
- prefix
Length Double - Prefix length for a subnet (e.g. 24)
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
- gateway string
- Gateway address for a subnet
- prefix
Length number - Prefix length for a subnet (e.g. 24)
- primary
Ip string - Primary IP address exposed for an easy access without nesting.
- gateway str
- Gateway address for a subnet
- prefix_
length float - Prefix length for a subnet (e.g. 24)
- primary_
ip str - Primary IP address exposed for an easy access without nesting.
- gateway String
- Gateway address for a subnet
- prefix
Length Number - Prefix length for a subnet (e.g. 24)
- primary
Ip String - Primary IP address exposed for an easy access without nesting.
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.