vcd.NetworkIsolatedV2
Explore with Pulumi AI
Create NetworkIsolatedV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkIsolatedV2(name: string, args: NetworkIsolatedV2Args, opts?: CustomResourceOptions);
@overload
def NetworkIsolatedV2(resource_name: str,
args: NetworkIsolatedV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkIsolatedV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
gateway: Optional[str] = None,
prefix_length: Optional[float] = None,
name: Optional[str] = None,
network_isolated_v2_id: Optional[str] = None,
dual_stack_enabled: Optional[bool] = None,
dns2: Optional[str] = None,
guest_vlan_allowed: Optional[bool] = None,
is_shared: Optional[bool] = None,
metadata: Optional[Mapping[str, str]] = None,
metadata_entries: Optional[Sequence[NetworkIsolatedV2MetadataEntryArgs]] = None,
description: Optional[str] = None,
dns_suffix: Optional[str] = None,
org: Optional[str] = None,
owner_id: Optional[str] = None,
dns1: Optional[str] = None,
secondary_gateway: Optional[str] = None,
secondary_prefix_length: Optional[str] = None,
secondary_static_ip_pools: Optional[Sequence[NetworkIsolatedV2SecondaryStaticIpPoolArgs]] = None,
static_ip_pools: Optional[Sequence[NetworkIsolatedV2StaticIpPoolArgs]] = None,
vdc: Optional[str] = None)
func NewNetworkIsolatedV2(ctx *Context, name string, args NetworkIsolatedV2Args, opts ...ResourceOption) (*NetworkIsolatedV2, error)
public NetworkIsolatedV2(string name, NetworkIsolatedV2Args args, CustomResourceOptions? opts = null)
public NetworkIsolatedV2(String name, NetworkIsolatedV2Args args)
public NetworkIsolatedV2(String name, NetworkIsolatedV2Args args, CustomResourceOptions options)
type: vcd:NetworkIsolatedV2
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 NetworkIsolatedV2Args
- 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 NetworkIsolatedV2Args
- 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 NetworkIsolatedV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkIsolatedV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkIsolatedV2Args
- 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 networkIsolatedV2Resource = new Vcd.NetworkIsolatedV2("networkIsolatedV2Resource", new()
{
Gateway = "string",
PrefixLength = 0,
Name = "string",
NetworkIsolatedV2Id = "string",
DualStackEnabled = false,
Dns2 = "string",
GuestVlanAllowed = false,
IsShared = false,
MetadataEntries = new[]
{
new Vcd.Inputs.NetworkIsolatedV2MetadataEntryArgs
{
IsSystem = false,
Key = "string",
Type = "string",
UserAccess = "string",
Value = "string",
},
},
Description = "string",
DnsSuffix = "string",
Org = "string",
OwnerId = "string",
Dns1 = "string",
SecondaryGateway = "string",
SecondaryPrefixLength = "string",
SecondaryStaticIpPools = new[]
{
new Vcd.Inputs.NetworkIsolatedV2SecondaryStaticIpPoolArgs
{
EndAddress = "string",
StartAddress = "string",
},
},
StaticIpPools = new[]
{
new Vcd.Inputs.NetworkIsolatedV2StaticIpPoolArgs
{
EndAddress = "string",
StartAddress = "string",
},
},
});
example, err := vcd.NewNetworkIsolatedV2(ctx, "networkIsolatedV2Resource", &vcd.NetworkIsolatedV2Args{
Gateway: pulumi.String("string"),
PrefixLength: pulumi.Float64(0),
Name: pulumi.String("string"),
NetworkIsolatedV2Id: pulumi.String("string"),
DualStackEnabled: pulumi.Bool(false),
Dns2: pulumi.String("string"),
GuestVlanAllowed: pulumi.Bool(false),
IsShared: pulumi.Bool(false),
MetadataEntries: vcd.NetworkIsolatedV2MetadataEntryArray{
&vcd.NetworkIsolatedV2MetadataEntryArgs{
IsSystem: pulumi.Bool(false),
Key: pulumi.String("string"),
Type: pulumi.String("string"),
UserAccess: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
DnsSuffix: pulumi.String("string"),
Org: pulumi.String("string"),
OwnerId: pulumi.String("string"),
Dns1: pulumi.String("string"),
SecondaryGateway: pulumi.String("string"),
SecondaryPrefixLength: pulumi.String("string"),
SecondaryStaticIpPools: vcd.NetworkIsolatedV2SecondaryStaticIpPoolArray{
&vcd.NetworkIsolatedV2SecondaryStaticIpPoolArgs{
EndAddress: pulumi.String("string"),
StartAddress: pulumi.String("string"),
},
},
StaticIpPools: vcd.NetworkIsolatedV2StaticIpPoolArray{
&vcd.NetworkIsolatedV2StaticIpPoolArgs{
EndAddress: pulumi.String("string"),
StartAddress: pulumi.String("string"),
},
},
})
var networkIsolatedV2Resource = new NetworkIsolatedV2("networkIsolatedV2Resource", NetworkIsolatedV2Args.builder()
.gateway("string")
.prefixLength(0)
.name("string")
.networkIsolatedV2Id("string")
.dualStackEnabled(false)
.dns2("string")
.guestVlanAllowed(false)
.isShared(false)
.metadataEntries(NetworkIsolatedV2MetadataEntryArgs.builder()
.isSystem(false)
.key("string")
.type("string")
.userAccess("string")
.value("string")
.build())
.description("string")
.dnsSuffix("string")
.org("string")
.ownerId("string")
.dns1("string")
.secondaryGateway("string")
.secondaryPrefixLength("string")
.secondaryStaticIpPools(NetworkIsolatedV2SecondaryStaticIpPoolArgs.builder()
.endAddress("string")
.startAddress("string")
.build())
.staticIpPools(NetworkIsolatedV2StaticIpPoolArgs.builder()
.endAddress("string")
.startAddress("string")
.build())
.build());
network_isolated_v2_resource = vcd.NetworkIsolatedV2("networkIsolatedV2Resource",
gateway="string",
prefix_length=0,
name="string",
network_isolated_v2_id="string",
dual_stack_enabled=False,
dns2="string",
guest_vlan_allowed=False,
is_shared=False,
metadata_entries=[{
"is_system": False,
"key": "string",
"type": "string",
"user_access": "string",
"value": "string",
}],
description="string",
dns_suffix="string",
org="string",
owner_id="string",
dns1="string",
secondary_gateway="string",
secondary_prefix_length="string",
secondary_static_ip_pools=[{
"end_address": "string",
"start_address": "string",
}],
static_ip_pools=[{
"end_address": "string",
"start_address": "string",
}])
const networkIsolatedV2Resource = new vcd.NetworkIsolatedV2("networkIsolatedV2Resource", {
gateway: "string",
prefixLength: 0,
name: "string",
networkIsolatedV2Id: "string",
dualStackEnabled: false,
dns2: "string",
guestVlanAllowed: false,
isShared: false,
metadataEntries: [{
isSystem: false,
key: "string",
type: "string",
userAccess: "string",
value: "string",
}],
description: "string",
dnsSuffix: "string",
org: "string",
ownerId: "string",
dns1: "string",
secondaryGateway: "string",
secondaryPrefixLength: "string",
secondaryStaticIpPools: [{
endAddress: "string",
startAddress: "string",
}],
staticIpPools: [{
endAddress: "string",
startAddress: "string",
}],
});
type: vcd:NetworkIsolatedV2
properties:
description: string
dns1: string
dns2: string
dnsSuffix: string
dualStackEnabled: false
gateway: string
guestVlanAllowed: false
isShared: false
metadataEntries:
- isSystem: false
key: string
type: string
userAccess: string
value: string
name: string
networkIsolatedV2Id: string
org: string
ownerId: string
prefixLength: 0
secondaryGateway: string
secondaryPrefixLength: string
secondaryStaticIpPools:
- endAddress: string
startAddress: string
staticIpPools:
- endAddress: string
startAddress: string
NetworkIsolatedV2 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 NetworkIsolatedV2 resource accepts the following input properties:
- Gateway string
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- Prefix
Length double - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- Description string
- An optional description of the network
- Dns1 string
- First DNS server to use.
- Dns2 string
- Second DNS server to use.
- Dns
Suffix string - A FQDN for the virtual machines on this network
- Dual
Stack boolEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - Guest
Vlan boolAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - bool
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - Metadata Dictionary<string, string>
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - Metadata
Entries List<NetworkIsolated V2Metadata Entry> - A set of metadata entries to assign. See Metadata section for details.
- Name string
- A unique name for the network
- Network
Isolated stringV2Id - Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Owner
Id string - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - Secondary
Gateway string - IPv6 gateway when Dual-Stack mode is enabled
- Secondary
Prefix stringLength - IPv6 prefix length when Dual-Stack mode is enabled
- Secondary
Static List<NetworkIp Pools Isolated V2Secondary Static Ip Pool> One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- Static
Ip List<NetworkPools Isolated V2Static Ip Pool> - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- Vdc string
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- Gateway string
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- Prefix
Length float64 - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- Description string
- An optional description of the network
- Dns1 string
- First DNS server to use.
- Dns2 string
- Second DNS server to use.
- Dns
Suffix string - A FQDN for the virtual machines on this network
- Dual
Stack boolEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - Guest
Vlan boolAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - bool
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - Metadata map[string]string
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - Metadata
Entries []NetworkIsolated V2Metadata Entry Args - A set of metadata entries to assign. See Metadata section for details.
- Name string
- A unique name for the network
- Network
Isolated stringV2Id - Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Owner
Id string - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - Secondary
Gateway string - IPv6 gateway when Dual-Stack mode is enabled
- Secondary
Prefix stringLength - IPv6 prefix length when Dual-Stack mode is enabled
- Secondary
Static []NetworkIp Pools Isolated V2Secondary Static Ip Pool Args One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- Static
Ip []NetworkPools Isolated V2Static Ip Pool Args - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- Vdc string
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- gateway String
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- prefix
Length Double - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- description String
- An optional description of the network
- dns1 String
- First DNS server to use.
- dns2 String
- Second DNS server to use.
- dns
Suffix String - A FQDN for the virtual machines on this network
- dual
Stack BooleanEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - guest
Vlan BooleanAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - Boolean
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - metadata Map<String,String>
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - metadata
Entries List<NetworkIsolated V2Metadata Entry> - A set of metadata entries to assign. See Metadata section for details.
- name String
- A unique name for the network
- network
Isolated StringV2Id - org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- owner
Id String - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - secondary
Gateway String - IPv6 gateway when Dual-Stack mode is enabled
- secondary
Prefix StringLength - IPv6 prefix length when Dual-Stack mode is enabled
- secondary
Static List<NetworkIp Pools Isolated V2Secondary Static Ip Pool> One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- static
Ip List<NetworkPools Isolated V2Static Ip Pool> - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vdc String
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- gateway string
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- prefix
Length number - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- description string
- An optional description of the network
- dns1 string
- First DNS server to use.
- dns2 string
- Second DNS server to use.
- dns
Suffix string - A FQDN for the virtual machines on this network
- dual
Stack booleanEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - guest
Vlan booleanAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - boolean
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - metadata {[key: string]: string}
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - metadata
Entries NetworkIsolated V2Metadata Entry[] - A set of metadata entries to assign. See Metadata section for details.
- name string
- A unique name for the network
- network
Isolated stringV2Id - org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- owner
Id string - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - secondary
Gateway string - IPv6 gateway when Dual-Stack mode is enabled
- secondary
Prefix stringLength - IPv6 prefix length when Dual-Stack mode is enabled
- secondary
Static NetworkIp Pools Isolated V2Secondary Static Ip Pool[] One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- static
Ip NetworkPools Isolated V2Static Ip Pool[] - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vdc string
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- gateway str
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- prefix_
length float - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- description str
- An optional description of the network
- dns1 str
- First DNS server to use.
- dns2 str
- Second DNS server to use.
- dns_
suffix str - A FQDN for the virtual machines on this network
- dual_
stack_ boolenabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - guest_
vlan_ boolallowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - bool
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - metadata Mapping[str, str]
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - metadata_
entries Sequence[NetworkIsolated V2Metadata Entry Args] - A set of metadata entries to assign. See Metadata section for details.
- name str
- A unique name for the network
- network_
isolated_ strv2_ id - org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- owner_
id str - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - secondary_
gateway str - IPv6 gateway when Dual-Stack mode is enabled
- secondary_
prefix_ strlength - IPv6 prefix length when Dual-Stack mode is enabled
- secondary_
static_ Sequence[Networkip_ pools Isolated V2Secondary Static Ip Pool Args] One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- static_
ip_ Sequence[Networkpools Isolated V2Static Ip Pool Args] - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vdc str
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- gateway String
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- prefix
Length Number - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- description String
- An optional description of the network
- dns1 String
- First DNS server to use.
- dns2 String
- Second DNS server to use.
- dns
Suffix String - A FQDN for the virtual machines on this network
- dual
Stack BooleanEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - guest
Vlan BooleanAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - Boolean
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - metadata Map<String>
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - metadata
Entries List<Property Map> - A set of metadata entries to assign. See Metadata section for details.
- name String
- A unique name for the network
- network
Isolated StringV2Id - org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- owner
Id String - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - secondary
Gateway String - IPv6 gateway when Dual-Stack mode is enabled
- secondary
Prefix StringLength - IPv6 prefix length when Dual-Stack mode is enabled
- secondary
Static List<Property Map>Ip Pools One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- static
Ip List<Property Map>Pools - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vdc String
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkIsolatedV2 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 NetworkIsolatedV2 Resource
Get an existing NetworkIsolatedV2 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?: NetworkIsolatedV2State, opts?: CustomResourceOptions): NetworkIsolatedV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
dns1: Optional[str] = None,
dns2: Optional[str] = None,
dns_suffix: Optional[str] = None,
dual_stack_enabled: Optional[bool] = None,
gateway: Optional[str] = None,
guest_vlan_allowed: Optional[bool] = None,
is_shared: Optional[bool] = None,
metadata: Optional[Mapping[str, str]] = None,
metadata_entries: Optional[Sequence[NetworkIsolatedV2MetadataEntryArgs]] = None,
name: Optional[str] = None,
network_isolated_v2_id: Optional[str] = None,
org: Optional[str] = None,
owner_id: Optional[str] = None,
prefix_length: Optional[float] = None,
secondary_gateway: Optional[str] = None,
secondary_prefix_length: Optional[str] = None,
secondary_static_ip_pools: Optional[Sequence[NetworkIsolatedV2SecondaryStaticIpPoolArgs]] = None,
static_ip_pools: Optional[Sequence[NetworkIsolatedV2StaticIpPoolArgs]] = None,
vdc: Optional[str] = None) -> NetworkIsolatedV2
func GetNetworkIsolatedV2(ctx *Context, name string, id IDInput, state *NetworkIsolatedV2State, opts ...ResourceOption) (*NetworkIsolatedV2, error)
public static NetworkIsolatedV2 Get(string name, Input<string> id, NetworkIsolatedV2State? state, CustomResourceOptions? opts = null)
public static NetworkIsolatedV2 get(String name, Output<String> id, NetworkIsolatedV2State state, CustomResourceOptions options)
resources: _: type: vcd:NetworkIsolatedV2 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- An optional description of the network
- Dns1 string
- First DNS server to use.
- Dns2 string
- Second DNS server to use.
- Dns
Suffix string - A FQDN for the virtual machines on this network
- Dual
Stack boolEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - Gateway string
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- Guest
Vlan boolAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - bool
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - Metadata Dictionary<string, string>
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - Metadata
Entries List<NetworkIsolated V2Metadata Entry> - A set of metadata entries to assign. See Metadata section for details.
- Name string
- A unique name for the network
- Network
Isolated stringV2Id - Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Owner
Id string - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - Prefix
Length double - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- Secondary
Gateway string - IPv6 gateway when Dual-Stack mode is enabled
- Secondary
Prefix stringLength - IPv6 prefix length when Dual-Stack mode is enabled
- Secondary
Static List<NetworkIp Pools Isolated V2Secondary Static Ip Pool> One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- Static
Ip List<NetworkPools Isolated V2Static Ip Pool> - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- Vdc string
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- Description string
- An optional description of the network
- Dns1 string
- First DNS server to use.
- Dns2 string
- Second DNS server to use.
- Dns
Suffix string - A FQDN for the virtual machines on this network
- Dual
Stack boolEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - Gateway string
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- Guest
Vlan boolAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - bool
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - Metadata map[string]string
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - Metadata
Entries []NetworkIsolated V2Metadata Entry Args - A set of metadata entries to assign. See Metadata section for details.
- Name string
- A unique name for the network
- Network
Isolated stringV2Id - Org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- Owner
Id string - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - Prefix
Length float64 - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- Secondary
Gateway string - IPv6 gateway when Dual-Stack mode is enabled
- Secondary
Prefix stringLength - IPv6 prefix length when Dual-Stack mode is enabled
- Secondary
Static []NetworkIp Pools Isolated V2Secondary Static Ip Pool Args One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- Static
Ip []NetworkPools Isolated V2Static Ip Pool Args - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- Vdc string
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- description String
- An optional description of the network
- dns1 String
- First DNS server to use.
- dns2 String
- Second DNS server to use.
- dns
Suffix String - A FQDN for the virtual machines on this network
- dual
Stack BooleanEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - gateway String
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- guest
Vlan BooleanAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - Boolean
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - metadata Map<String,String>
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - metadata
Entries List<NetworkIsolated V2Metadata Entry> - A set of metadata entries to assign. See Metadata section for details.
- name String
- A unique name for the network
- network
Isolated StringV2Id - org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- owner
Id String - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - prefix
Length Double - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- secondary
Gateway String - IPv6 gateway when Dual-Stack mode is enabled
- secondary
Prefix StringLength - IPv6 prefix length when Dual-Stack mode is enabled
- secondary
Static List<NetworkIp Pools Isolated V2Secondary Static Ip Pool> One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- static
Ip List<NetworkPools Isolated V2Static Ip Pool> - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vdc String
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- description string
- An optional description of the network
- dns1 string
- First DNS server to use.
- dns2 string
- Second DNS server to use.
- dns
Suffix string - A FQDN for the virtual machines on this network
- dual
Stack booleanEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - gateway string
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- guest
Vlan booleanAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - boolean
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - metadata {[key: string]: string}
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - metadata
Entries NetworkIsolated V2Metadata Entry[] - A set of metadata entries to assign. See Metadata section for details.
- name string
- A unique name for the network
- network
Isolated stringV2Id - org string
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- owner
Id string - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - prefix
Length number - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- secondary
Gateway string - IPv6 gateway when Dual-Stack mode is enabled
- secondary
Prefix stringLength - IPv6 prefix length when Dual-Stack mode is enabled
- secondary
Static NetworkIp Pools Isolated V2Secondary Static Ip Pool[] One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- static
Ip NetworkPools Isolated V2Static Ip Pool[] - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vdc string
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- description str
- An optional description of the network
- dns1 str
- First DNS server to use.
- dns2 str
- Second DNS server to use.
- dns_
suffix str - A FQDN for the virtual machines on this network
- dual_
stack_ boolenabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - gateway str
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- guest_
vlan_ boolallowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - bool
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - metadata Mapping[str, str]
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - metadata_
entries Sequence[NetworkIsolated V2Metadata Entry Args] - A set of metadata entries to assign. See Metadata section for details.
- name str
- A unique name for the network
- network_
isolated_ strv2_ id - org str
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- owner_
id str - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - prefix_
length float - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- secondary_
gateway str - IPv6 gateway when Dual-Stack mode is enabled
- secondary_
prefix_ strlength - IPv6 prefix length when Dual-Stack mode is enabled
- secondary_
static_ Sequence[Networkip_ pools Isolated V2Secondary Static Ip Pool Args] One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- static_
ip_ Sequence[Networkpools Isolated V2Static Ip Pool Args] - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vdc str
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
- description String
- An optional description of the network
- dns1 String
- First DNS server to use.
- dns2 String
- Second DNS server to use.
- dns
Suffix String - A FQDN for the virtual machines on this network
- dual
Stack BooleanEnabled - Enables Dual-Stack mode so that one can configure one
IPv4 and one IPv6 networks. Note In such case IPv4 addresses must be used in
gateway
,prefix_length
andstatic_ip_pool
while IPv6 addresses insecondary_gateway
,secondary_prefix_length
andsecondary_static_ip_pool
fields. - gateway String
- The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
- guest
Vlan BooleanAllowed - Set to
true
if network should allow guest VLAN tagging. Defaultfalse
. - Boolean
- NSX-V only. Defines if this network is shared between multiple VDCs
in the Org. Defaults to
false
. - metadata Map<String>
- Use
metadata_entry
instead. Key value map of metadata to assign to this network. Not supported if the network belongs to a VDC Group. - metadata
Entries List<Property Map> - A set of metadata entries to assign. See Metadata section for details.
- name String
- A unique name for the network
- network
Isolated StringV2Id - org String
- The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
- owner
Id String - VDC or VDC Group ID. Always takes precedence over
vdc
fields (in resource and inherited from provider configuration) - prefix
Length Number - The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
- secondary
Gateway String - IPv6 gateway when Dual-Stack mode is enabled
- secondary
Prefix StringLength - IPv6 prefix length when Dual-Stack mode is enabled
- secondary
Static List<Property Map>Ip Pools One or more IPv6 static pools when Dual-Stack mode is enabled
When using IPv6, VCD API will expand IP Addresses if they are specified using double colon notation and it will cause inconsistent plan. (e.g.
2002::1234:abcd:ffff:c0a6:121
will be converted to2002:0:0:1234:abcd:ffff:c0a6:121
)- static
Ip List<Property Map>Pools - A range of IPs permitted to be used as static IPs for virtual machines; see IP Pools below for details.
- vdc String
- The name of VDC to use. Deprecated in favor of new field
owner_id
which supports VDC and VDC Group IDs.
Supporting Types
NetworkIsolatedV2MetadataEntry, NetworkIsolatedV2MetadataEntryArgs
- Is
System bool - Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
- Key string
- Key of this metadata entry. Required if the metadata entry is not empty
- Type string
- Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
- User
Access string - User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
- Value string
- Value of this metadata entry. Required if the metadata entry is not empty
- Is
System bool - Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
- Key string
- Key of this metadata entry. Required if the metadata entry is not empty
- Type string
- Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
- User
Access string - User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
- Value string
- Value of this metadata entry. Required if the metadata entry is not empty
- is
System Boolean - Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
- key String
- Key of this metadata entry. Required if the metadata entry is not empty
- type String
- Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
- user
Access String - User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
- value String
- Value of this metadata entry. Required if the metadata entry is not empty
- is
System boolean - Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
- key string
- Key of this metadata entry. Required if the metadata entry is not empty
- type string
- Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
- user
Access string - User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
- value string
- Value of this metadata entry. Required if the metadata entry is not empty
- is_
system bool - Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
- key str
- Key of this metadata entry. Required if the metadata entry is not empty
- type str
- Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
- user_
access str - User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
- value str
- Value of this metadata entry. Required if the metadata entry is not empty
- is
System Boolean - Domain for this metadata entry. true, if it belongs to SYSTEM. false, if it belongs to GENERAL
- key String
- Key of this metadata entry. Required if the metadata entry is not empty
- type String
- Type of this metadata entry. One of: 'MetadataStringValue', 'MetadataNumberValue', 'MetadataBooleanValue', 'MetadataDateTimeValue'
- user
Access String - User access level for this metadata entry. One of: 'READWRITE', 'READONLY', 'PRIVATE'
- value String
- Value of this metadata entry. Required if the metadata entry is not empty
NetworkIsolatedV2SecondaryStaticIpPool, NetworkIsolatedV2SecondaryStaticIpPoolArgs
- 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
NetworkIsolatedV2StaticIpPool, NetworkIsolatedV2StaticIpPoolArgs
- 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
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.