1. Packages
  2. Vcd Provider
  3. API Docs
  4. NetworkIsolatedV2
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.NetworkIsolatedV2

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    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)
    PrefixLength 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.
    DnsSuffix string
    A FQDN for the virtual machines on this network
    DualStackEnabled bool
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_static_ip_pool fields.
    GuestVlanAllowed bool
    Set to true if network should allow guest VLAN tagging. Default false.
    IsShared 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.

    Deprecated: Deprecated

    MetadataEntries List<NetworkIsolatedV2MetadataEntry>
    A set of metadata entries to assign. See Metadata section for details.
    Name string
    A unique name for the network
    NetworkIsolatedV2Id string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    OwnerId string
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    SecondaryGateway string
    IPv6 gateway when Dual-Stack mode is enabled
    SecondaryPrefixLength string
    IPv6 prefix length when Dual-Stack mode is enabled
    SecondaryStaticIpPools List<NetworkIsolatedV2SecondaryStaticIpPool>

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    StaticIpPools List<NetworkIsolatedV2StaticIpPool>
    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.

    Deprecated: Deprecated

    Gateway string
    The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
    PrefixLength 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.
    DnsSuffix string
    A FQDN for the virtual machines on this network
    DualStackEnabled bool
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_static_ip_pool fields.
    GuestVlanAllowed bool
    Set to true if network should allow guest VLAN tagging. Default false.
    IsShared 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.

    Deprecated: Deprecated

    MetadataEntries []NetworkIsolatedV2MetadataEntryArgs
    A set of metadata entries to assign. See Metadata section for details.
    Name string
    A unique name for the network
    NetworkIsolatedV2Id string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    OwnerId string
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    SecondaryGateway string
    IPv6 gateway when Dual-Stack mode is enabled
    SecondaryPrefixLength string
    IPv6 prefix length when Dual-Stack mode is enabled
    SecondaryStaticIpPools []NetworkIsolatedV2SecondaryStaticIpPoolArgs

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    StaticIpPools []NetworkIsolatedV2StaticIpPoolArgs
    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.

    Deprecated: Deprecated

    gateway String
    The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
    prefixLength 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.
    dnsSuffix String
    A FQDN for the virtual machines on this network
    dualStackEnabled Boolean
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_static_ip_pool fields.
    guestVlanAllowed Boolean
    Set to true if network should allow guest VLAN tagging. Default false.
    isShared 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.

    Deprecated: Deprecated

    metadataEntries List<NetworkIsolatedV2MetadataEntry>
    A set of metadata entries to assign. See Metadata section for details.
    name String
    A unique name for the network
    networkIsolatedV2Id String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerId String
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    secondaryGateway String
    IPv6 gateway when Dual-Stack mode is enabled
    secondaryPrefixLength String
    IPv6 prefix length when Dual-Stack mode is enabled
    secondaryStaticIpPools List<NetworkIsolatedV2SecondaryStaticIpPool>

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    staticIpPools List<NetworkIsolatedV2StaticIpPool>
    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.

    Deprecated: Deprecated

    gateway string
    The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
    prefixLength 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.
    dnsSuffix string
    A FQDN for the virtual machines on this network
    dualStackEnabled boolean
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_static_ip_pool fields.
    guestVlanAllowed boolean
    Set to true if network should allow guest VLAN tagging. Default false.
    isShared 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.

    Deprecated: Deprecated

    metadataEntries NetworkIsolatedV2MetadataEntry[]
    A set of metadata entries to assign. See Metadata section for details.
    name string
    A unique name for the network
    networkIsolatedV2Id string
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerId string
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    secondaryGateway string
    IPv6 gateway when Dual-Stack mode is enabled
    secondaryPrefixLength string
    IPv6 prefix length when Dual-Stack mode is enabled
    secondaryStaticIpPools NetworkIsolatedV2SecondaryStaticIpPool[]

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    staticIpPools NetworkIsolatedV2StaticIpPool[]
    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.

    Deprecated: Deprecated

    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_enabled bool
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_static_ip_pool fields.
    guest_vlan_allowed bool
    Set to true if network should allow guest VLAN tagging. Default false.
    is_shared 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.

    Deprecated: Deprecated

    metadata_entries Sequence[NetworkIsolatedV2MetadataEntryArgs]
    A set of metadata entries to assign. See Metadata section for details.
    name str
    A unique name for the network
    network_isolated_v2_id str
    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_length str
    IPv6 prefix length when Dual-Stack mode is enabled
    secondary_static_ip_pools Sequence[NetworkIsolatedV2SecondaryStaticIpPoolArgs]

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    static_ip_pools Sequence[NetworkIsolatedV2StaticIpPoolArgs]
    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.

    Deprecated: Deprecated

    gateway String
    The gateway for this network (e.g. 192.168.1.1, 2002:0:0:1234:abcd:ffff:c0a7:121)
    prefixLength 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.
    dnsSuffix String
    A FQDN for the virtual machines on this network
    dualStackEnabled Boolean
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_static_ip_pool fields.
    guestVlanAllowed Boolean
    Set to true if network should allow guest VLAN tagging. Default false.
    isShared 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.

    Deprecated: Deprecated

    metadataEntries List<Property Map>
    A set of metadata entries to assign. See Metadata section for details.
    name String
    A unique name for the network
    networkIsolatedV2Id String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerId String
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    secondaryGateway String
    IPv6 gateway when Dual-Stack mode is enabled
    secondaryPrefixLength String
    IPv6 prefix length when Dual-Stack mode is enabled
    secondaryStaticIpPools List<Property Map>

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    staticIpPools List<Property Map>
    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.

    Deprecated: Deprecated

    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.
    The following state arguments are supported:
    Description string
    An optional description of the network
    Dns1 string
    First DNS server to use.
    Dns2 string
    Second DNS server to use.
    DnsSuffix string
    A FQDN for the virtual machines on this network
    DualStackEnabled bool
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_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)
    GuestVlanAllowed bool
    Set to true if network should allow guest VLAN tagging. Default false.
    IsShared 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.

    Deprecated: Deprecated

    MetadataEntries List<NetworkIsolatedV2MetadataEntry>
    A set of metadata entries to assign. See Metadata section for details.
    Name string
    A unique name for the network
    NetworkIsolatedV2Id string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    OwnerId string
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    PrefixLength double
    The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
    SecondaryGateway string
    IPv6 gateway when Dual-Stack mode is enabled
    SecondaryPrefixLength string
    IPv6 prefix length when Dual-Stack mode is enabled
    SecondaryStaticIpPools List<NetworkIsolatedV2SecondaryStaticIpPool>

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    StaticIpPools List<NetworkIsolatedV2StaticIpPool>
    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.

    Deprecated: Deprecated

    Description string
    An optional description of the network
    Dns1 string
    First DNS server to use.
    Dns2 string
    Second DNS server to use.
    DnsSuffix string
    A FQDN for the virtual machines on this network
    DualStackEnabled bool
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_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)
    GuestVlanAllowed bool
    Set to true if network should allow guest VLAN tagging. Default false.
    IsShared 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.

    Deprecated: Deprecated

    MetadataEntries []NetworkIsolatedV2MetadataEntryArgs
    A set of metadata entries to assign. See Metadata section for details.
    Name string
    A unique name for the network
    NetworkIsolatedV2Id string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    OwnerId string
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    PrefixLength float64
    The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
    SecondaryGateway string
    IPv6 gateway when Dual-Stack mode is enabled
    SecondaryPrefixLength string
    IPv6 prefix length when Dual-Stack mode is enabled
    SecondaryStaticIpPools []NetworkIsolatedV2SecondaryStaticIpPoolArgs

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    StaticIpPools []NetworkIsolatedV2StaticIpPoolArgs
    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.

    Deprecated: Deprecated

    description String
    An optional description of the network
    dns1 String
    First DNS server to use.
    dns2 String
    Second DNS server to use.
    dnsSuffix String
    A FQDN for the virtual machines on this network
    dualStackEnabled Boolean
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_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)
    guestVlanAllowed Boolean
    Set to true if network should allow guest VLAN tagging. Default false.
    isShared 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.

    Deprecated: Deprecated

    metadataEntries List<NetworkIsolatedV2MetadataEntry>
    A set of metadata entries to assign. See Metadata section for details.
    name String
    A unique name for the network
    networkIsolatedV2Id String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerId String
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    prefixLength Double
    The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
    secondaryGateway String
    IPv6 gateway when Dual-Stack mode is enabled
    secondaryPrefixLength String
    IPv6 prefix length when Dual-Stack mode is enabled
    secondaryStaticIpPools List<NetworkIsolatedV2SecondaryStaticIpPool>

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    staticIpPools List<NetworkIsolatedV2StaticIpPool>
    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.

    Deprecated: Deprecated

    description string
    An optional description of the network
    dns1 string
    First DNS server to use.
    dns2 string
    Second DNS server to use.
    dnsSuffix string
    A FQDN for the virtual machines on this network
    dualStackEnabled boolean
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_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)
    guestVlanAllowed boolean
    Set to true if network should allow guest VLAN tagging. Default false.
    isShared 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.

    Deprecated: Deprecated

    metadataEntries NetworkIsolatedV2MetadataEntry[]
    A set of metadata entries to assign. See Metadata section for details.
    name string
    A unique name for the network
    networkIsolatedV2Id string
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerId string
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    prefixLength number
    The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
    secondaryGateway string
    IPv6 gateway when Dual-Stack mode is enabled
    secondaryPrefixLength string
    IPv6 prefix length when Dual-Stack mode is enabled
    secondaryStaticIpPools NetworkIsolatedV2SecondaryStaticIpPool[]

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    staticIpPools NetworkIsolatedV2StaticIpPool[]
    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.

    Deprecated: Deprecated

    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_enabled bool
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_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_allowed bool
    Set to true if network should allow guest VLAN tagging. Default false.
    is_shared 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.

    Deprecated: Deprecated

    metadata_entries Sequence[NetworkIsolatedV2MetadataEntryArgs]
    A set of metadata entries to assign. See Metadata section for details.
    name str
    A unique name for the network
    network_isolated_v2_id str
    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_length str
    IPv6 prefix length when Dual-Stack mode is enabled
    secondary_static_ip_pools Sequence[NetworkIsolatedV2SecondaryStaticIpPoolArgs]

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    static_ip_pools Sequence[NetworkIsolatedV2StaticIpPoolArgs]
    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.

    Deprecated: Deprecated

    description String
    An optional description of the network
    dns1 String
    First DNS server to use.
    dns2 String
    Second DNS server to use.
    dnsSuffix String
    A FQDN for the virtual machines on this network
    dualStackEnabled Boolean
    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 and static_ip_pool while IPv6 addresses in secondary_gateway, secondary_prefix_length and secondary_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)
    guestVlanAllowed Boolean
    Set to true if network should allow guest VLAN tagging. Default false.
    isShared 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.

    Deprecated: Deprecated

    metadataEntries List<Property Map>
    A set of metadata entries to assign. See Metadata section for details.
    name String
    A unique name for the network
    networkIsolatedV2Id String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisations
    ownerId String
    VDC or VDC Group ID. Always takes precedence over vdc fields (in resource and inherited from provider configuration)
    prefixLength Number
    The prefix length for the new network (e.g. 24 for netmask 255.255.255.0).
    secondaryGateway String
    IPv6 gateway when Dual-Stack mode is enabled
    secondaryPrefixLength String
    IPv6 prefix length when Dual-Stack mode is enabled
    secondaryStaticIpPools List<Property Map>

    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 to 2002:0:0:1234:abcd:ffff:c0a6:121)

    staticIpPools List<Property Map>
    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.

    Deprecated: Deprecated

    Supporting Types

    NetworkIsolatedV2MetadataEntry, NetworkIsolatedV2MetadataEntryArgs

    IsSystem 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'
    UserAccess 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
    IsSystem 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'
    UserAccess 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
    isSystem 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'
    userAccess 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
    isSystem 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'
    userAccess 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
    isSystem 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'
    userAccess 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

    EndAddress string
    End address of the IP range
    StartAddress string
    Start address of the IP range
    EndAddress string
    End address of the IP range
    StartAddress string
    Start address of the IP range
    endAddress String
    End address of the IP range
    startAddress String
    Start address of the IP range
    endAddress string
    End address of the IP range
    startAddress 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
    endAddress String
    End address of the IP range
    startAddress String
    Start address of the IP range

    NetworkIsolatedV2StaticIpPool, NetworkIsolatedV2StaticIpPoolArgs

    EndAddress string
    End address of the IP range
    StartAddress string
    Start address of the IP range
    EndAddress string
    End address of the IP range
    StartAddress string
    Start address of the IP range
    endAddress String
    End address of the IP range
    startAddress String
    Start address of the IP range
    endAddress string
    End address of the IP range
    startAddress 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
    endAddress String
    End address of the IP range
    startAddress 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.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware