vcd.ExternalNetworkV2
Explore with Pulumi AI
Create ExternalNetworkV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExternalNetworkV2(name: string, args?: ExternalNetworkV2Args, opts?: CustomResourceOptions);
@overload
def ExternalNetworkV2(resource_name: str,
args: Optional[ExternalNetworkV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ExternalNetworkV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
dedicated_org_id: Optional[str] = None,
description: Optional[str] = None,
external_network_v2_id: Optional[str] = None,
ip_scopes: Optional[Sequence[ExternalNetworkV2IpScopeArgs]] = None,
name: Optional[str] = None,
nat_and_firewall_service_intention: Optional[str] = None,
nsxt_network: Optional[ExternalNetworkV2NsxtNetworkArgs] = None,
route_advertisement_intention: Optional[str] = None,
use_ip_spaces: Optional[bool] = None,
vsphere_networks: Optional[Sequence[ExternalNetworkV2VsphereNetworkArgs]] = None)
func NewExternalNetworkV2(ctx *Context, name string, args *ExternalNetworkV2Args, opts ...ResourceOption) (*ExternalNetworkV2, error)
public ExternalNetworkV2(string name, ExternalNetworkV2Args? args = null, CustomResourceOptions? opts = null)
public ExternalNetworkV2(String name, ExternalNetworkV2Args args)
public ExternalNetworkV2(String name, ExternalNetworkV2Args args, CustomResourceOptions options)
type: vcd:ExternalNetworkV2
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 ExternalNetworkV2Args
- 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 ExternalNetworkV2Args
- 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 ExternalNetworkV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalNetworkV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalNetworkV2Args
- 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 externalNetworkV2Resource = new Vcd.ExternalNetworkV2("externalNetworkV2Resource", new()
{
DedicatedOrgId = "string",
Description = "string",
ExternalNetworkV2Id = "string",
IpScopes = new[]
{
new Vcd.Inputs.ExternalNetworkV2IpScopeArgs
{
Gateway = "string",
PrefixLength = 0,
Dns1 = "string",
Dns2 = "string",
DnsSuffix = "string",
Enabled = false,
StaticIpPools = new[]
{
new Vcd.Inputs.ExternalNetworkV2IpScopeStaticIpPoolArgs
{
EndAddress = "string",
StartAddress = "string",
},
},
},
},
Name = "string",
NatAndFirewallServiceIntention = "string",
NsxtNetwork = new Vcd.Inputs.ExternalNetworkV2NsxtNetworkArgs
{
NsxtManagerId = "string",
NsxtSegmentName = "string",
NsxtTier0RouterId = "string",
},
RouteAdvertisementIntention = "string",
UseIpSpaces = false,
VsphereNetworks = new[]
{
new Vcd.Inputs.ExternalNetworkV2VsphereNetworkArgs
{
PortgroupId = "string",
VcenterId = "string",
},
},
});
example, err := vcd.NewExternalNetworkV2(ctx, "externalNetworkV2Resource", &vcd.ExternalNetworkV2Args{
DedicatedOrgId: pulumi.String("string"),
Description: pulumi.String("string"),
ExternalNetworkV2Id: pulumi.String("string"),
IpScopes: vcd.ExternalNetworkV2IpScopeArray{
&vcd.ExternalNetworkV2IpScopeArgs{
Gateway: pulumi.String("string"),
PrefixLength: pulumi.Float64(0),
Dns1: pulumi.String("string"),
Dns2: pulumi.String("string"),
DnsSuffix: pulumi.String("string"),
Enabled: pulumi.Bool(false),
StaticIpPools: vcd.ExternalNetworkV2IpScopeStaticIpPoolArray{
&vcd.ExternalNetworkV2IpScopeStaticIpPoolArgs{
EndAddress: pulumi.String("string"),
StartAddress: pulumi.String("string"),
},
},
},
},
Name: pulumi.String("string"),
NatAndFirewallServiceIntention: pulumi.String("string"),
NsxtNetwork: &vcd.ExternalNetworkV2NsxtNetworkArgs{
NsxtManagerId: pulumi.String("string"),
NsxtSegmentName: pulumi.String("string"),
NsxtTier0RouterId: pulumi.String("string"),
},
RouteAdvertisementIntention: pulumi.String("string"),
UseIpSpaces: pulumi.Bool(false),
VsphereNetworks: vcd.ExternalNetworkV2VsphereNetworkArray{
&vcd.ExternalNetworkV2VsphereNetworkArgs{
PortgroupId: pulumi.String("string"),
VcenterId: pulumi.String("string"),
},
},
})
var externalNetworkV2Resource = new ExternalNetworkV2("externalNetworkV2Resource", ExternalNetworkV2Args.builder()
.dedicatedOrgId("string")
.description("string")
.externalNetworkV2Id("string")
.ipScopes(ExternalNetworkV2IpScopeArgs.builder()
.gateway("string")
.prefixLength(0)
.dns1("string")
.dns2("string")
.dnsSuffix("string")
.enabled(false)
.staticIpPools(ExternalNetworkV2IpScopeStaticIpPoolArgs.builder()
.endAddress("string")
.startAddress("string")
.build())
.build())
.name("string")
.natAndFirewallServiceIntention("string")
.nsxtNetwork(ExternalNetworkV2NsxtNetworkArgs.builder()
.nsxtManagerId("string")
.nsxtSegmentName("string")
.nsxtTier0RouterId("string")
.build())
.routeAdvertisementIntention("string")
.useIpSpaces(false)
.vsphereNetworks(ExternalNetworkV2VsphereNetworkArgs.builder()
.portgroupId("string")
.vcenterId("string")
.build())
.build());
external_network_v2_resource = vcd.ExternalNetworkV2("externalNetworkV2Resource",
dedicated_org_id="string",
description="string",
external_network_v2_id="string",
ip_scopes=[{
"gateway": "string",
"prefix_length": 0,
"dns1": "string",
"dns2": "string",
"dns_suffix": "string",
"enabled": False,
"static_ip_pools": [{
"end_address": "string",
"start_address": "string",
}],
}],
name="string",
nat_and_firewall_service_intention="string",
nsxt_network={
"nsxt_manager_id": "string",
"nsxt_segment_name": "string",
"nsxt_tier0_router_id": "string",
},
route_advertisement_intention="string",
use_ip_spaces=False,
vsphere_networks=[{
"portgroup_id": "string",
"vcenter_id": "string",
}])
const externalNetworkV2Resource = new vcd.ExternalNetworkV2("externalNetworkV2Resource", {
dedicatedOrgId: "string",
description: "string",
externalNetworkV2Id: "string",
ipScopes: [{
gateway: "string",
prefixLength: 0,
dns1: "string",
dns2: "string",
dnsSuffix: "string",
enabled: false,
staticIpPools: [{
endAddress: "string",
startAddress: "string",
}],
}],
name: "string",
natAndFirewallServiceIntention: "string",
nsxtNetwork: {
nsxtManagerId: "string",
nsxtSegmentName: "string",
nsxtTier0RouterId: "string",
},
routeAdvertisementIntention: "string",
useIpSpaces: false,
vsphereNetworks: [{
portgroupId: "string",
vcenterId: "string",
}],
});
type: vcd:ExternalNetworkV2
properties:
dedicatedOrgId: string
description: string
externalNetworkV2Id: string
ipScopes:
- dns1: string
dns2: string
dnsSuffix: string
enabled: false
gateway: string
prefixLength: 0
staticIpPools:
- endAddress: string
startAddress: string
name: string
natAndFirewallServiceIntention: string
nsxtNetwork:
nsxtManagerId: string
nsxtSegmentName: string
nsxtTier0RouterId: string
routeAdvertisementIntention: string
useIpSpaces: false
vsphereNetworks:
- portgroupId: string
vcenterId: string
ExternalNetworkV2 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 ExternalNetworkV2 resource accepts the following input properties:
- Dedicated
Org stringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- Description string
- Network friendly description
- External
Network stringV2Id - Ip
Scopes List<ExternalNetwork V2Ip Scope> - One or more IP scopes for the network. See IP Scope below for details.
- Name string
- A unique name for the network
- Nat
And stringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- Nsxt
Network ExternalNetwork V2Nsxt Network - NSX-T network definition. See NSX-T Network below for details.
- Route
Advertisement stringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- Use
Ip boolSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - Vsphere
Networks List<ExternalNetwork V2Vsphere Network> - One or more blocks of vSphere Network..
- Dedicated
Org stringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- Description string
- Network friendly description
- External
Network stringV2Id - Ip
Scopes []ExternalNetwork V2Ip Scope Args - One or more IP scopes for the network. See IP Scope below for details.
- Name string
- A unique name for the network
- Nat
And stringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- Nsxt
Network ExternalNetwork V2Nsxt Network Args - NSX-T network definition. See NSX-T Network below for details.
- Route
Advertisement stringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- Use
Ip boolSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - Vsphere
Networks []ExternalNetwork V2Vsphere Network Args - One or more blocks of vSphere Network..
- dedicated
Org StringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- description String
- Network friendly description
- external
Network StringV2Id - ip
Scopes List<ExternalNetwork V2Ip Scope> - One or more IP scopes for the network. See IP Scope below for details.
- name String
- A unique name for the network
- nat
And StringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- nsxt
Network ExternalNetwork V2Nsxt Network - NSX-T network definition. See NSX-T Network below for details.
- route
Advertisement StringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- use
Ip BooleanSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - vsphere
Networks List<ExternalNetwork V2Vsphere Network> - One or more blocks of vSphere Network..
- dedicated
Org stringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- description string
- Network friendly description
- external
Network stringV2Id - ip
Scopes ExternalNetwork V2Ip Scope[] - One or more IP scopes for the network. See IP Scope below for details.
- name string
- A unique name for the network
- nat
And stringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- nsxt
Network ExternalNetwork V2Nsxt Network - NSX-T network definition. See NSX-T Network below for details.
- route
Advertisement stringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- use
Ip booleanSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - vsphere
Networks ExternalNetwork V2Vsphere Network[] - One or more blocks of vSphere Network..
- dedicated_
org_ strid - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- description str
- Network friendly description
- external_
network_ strv2_ id - ip_
scopes Sequence[ExternalNetwork V2Ip Scope Args] - One or more IP scopes for the network. See IP Scope below for details.
- name str
- A unique name for the network
- nat_
and_ strfirewall_ service_ intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- nsxt_
network ExternalNetwork V2Nsxt Network Args - NSX-T network definition. See NSX-T Network below for details.
- route_
advertisement_ strintention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- use_
ip_ boolspaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - vsphere_
networks Sequence[ExternalNetwork V2Vsphere Network Args] - One or more blocks of vSphere Network..
- dedicated
Org StringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- description String
- Network friendly description
- external
Network StringV2Id - ip
Scopes List<Property Map> - One or more IP scopes for the network. See IP Scope below for details.
- name String
- A unique name for the network
- nat
And StringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- nsxt
Network Property Map - NSX-T network definition. See NSX-T Network below for details.
- route
Advertisement StringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- use
Ip BooleanSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - vsphere
Networks List<Property Map> - One or more blocks of vSphere Network..
Outputs
All input properties are implicitly available as output properties. Additionally, the ExternalNetworkV2 resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ExternalNetworkV2 Resource
Get an existing ExternalNetworkV2 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?: ExternalNetworkV2State, opts?: CustomResourceOptions): ExternalNetworkV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dedicated_org_id: Optional[str] = None,
description: Optional[str] = None,
external_network_v2_id: Optional[str] = None,
ip_scopes: Optional[Sequence[ExternalNetworkV2IpScopeArgs]] = None,
name: Optional[str] = None,
nat_and_firewall_service_intention: Optional[str] = None,
nsxt_network: Optional[ExternalNetworkV2NsxtNetworkArgs] = None,
route_advertisement_intention: Optional[str] = None,
use_ip_spaces: Optional[bool] = None,
vsphere_networks: Optional[Sequence[ExternalNetworkV2VsphereNetworkArgs]] = None) -> ExternalNetworkV2
func GetExternalNetworkV2(ctx *Context, name string, id IDInput, state *ExternalNetworkV2State, opts ...ResourceOption) (*ExternalNetworkV2, error)
public static ExternalNetworkV2 Get(string name, Input<string> id, ExternalNetworkV2State? state, CustomResourceOptions? opts = null)
public static ExternalNetworkV2 get(String name, Output<String> id, ExternalNetworkV2State state, CustomResourceOptions options)
resources: _: type: vcd:ExternalNetworkV2 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.
- Dedicated
Org stringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- Description string
- Network friendly description
- External
Network stringV2Id - Ip
Scopes List<ExternalNetwork V2Ip Scope> - One or more IP scopes for the network. See IP Scope below for details.
- Name string
- A unique name for the network
- Nat
And stringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- Nsxt
Network ExternalNetwork V2Nsxt Network - NSX-T network definition. See NSX-T Network below for details.
- Route
Advertisement stringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- Use
Ip boolSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - Vsphere
Networks List<ExternalNetwork V2Vsphere Network> - One or more blocks of vSphere Network..
- Dedicated
Org stringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- Description string
- Network friendly description
- External
Network stringV2Id - Ip
Scopes []ExternalNetwork V2Ip Scope Args - One or more IP scopes for the network. See IP Scope below for details.
- Name string
- A unique name for the network
- Nat
And stringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- Nsxt
Network ExternalNetwork V2Nsxt Network Args - NSX-T network definition. See NSX-T Network below for details.
- Route
Advertisement stringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- Use
Ip boolSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - Vsphere
Networks []ExternalNetwork V2Vsphere Network Args - One or more blocks of vSphere Network..
- dedicated
Org StringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- description String
- Network friendly description
- external
Network StringV2Id - ip
Scopes List<ExternalNetwork V2Ip Scope> - One or more IP scopes for the network. See IP Scope below for details.
- name String
- A unique name for the network
- nat
And StringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- nsxt
Network ExternalNetwork V2Nsxt Network - NSX-T network definition. See NSX-T Network below for details.
- route
Advertisement StringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- use
Ip BooleanSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - vsphere
Networks List<ExternalNetwork V2Vsphere Network> - One or more blocks of vSphere Network..
- dedicated
Org stringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- description string
- Network friendly description
- external
Network stringV2Id - ip
Scopes ExternalNetwork V2Ip Scope[] - One or more IP scopes for the network. See IP Scope below for details.
- name string
- A unique name for the network
- nat
And stringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- nsxt
Network ExternalNetwork V2Nsxt Network - NSX-T network definition. See NSX-T Network below for details.
- route
Advertisement stringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- use
Ip booleanSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - vsphere
Networks ExternalNetwork V2Vsphere Network[] - One or more blocks of vSphere Network..
- dedicated_
org_ strid - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- description str
- Network friendly description
- external_
network_ strv2_ id - ip_
scopes Sequence[ExternalNetwork V2Ip Scope Args] - One or more IP scopes for the network. See IP Scope below for details.
- name str
- A unique name for the network
- nat_
and_ strfirewall_ service_ intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- nsxt_
network ExternalNetwork V2Nsxt Network Args - NSX-T network definition. See NSX-T Network below for details.
- route_
advertisement_ strintention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- use_
ip_ boolspaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - vsphere_
networks Sequence[ExternalNetwork V2Vsphere Network Args] - One or more blocks of vSphere Network..
- dedicated
Org StringId - An Org ID that this network should be
dedicated to. Only applicable when
use_ip_spaces=true
- description String
- Network friendly description
- external
Network StringV2Id - ip
Scopes List<Property Map> - One or more IP scopes for the network. See IP Scope below for details.
- name String
- A unique name for the network
- nat
And StringFirewall Service Intention - Configure intentions for
NAT and Firewall rule configuration:
EDGE_GATEWAY
- Allow management of NAT and firewall rules only on Edge Gateways. This is the default behavior.PROVIDER_GATEWAY
- Allow management of NAT and firewall rules only on Provider Gateways.PROVIDER_AND_EDGE_GATEWAY
- Allow management of NAT and firewall rules on both the Provider and Edge gateways.
- nsxt
Network Property Map - NSX-T network definition. See NSX-T Network below for details.
- route
Advertisement StringIntention Configure intentions for Org VDC network Route Advertisement:
IP_SPACE_UPLINKS_ADVERTISED_STRICT
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks cannot be configured to be advertised. This is the default behavior.IP_SPACE_UPLINKS_ADVERTISED_FLEXIBLE
- All networks within IP Space associated with IP Space Uplink will be advertised by default. This can be changed on an individual network level later, if necessary. All other networks outside of IP Spaces associated with IP Space Uplinks are not advertised by default but can be configured to be advertised after creation.ALL_NETWORKS_ADVERTISED
- All networks, regardless on whether they fall inside of any IP Spaces associated with IP Space Uplinks, will be advertised by default. This can be changed on an individual network level later, if necessary.
- use
Ip BooleanSpaces - Defines if the network uses IP Spaces. Do
not specify
ip_scope
when using IP Spaces. (defaultfalse
) - vsphere
Networks List<Property Map> - One or more blocks of vSphere Network..
Supporting Types
ExternalNetworkV2IpScope, ExternalNetworkV2IpScopeArgs
- Gateway string
- Gateway of the network
- Prefix
Length double - Network mask
- Dns1 string
- Primary DNS server
- Dns2 string
- Secondary DNS server
- Dns
Suffix string - DNS suffix
- Enabled bool
- If subnet is enabled
- Static
Ip List<ExternalPools Network V2Ip Scope Static Ip Pool> - IP ranges used for static pool allocation in the network
- Gateway string
- Gateway of the network
- Prefix
Length float64 - Network mask
- Dns1 string
- Primary DNS server
- Dns2 string
- Secondary DNS server
- Dns
Suffix string - DNS suffix
- Enabled bool
- If subnet is enabled
- Static
Ip []ExternalPools Network V2Ip Scope Static Ip Pool - IP ranges used for static pool allocation in the network
- gateway String
- Gateway of the network
- prefix
Length Double - Network mask
- dns1 String
- Primary DNS server
- dns2 String
- Secondary DNS server
- dns
Suffix String - DNS suffix
- enabled Boolean
- If subnet is enabled
- static
Ip List<ExternalPools Network V2Ip Scope Static Ip Pool> - IP ranges used for static pool allocation in the network
- gateway string
- Gateway of the network
- prefix
Length number - Network mask
- dns1 string
- Primary DNS server
- dns2 string
- Secondary DNS server
- dns
Suffix string - DNS suffix
- enabled boolean
- If subnet is enabled
- static
Ip ExternalPools Network V2Ip Scope Static Ip Pool[] - IP ranges used for static pool allocation in the network
- gateway str
- Gateway of the network
- prefix_
length float - Network mask
- dns1 str
- Primary DNS server
- dns2 str
- Secondary DNS server
- dns_
suffix str - DNS suffix
- enabled bool
- If subnet is enabled
- static_
ip_ Sequence[Externalpools Network V2Ip Scope Static Ip Pool] - IP ranges used for static pool allocation in the network
- gateway String
- Gateway of the network
- prefix
Length Number - Network mask
- dns1 String
- Primary DNS server
- dns2 String
- Secondary DNS server
- dns
Suffix String - DNS suffix
- enabled Boolean
- If subnet is enabled
- static
Ip List<Property Map>Pools - IP ranges used for static pool allocation in the network
ExternalNetworkV2IpScopeStaticIpPool, ExternalNetworkV2IpScopeStaticIpPoolArgs
- End
Address string - End address of the IP range
- Start
Address string - Start address of the IP range
- End
Address string - End address of the IP range
- Start
Address string - Start address of the IP range
- end
Address String - End address of the IP range
- start
Address String - Start address of the IP range
- end
Address string - End address of the IP range
- start
Address string - Start address of the IP range
- end_
address str - End address of the IP range
- start_
address str - Start address of the IP range
- end
Address String - End address of the IP range
- start
Address String - Start address of the IP range
ExternalNetworkV2NsxtNetwork, ExternalNetworkV2NsxtNetworkArgs
- Nsxt
Manager stringId - ID of NSX-T manager
- Nsxt
Segment stringName - Name of NSX-T segment (for NSX-T segment backed external network)
- Nsxt
Tier0Router stringId - ID of NSX-T Tier-0 router (for T0 gateway backed external network)
- Nsxt
Manager stringId - ID of NSX-T manager
- Nsxt
Segment stringName - Name of NSX-T segment (for NSX-T segment backed external network)
- Nsxt
Tier0Router stringId - ID of NSX-T Tier-0 router (for T0 gateway backed external network)
- nsxt
Manager StringId - ID of NSX-T manager
- nsxt
Segment StringName - Name of NSX-T segment (for NSX-T segment backed external network)
- nsxt
Tier0Router StringId - ID of NSX-T Tier-0 router (for T0 gateway backed external network)
- nsxt
Manager stringId - ID of NSX-T manager
- nsxt
Segment stringName - Name of NSX-T segment (for NSX-T segment backed external network)
- nsxt
Tier0Router stringId - ID of NSX-T Tier-0 router (for T0 gateway backed external network)
- nsxt_
manager_ strid - ID of NSX-T manager
- nsxt_
segment_ strname - Name of NSX-T segment (for NSX-T segment backed external network)
- nsxt_
tier0_ strrouter_ id - ID of NSX-T Tier-0 router (for T0 gateway backed external network)
- nsxt
Manager StringId - ID of NSX-T manager
- nsxt
Segment StringName - Name of NSX-T segment (for NSX-T segment backed external network)
- nsxt
Tier0Router StringId - ID of NSX-T Tier-0 router (for T0 gateway backed external network)
ExternalNetworkV2VsphereNetwork, ExternalNetworkV2VsphereNetworkArgs
- Portgroup
Id string - The name of the port group
- Vcenter
Id string - The vCenter server name
- Portgroup
Id string - The name of the port group
- Vcenter
Id string - The vCenter server name
- portgroup
Id String - The name of the port group
- vcenter
Id String - The vCenter server name
- portgroup
Id string - The name of the port group
- vcenter
Id string - The vCenter server name
- portgroup_
id str - The name of the port group
- vcenter_
id str - The vCenter server name
- portgroup
Id String - The name of the port group
- vcenter
Id String - The vCenter server name
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.