1. Packages
  2. Packages
  3. Nutanix
  4. API Docs
  5. SubnetV2
Viewing docs for Nutanix v0.15.1
published on Friday, May 22, 2026 by Piers Karsenbarg
nutanix logo
Viewing docs for Nutanix v0.15.1
published on Friday, May 22, 2026 by Piers Karsenbarg

    Provides a resource to create a subnet based on the input parameters.

    Example

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    //creating subnet with IP pool
    const vlan_112 = new nutanix.SubnetV2("vlan-112", {
        name: "vlan-112",
        description: "subnet VLAN 112 managed by Terraform with IP pool",
        clusterReference: "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
        subnetType: "VLAN",
        networkId: 122,
        isExternal: true,
        ipConfigs: [{
            ipv4s: [{
                ipSubnets: [{
                    ips: [{
                        value: "192.168.0.0",
                    }],
                    prefixLength: 24,
                }],
                defaultGatewayIps: [{
                    value: "192.168.0.1",
                }],
                poolLists: [{
                    startIps: [{
                        value: "192.168.0.20",
                    }],
                    endIps: [{
                        value: "192.168.0.30",
                    }],
                }],
            }],
        }],
    });
    //creating subnet without IP pool
    const vlan_113 = new nutanix.SubnetV2("vlan-113", {
        name: "vlan-113",
        description: "subnet VLAN 113 managed by Terraform",
        clusterReference: "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
        subnetType: "VLAN",
        networkId: 113,
    });
    // creating subnet with IP pool and DHCP options
    const van_114 = new nutanix.SubnetV2("van-114", {
        name: "vlan-114",
        description: "subnet VLAN 114 managed by Terraform",
        clusterReference: "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
        subnetType: "VLAN",
        networkId: 114,
        ipConfigs: [{
            ipv4s: [{
                ipSubnets: [{
                    ips: [{
                        value: "192.168.0.0",
                    }],
                    prefixLength: 24,
                }],
                defaultGatewayIps: [{
                    value: "192.168.0.1",
                }],
                poolLists: [{
                    startIps: [{
                        value: "192.168.0.20",
                    }],
                    endIps: [{
                        value: "192.168.0.30",
                    }],
                }],
            }],
        }],
        dhcpOptions: [{
            domainNameServers: [{
                ipv4s: [{
                    value: "8.8.8.8",
                }],
            }],
            searchDomains: ["eng.nutanix.com"],
            domainName: "nutanix.com",
            tftpServerName: "10.5.0.10",
            bootFileName: "pxelinux.0",
        }],
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    #creating subnet with IP pool
    vlan_112 = nutanix.SubnetV2("vlan-112",
        name="vlan-112",
        description="subnet VLAN 112 managed by Terraform with IP pool",
        cluster_reference="a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
        subnet_type="VLAN",
        network_id=122,
        is_external=True,
        ip_configs=[{
            "ipv4s": [{
                "ip_subnets": [{
                    "ips": [{
                        "value": "192.168.0.0",
                    }],
                    "prefix_length": 24,
                }],
                "default_gateway_ips": [{
                    "value": "192.168.0.1",
                }],
                "pool_lists": [{
                    "start_ips": [{
                        "value": "192.168.0.20",
                    }],
                    "end_ips": [{
                        "value": "192.168.0.30",
                    }],
                }],
            }],
        }])
    #creating subnet without IP pool
    vlan_113 = nutanix.SubnetV2("vlan-113",
        name="vlan-113",
        description="subnet VLAN 113 managed by Terraform",
        cluster_reference="a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
        subnet_type="VLAN",
        network_id=113)
    # creating subnet with IP pool and DHCP options
    van_114 = nutanix.SubnetV2("van-114",
        name="vlan-114",
        description="subnet VLAN 114 managed by Terraform",
        cluster_reference="a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
        subnet_type="VLAN",
        network_id=114,
        ip_configs=[{
            "ipv4s": [{
                "ip_subnets": [{
                    "ips": [{
                        "value": "192.168.0.0",
                    }],
                    "prefix_length": 24,
                }],
                "default_gateway_ips": [{
                    "value": "192.168.0.1",
                }],
                "pool_lists": [{
                    "start_ips": [{
                        "value": "192.168.0.20",
                    }],
                    "end_ips": [{
                        "value": "192.168.0.30",
                    }],
                }],
            }],
        }],
        dhcp_options=[{
            "domain_name_servers": [{
                "ipv4s": [{
                    "value": "8.8.8.8",
                }],
            }],
            "search_domains": ["eng.nutanix.com"],
            "domain_name": "nutanix.com",
            "tftp_server_name": "10.5.0.10",
            "boot_file_name": "pxelinux.0",
        }])
    
    package main
    
    import (
    	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// creating subnet with IP pool
    		_, err := nutanix.NewSubnetV2(ctx, "vlan-112", &nutanix.SubnetV2Args{
    			Name:             pulumi.String("vlan-112"),
    			Description:      pulumi.String("subnet VLAN 112 managed by Terraform with IP pool"),
    			ClusterReference: pulumi.String("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"),
    			SubnetType:       pulumi.String("VLAN"),
    			NetworkId:        pulumi.Int(122),
    			IsExternal:       pulumi.Bool(true),
    			IpConfigs: nutanix.SubnetV2IpConfigArray{
    				&nutanix.SubnetV2IpConfigArgs{
    					Ipv4s: nutanix.SubnetV2IpConfigIpv4Array{
    						&nutanix.SubnetV2IpConfigIpv4Args{
    							IpSubnets: nutanix.SubnetV2IpConfigIpv4IpSubnetArray{
    								&nutanix.SubnetV2IpConfigIpv4IpSubnetArgs{
    									Ips: nutanix.SubnetV2IpConfigIpv4IpSubnetIpArray{
    										&nutanix.SubnetV2IpConfigIpv4IpSubnetIpArgs{
    											Value: pulumi.String("192.168.0.0"),
    										},
    									},
    									PrefixLength: pulumi.Int(24),
    								},
    							},
    							DefaultGatewayIps: nutanix.SubnetV2IpConfigIpv4DefaultGatewayIpArray{
    								&nutanix.SubnetV2IpConfigIpv4DefaultGatewayIpArgs{
    									Value: pulumi.String("192.168.0.1"),
    								},
    							},
    							PoolLists: nutanix.SubnetV2IpConfigIpv4PoolListArray{
    								&nutanix.SubnetV2IpConfigIpv4PoolListArgs{
    									StartIps: nutanix.SubnetV2IpConfigIpv4PoolListStartIpArray{
    										&nutanix.SubnetV2IpConfigIpv4PoolListStartIpArgs{
    											Value: pulumi.String("192.168.0.20"),
    										},
    									},
    									EndIps: nutanix.SubnetV2IpConfigIpv4PoolListEndIpArray{
    										&nutanix.SubnetV2IpConfigIpv4PoolListEndIpArgs{
    											Value: pulumi.String("192.168.0.30"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// creating subnet without IP pool
    		_, err = nutanix.NewSubnetV2(ctx, "vlan-113", &nutanix.SubnetV2Args{
    			Name:             pulumi.String("vlan-113"),
    			Description:      pulumi.String("subnet VLAN 113 managed by Terraform"),
    			ClusterReference: pulumi.String("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"),
    			SubnetType:       pulumi.String("VLAN"),
    			NetworkId:        pulumi.Int(113),
    		})
    		if err != nil {
    			return err
    		}
    		// creating subnet with IP pool and DHCP options
    		_, err = nutanix.NewSubnetV2(ctx, "van-114", &nutanix.SubnetV2Args{
    			Name:             pulumi.String("vlan-114"),
    			Description:      pulumi.String("subnet VLAN 114 managed by Terraform"),
    			ClusterReference: pulumi.String("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"),
    			SubnetType:       pulumi.String("VLAN"),
    			NetworkId:        pulumi.Int(114),
    			IpConfigs: nutanix.SubnetV2IpConfigArray{
    				&nutanix.SubnetV2IpConfigArgs{
    					Ipv4s: nutanix.SubnetV2IpConfigIpv4Array{
    						&nutanix.SubnetV2IpConfigIpv4Args{
    							IpSubnets: nutanix.SubnetV2IpConfigIpv4IpSubnetArray{
    								&nutanix.SubnetV2IpConfigIpv4IpSubnetArgs{
    									Ips: nutanix.SubnetV2IpConfigIpv4IpSubnetIpArray{
    										&nutanix.SubnetV2IpConfigIpv4IpSubnetIpArgs{
    											Value: pulumi.String("192.168.0.0"),
    										},
    									},
    									PrefixLength: pulumi.Int(24),
    								},
    							},
    							DefaultGatewayIps: nutanix.SubnetV2IpConfigIpv4DefaultGatewayIpArray{
    								&nutanix.SubnetV2IpConfigIpv4DefaultGatewayIpArgs{
    									Value: pulumi.String("192.168.0.1"),
    								},
    							},
    							PoolLists: nutanix.SubnetV2IpConfigIpv4PoolListArray{
    								&nutanix.SubnetV2IpConfigIpv4PoolListArgs{
    									StartIps: nutanix.SubnetV2IpConfigIpv4PoolListStartIpArray{
    										&nutanix.SubnetV2IpConfigIpv4PoolListStartIpArgs{
    											Value: pulumi.String("192.168.0.20"),
    										},
    									},
    									EndIps: nutanix.SubnetV2IpConfigIpv4PoolListEndIpArray{
    										&nutanix.SubnetV2IpConfigIpv4PoolListEndIpArgs{
    											Value: pulumi.String("192.168.0.30"),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			DhcpOptions: nutanix.SubnetV2DhcpOptionArray{
    				&nutanix.SubnetV2DhcpOptionArgs{
    					DomainNameServers: nutanix.SubnetV2DhcpOptionDomainNameServerArray{
    						&nutanix.SubnetV2DhcpOptionDomainNameServerArgs{
    							Ipv4s: nutanix.SubnetV2DhcpOptionDomainNameServerIpv4Array{
    								&nutanix.SubnetV2DhcpOptionDomainNameServerIpv4Args{
    									Value: pulumi.String("8.8.8.8"),
    								},
    							},
    						},
    					},
    					SearchDomains: pulumi.StringArray{
    						pulumi.String("eng.nutanix.com"),
    					},
    					DomainName:     pulumi.String("nutanix.com"),
    					TftpServerName: pulumi.String("10.5.0.10"),
    					BootFileName:   pulumi.String("pxelinux.0"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        //creating subnet with IP pool
        var vlan_112 = new Nutanix.SubnetV2("vlan-112", new()
        {
            Name = "vlan-112",
            Description = "subnet VLAN 112 managed by Terraform with IP pool",
            ClusterReference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
            SubnetType = "VLAN",
            NetworkId = 122,
            IsExternal = true,
            IpConfigs = new[]
            {
                new Nutanix.Inputs.SubnetV2IpConfigArgs
                {
                    Ipv4s = new[]
                    {
                        new Nutanix.Inputs.SubnetV2IpConfigIpv4Args
                        {
                            IpSubnets = new[]
                            {
                                new Nutanix.Inputs.SubnetV2IpConfigIpv4IpSubnetArgs
                                {
                                    Ips = new[]
                                    {
                                        new Nutanix.Inputs.SubnetV2IpConfigIpv4IpSubnetIpArgs
                                        {
                                            Value = "192.168.0.0",
                                        },
                                    },
                                    PrefixLength = 24,
                                },
                            },
                            DefaultGatewayIps = new[]
                            {
                                new Nutanix.Inputs.SubnetV2IpConfigIpv4DefaultGatewayIpArgs
                                {
                                    Value = "192.168.0.1",
                                },
                            },
                            PoolLists = new[]
                            {
                                new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListArgs
                                {
                                    StartIps = new[]
                                    {
                                        new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListStartIpArgs
                                        {
                                            Value = "192.168.0.20",
                                        },
                                    },
                                    EndIps = new[]
                                    {
                                        new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListEndIpArgs
                                        {
                                            Value = "192.168.0.30",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
        });
    
        //creating subnet without IP pool
        var vlan_113 = new Nutanix.SubnetV2("vlan-113", new()
        {
            Name = "vlan-113",
            Description = "subnet VLAN 113 managed by Terraform",
            ClusterReference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
            SubnetType = "VLAN",
            NetworkId = 113,
        });
    
        // creating subnet with IP pool and DHCP options
        var van_114 = new Nutanix.SubnetV2("van-114", new()
        {
            Name = "vlan-114",
            Description = "subnet VLAN 114 managed by Terraform",
            ClusterReference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
            SubnetType = "VLAN",
            NetworkId = 114,
            IpConfigs = new[]
            {
                new Nutanix.Inputs.SubnetV2IpConfigArgs
                {
                    Ipv4s = new[]
                    {
                        new Nutanix.Inputs.SubnetV2IpConfigIpv4Args
                        {
                            IpSubnets = new[]
                            {
                                new Nutanix.Inputs.SubnetV2IpConfigIpv4IpSubnetArgs
                                {
                                    Ips = new[]
                                    {
                                        new Nutanix.Inputs.SubnetV2IpConfigIpv4IpSubnetIpArgs
                                        {
                                            Value = "192.168.0.0",
                                        },
                                    },
                                    PrefixLength = 24,
                                },
                            },
                            DefaultGatewayIps = new[]
                            {
                                new Nutanix.Inputs.SubnetV2IpConfigIpv4DefaultGatewayIpArgs
                                {
                                    Value = "192.168.0.1",
                                },
                            },
                            PoolLists = new[]
                            {
                                new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListArgs
                                {
                                    StartIps = new[]
                                    {
                                        new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListStartIpArgs
                                        {
                                            Value = "192.168.0.20",
                                        },
                                    },
                                    EndIps = new[]
                                    {
                                        new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListEndIpArgs
                                        {
                                            Value = "192.168.0.30",
                                        },
                                    },
                                },
                            },
                        },
                    },
                },
            },
            DhcpOptions = new[]
            {
                new Nutanix.Inputs.SubnetV2DhcpOptionArgs
                {
                    DomainNameServers = new[]
                    {
                        new Nutanix.Inputs.SubnetV2DhcpOptionDomainNameServerArgs
                        {
                            Ipv4s = new[]
                            {
                                new Nutanix.Inputs.SubnetV2DhcpOptionDomainNameServerIpv4Args
                                {
                                    Value = "8.8.8.8",
                                },
                            },
                        },
                    },
                    SearchDomains = new[]
                    {
                        "eng.nutanix.com",
                    },
                    DomainName = "nutanix.com",
                    TftpServerName = "10.5.0.10",
                    BootFileName = "pxelinux.0",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.SubnetV2;
    import com.pulumi.nutanix.SubnetV2Args;
    import com.pulumi.nutanix.inputs.SubnetV2IpConfigArgs;
    import com.pulumi.nutanix.inputs.SubnetV2DhcpOptionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            //creating subnet with IP pool
            var vlan_112 = new SubnetV2("vlan-112", SubnetV2Args.builder()
                .name("vlan-112")
                .description("subnet VLAN 112 managed by Terraform with IP pool")
                .clusterReference("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b")
                .subnetType("VLAN")
                .networkId(122)
                .isExternal(true)
                .ipConfigs(SubnetV2IpConfigArgs.builder()
                    .ipv4s(SubnetV2IpConfigIpv4Args.builder()
                        .ipSubnets(SubnetV2IpConfigIpv4IpSubnetArgs.builder()
                            .ips(SubnetV2IpConfigIpv4IpSubnetIpArgs.builder()
                                .value("192.168.0.0")
                                .build())
                            .prefixLength(24)
                            .build())
                        .defaultGatewayIps(SubnetV2IpConfigIpv4DefaultGatewayIpArgs.builder()
                            .value("192.168.0.1")
                            .build())
                        .poolLists(SubnetV2IpConfigIpv4PoolListArgs.builder()
                            .startIps(SubnetV2IpConfigIpv4PoolListStartIpArgs.builder()
                                .value("192.168.0.20")
                                .build())
                            .endIps(SubnetV2IpConfigIpv4PoolListEndIpArgs.builder()
                                .value("192.168.0.30")
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
            //creating subnet without IP pool
            var vlan_113 = new SubnetV2("vlan-113", SubnetV2Args.builder()
                .name("vlan-113")
                .description("subnet VLAN 113 managed by Terraform")
                .clusterReference("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b")
                .subnetType("VLAN")
                .networkId(113)
                .build());
    
            // creating subnet with IP pool and DHCP options
            var van_114 = new SubnetV2("van-114", SubnetV2Args.builder()
                .name("vlan-114")
                .description("subnet VLAN 114 managed by Terraform")
                .clusterReference("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b")
                .subnetType("VLAN")
                .networkId(114)
                .ipConfigs(SubnetV2IpConfigArgs.builder()
                    .ipv4s(SubnetV2IpConfigIpv4Args.builder()
                        .ipSubnets(SubnetV2IpConfigIpv4IpSubnetArgs.builder()
                            .ips(SubnetV2IpConfigIpv4IpSubnetIpArgs.builder()
                                .value("192.168.0.0")
                                .build())
                            .prefixLength(24)
                            .build())
                        .defaultGatewayIps(SubnetV2IpConfigIpv4DefaultGatewayIpArgs.builder()
                            .value("192.168.0.1")
                            .build())
                        .poolLists(SubnetV2IpConfigIpv4PoolListArgs.builder()
                            .startIps(SubnetV2IpConfigIpv4PoolListStartIpArgs.builder()
                                .value("192.168.0.20")
                                .build())
                            .endIps(SubnetV2IpConfigIpv4PoolListEndIpArgs.builder()
                                .value("192.168.0.30")
                                .build())
                            .build())
                        .build())
                    .build())
                .dhcpOptions(SubnetV2DhcpOptionArgs.builder()
                    .domainNameServers(SubnetV2DhcpOptionDomainNameServerArgs.builder()
                        .ipv4s(SubnetV2DhcpOptionDomainNameServerIpv4Args.builder()
                            .value("8.8.8.8")
                            .build())
                        .build())
                    .searchDomains("eng.nutanix.com")
                    .domainName("nutanix.com")
                    .tftpServerName("10.5.0.10")
                    .bootFileName("pxelinux.0")
                    .build())
                .build());
    
        }
    }
    
    resources:
      #creating subnet with IP pool
      vlan-112:
        type: nutanix:SubnetV2
        properties:
          name: vlan-112
          description: subnet VLAN 112 managed by Terraform with IP pool
          clusterReference: a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b
          subnetType: VLAN
          networkId: 122
          isExternal: true
          ipConfigs:
            - ipv4s:
                - ipSubnets:
                    - ips:
                        - value: 192.168.0.0
                      prefixLength: 24
                  defaultGatewayIps:
                    - value: 192.168.0.1
                  poolLists:
                    - startIps:
                        - value: 192.168.0.20
                      endIps:
                        - value: 192.168.0.30
      #creating subnet without IP pool
      vlan-113:
        type: nutanix:SubnetV2
        properties:
          name: vlan-113
          description: subnet VLAN 113 managed by Terraform
          clusterReference: a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b
          subnetType: VLAN
          networkId: 113
      # creating subnet with IP pool and DHCP options
      van-114:
        type: nutanix:SubnetV2
        properties:
          name: vlan-114
          description: subnet VLAN 114 managed by Terraform
          clusterReference: a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b
          subnetType: VLAN
          networkId: 114
          ipConfigs:
            - ipv4s:
                - ipSubnets:
                    - ips:
                        - value: 192.168.0.0
                      prefixLength: 24
                  defaultGatewayIps:
                    - value: 192.168.0.1
                  poolLists:
                    - startIps:
                        - value: 192.168.0.20
                      endIps:
                        - value: 192.168.0.30
          dhcpOptions:
            - domainNameServers:
                - ipv4s:
                    - value: 8.8.8.8
              searchDomains:
                - eng.nutanix.com
              domainName: nutanix.com
              tftpServerName: 10.5.0.10
              bootFileName: pxelinux.0
    
    Example coming soon!
    

    Create SubnetV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SubnetV2(name: string, args: SubnetV2Args, opts?: CustomResourceOptions);
    @overload
    def SubnetV2(resource_name: str,
                 args: SubnetV2Args,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def SubnetV2(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 subnet_type: Optional[str] = None,
                 is_external: Optional[bool] = None,
                 ip_prefix: Optional[str] = None,
                 description: Optional[str] = None,
                 dhcp_options: Optional[Sequence[SubnetV2DhcpOptionArgs]] = None,
                 dynamic_ip_addresses: Optional[Sequence[SubnetV2DynamicIpAddressArgs]] = None,
                 ext_id: Optional[str] = None,
                 hypervisor_type: Optional[str] = None,
                 is_nat_enabled: Optional[bool] = None,
                 bridge_name: Optional[str] = None,
                 ip_usages: Optional[Sequence[SubnetV2IpUsageArgs]] = None,
                 cluster_reference: Optional[str] = None,
                 is_advanced_networking: Optional[bool] = None,
                 ip_configs: Optional[Sequence[SubnetV2IpConfigArgs]] = None,
                 metadatas: Optional[Sequence[SubnetV2MetadataArgs]] = None,
                 name: Optional[str] = None,
                 network_function_chain_reference: Optional[str] = None,
                 network_id: Optional[int] = None,
                 reserved_ip_addresses: Optional[Sequence[SubnetV2ReservedIpAddressArgs]] = None,
                 cluster_name: Optional[str] = None,
                 virtual_switch_reference: Optional[str] = None,
                 virtual_switches: Optional[Sequence[SubnetV2VirtualSwitchArgs]] = None,
                 vpc_reference: Optional[str] = None,
                 vpcs: Optional[Sequence[SubnetV2VpcArgs]] = None)
    func NewSubnetV2(ctx *Context, name string, args SubnetV2Args, opts ...ResourceOption) (*SubnetV2, error)
    public SubnetV2(string name, SubnetV2Args args, CustomResourceOptions? opts = null)
    public SubnetV2(String name, SubnetV2Args args)
    public SubnetV2(String name, SubnetV2Args args, CustomResourceOptions options)
    
    type: nutanix:SubnetV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "nutanix_subnetv2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SubnetV2Args
    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 SubnetV2Args
    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 SubnetV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SubnetV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SubnetV2Args
    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 subnetV2Resource = new Nutanix.SubnetV2("subnetV2Resource", new()
    {
        SubnetType = "string",
        IsExternal = false,
        IpPrefix = "string",
        Description = "string",
        DhcpOptions = new[]
        {
            new Nutanix.Inputs.SubnetV2DhcpOptionArgs
            {
                BootFileName = "string",
                DomainName = "string",
                DomainNameServers = new[]
                {
                    new Nutanix.Inputs.SubnetV2DhcpOptionDomainNameServerArgs
                    {
                        Ipv4s = new[]
                        {
                            new Nutanix.Inputs.SubnetV2DhcpOptionDomainNameServerIpv4Args
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                        Ipv6s = new[]
                        {
                            new Nutanix.Inputs.SubnetV2DhcpOptionDomainNameServerIpv6Args
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                    },
                },
                NtpServers = new[]
                {
                    new Nutanix.Inputs.SubnetV2DhcpOptionNtpServerArgs
                    {
                        Ipv4s = new[]
                        {
                            new Nutanix.Inputs.SubnetV2DhcpOptionNtpServerIpv4Args
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                        Ipv6s = new[]
                        {
                            new Nutanix.Inputs.SubnetV2DhcpOptionNtpServerIpv6Args
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                    },
                },
                SearchDomains = new[]
                {
                    "string",
                },
                TftpServerName = "string",
            },
        },
        DynamicIpAddresses = new[]
        {
            new Nutanix.Inputs.SubnetV2DynamicIpAddressArgs
            {
                Ipv4s = new[]
                {
                    new Nutanix.Inputs.SubnetV2DynamicIpAddressIpv4Args
                    {
                        PrefixLength = 0,
                        Value = "string",
                    },
                },
                Ipv6s = new[]
                {
                    new Nutanix.Inputs.SubnetV2DynamicIpAddressIpv6Args
                    {
                        PrefixLength = 0,
                        Value = "string",
                    },
                },
            },
        },
        ExtId = "string",
        HypervisorType = "string",
        IsNatEnabled = false,
        BridgeName = "string",
        IpUsages = new[]
        {
            new Nutanix.Inputs.SubnetV2IpUsageArgs
            {
                IpPoolUsages = new[]
                {
                    new Nutanix.Inputs.SubnetV2IpUsageIpPoolUsageArgs
                    {
                        NumFreeIps = 0,
                        NumTotalIps = 0,
                        Ranges = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpUsageIpPoolUsageRangeArgs
                            {
                                EndIps = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2IpUsageIpPoolUsageRangeEndIpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                StartIps = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2IpUsageIpPoolUsageRangeStartIpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                NumAssignedIps = 0,
                NumFreeIps = 0,
                NumMacs = 0,
            },
        },
        ClusterReference = "string",
        IsAdvancedNetworking = false,
        IpConfigs = new[]
        {
            new Nutanix.Inputs.SubnetV2IpConfigArgs
            {
                Ipv4s = new[]
                {
                    new Nutanix.Inputs.SubnetV2IpConfigIpv4Args
                    {
                        DefaultGatewayIps = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpConfigIpv4DefaultGatewayIpArgs
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                        DhcpServerAddresses = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpConfigIpv4DhcpServerAddressArgs
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                        IpSubnets = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpConfigIpv4IpSubnetArgs
                            {
                                Ips = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2IpConfigIpv4IpSubnetIpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                PrefixLength = 0,
                            },
                        },
                        PoolLists = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListArgs
                            {
                                EndIps = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListEndIpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                StartIps = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2IpConfigIpv4PoolListStartIpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                Ipv6s = new[]
                {
                    new Nutanix.Inputs.SubnetV2IpConfigIpv6Args
                    {
                        DefaultGatewayIps = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpConfigIpv6DefaultGatewayIpArgs
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                        DhcpServerAddresses = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpConfigIpv6DhcpServerAddressArgs
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                        IpSubnets = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpConfigIpv6IpSubnetArgs
                            {
                                Ips = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2IpConfigIpv6IpSubnetIpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                PrefixLength = 0,
                            },
                        },
                        PoolLists = new[]
                        {
                            new Nutanix.Inputs.SubnetV2IpConfigIpv6PoolListArgs
                            {
                                EndIps = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2IpConfigIpv6PoolListEndIpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                StartIps = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2IpConfigIpv6PoolListStartIpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
            },
        },
        Metadatas = new[]
        {
            new Nutanix.Inputs.SubnetV2MetadataArgs
            {
                CategoryIds = new[]
                {
                    "string",
                },
                OwnerReferenceId = "string",
                OwnerUserName = "string",
                ProjectName = "string",
                ProjectReferenceId = "string",
            },
        },
        Name = "string",
        NetworkFunctionChainReference = "string",
        NetworkId = 0,
        ReservedIpAddresses = new[]
        {
            new Nutanix.Inputs.SubnetV2ReservedIpAddressArgs
            {
                PrefixLength = 0,
                Value = "string",
            },
        },
        ClusterName = "string",
        VirtualSwitchReference = "string",
        VirtualSwitches = new[]
        {
            new Nutanix.Inputs.SubnetV2VirtualSwitchArgs
            {
                BondMode = false,
                Clusters = new[]
                {
                    new Nutanix.Inputs.SubnetV2VirtualSwitchClusterArgs
                    {
                        ExtId = "string",
                        GatewayIpAddresses = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VirtualSwitchClusterGatewayIpAddressArgs
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                        Hosts = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VirtualSwitchClusterHostArgs
                            {
                                ExtId = "string",
                                HostNics = new[]
                                {
                                    "string",
                                },
                                InternalBridgeName = "string",
                                IpAddresses = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2VirtualSwitchClusterHostIpAddressArgs
                                    {
                                        Ips = new[]
                                        {
                                            new Nutanix.Inputs.SubnetV2VirtualSwitchClusterHostIpAddressIpArgs
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                        PrefixLength = 0,
                                    },
                                },
                                RouteTable = 0,
                            },
                        },
                    },
                },
                Description = "string",
                ExtId = "string",
                HasDeploymentError = false,
                IsDefault = false,
                Links = new[]
                {
                    new Nutanix.Inputs.SubnetV2VirtualSwitchLinkArgs
                    {
                        Href = "string",
                        Rel = "string",
                    },
                },
                Metadatas = new[]
                {
                    new Nutanix.Inputs.SubnetV2VirtualSwitchMetadataArgs
                    {
                        CategoryIds = new[]
                        {
                            "string",
                        },
                        OwnerReferenceId = "string",
                        OwnerUserName = "string",
                        ProjectName = "string",
                        ProjectReferenceId = "string",
                    },
                },
                Mtu = 0,
                Name = "string",
                TenantId = "string",
            },
        },
        VpcReference = "string",
        Vpcs = new[]
        {
            new Nutanix.Inputs.SubnetV2VpcArgs
            {
                CommonDhcpOptions = new[]
                {
                    new Nutanix.Inputs.SubnetV2VpcCommonDhcpOptionArgs
                    {
                        DomainNameServers = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VpcCommonDhcpOptionDomainNameServerArgs
                            {
                                Ipv4s = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4Args
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                Ipv6s = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6Args
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                Description = "string",
                ExtId = "string",
                ExternalRoutingDomainReference = "string",
                ExternalSubnets = new[]
                {
                    new Nutanix.Inputs.SubnetV2VpcExternalSubnetArgs
                    {
                        ActiveGatewayCount = 0,
                        ActiveGatewayNodes = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VpcExternalSubnetActiveGatewayNodeArgs
                            {
                                NodeId = "string",
                                NodeIpAddresses = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressArgs
                                    {
                                        Ipv4s = new[]
                                        {
                                            new Nutanix.Inputs.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Args
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                        Ipv6s = new[]
                                        {
                                            new Nutanix.Inputs.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Args
                                            {
                                                PrefixLength = 0,
                                                Value = "string",
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        ExternalIps = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VpcExternalSubnetExternalIpArgs
                            {
                                Ipv4s = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2VpcExternalSubnetExternalIpIpv4Args
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                Ipv6s = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2VpcExternalSubnetExternalIpIpv6Args
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                            },
                        },
                        GatewayNodes = new[]
                        {
                            "string",
                        },
                        SubnetReference = "string",
                    },
                },
                ExternallyRoutablePrefixes = new[]
                {
                    new Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefixArgs
                    {
                        Ipv4s = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefixIpv4Args
                            {
                                Ips = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefixIpv4IpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                PrefixLength = 0,
                            },
                        },
                        Ipv6s = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefixIpv6Args
                            {
                                Ips = new[]
                                {
                                    new Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefixIpv6IpArgs
                                    {
                                        PrefixLength = 0,
                                        Value = "string",
                                    },
                                },
                                PrefixLength = 0,
                            },
                        },
                    },
                },
                Links = new[]
                {
                    new Nutanix.Inputs.SubnetV2VpcLinkArgs
                    {
                        Href = "string",
                        Rel = "string",
                    },
                },
                Metadatas = new[]
                {
                    new Nutanix.Inputs.SubnetV2VpcMetadataArgs
                    {
                        CategoryIds = new[]
                        {
                            "string",
                        },
                        OwnerReferenceId = "string",
                        OwnerUserName = "string",
                        ProjectName = "string",
                        ProjectReferenceId = "string",
                    },
                },
                Name = "string",
                SnatIps = new[]
                {
                    new Nutanix.Inputs.SubnetV2VpcSnatIpArgs
                    {
                        Ipv4s = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VpcSnatIpIpv4Args
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                        Ipv6s = new[]
                        {
                            new Nutanix.Inputs.SubnetV2VpcSnatIpIpv6Args
                            {
                                PrefixLength = 0,
                                Value = "string",
                            },
                        },
                    },
                },
                TenantId = "string",
                VpcType = "string",
            },
        },
    });
    
    example, err := nutanix.NewSubnetV2(ctx, "subnetV2Resource", &nutanix.SubnetV2Args{
    	SubnetType:  pulumi.String("string"),
    	IsExternal:  pulumi.Bool(false),
    	IpPrefix:    pulumi.String("string"),
    	Description: pulumi.String("string"),
    	DhcpOptions: nutanix.SubnetV2DhcpOptionArray{
    		&nutanix.SubnetV2DhcpOptionArgs{
    			BootFileName: pulumi.String("string"),
    			DomainName:   pulumi.String("string"),
    			DomainNameServers: nutanix.SubnetV2DhcpOptionDomainNameServerArray{
    				&nutanix.SubnetV2DhcpOptionDomainNameServerArgs{
    					Ipv4s: nutanix.SubnetV2DhcpOptionDomainNameServerIpv4Array{
    						&nutanix.SubnetV2DhcpOptionDomainNameServerIpv4Args{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    					Ipv6s: nutanix.SubnetV2DhcpOptionDomainNameServerIpv6Array{
    						&nutanix.SubnetV2DhcpOptionDomainNameServerIpv6Args{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    				},
    			},
    			NtpServers: nutanix.SubnetV2DhcpOptionNtpServerArray{
    				&nutanix.SubnetV2DhcpOptionNtpServerArgs{
    					Ipv4s: nutanix.SubnetV2DhcpOptionNtpServerIpv4Array{
    						&nutanix.SubnetV2DhcpOptionNtpServerIpv4Args{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    					Ipv6s: nutanix.SubnetV2DhcpOptionNtpServerIpv6Array{
    						&nutanix.SubnetV2DhcpOptionNtpServerIpv6Args{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    				},
    			},
    			SearchDomains: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			TftpServerName: pulumi.String("string"),
    		},
    	},
    	DynamicIpAddresses: nutanix.SubnetV2DynamicIpAddressArray{
    		&nutanix.SubnetV2DynamicIpAddressArgs{
    			Ipv4s: nutanix.SubnetV2DynamicIpAddressIpv4Array{
    				&nutanix.SubnetV2DynamicIpAddressIpv4Args{
    					PrefixLength: pulumi.Int(0),
    					Value:        pulumi.String("string"),
    				},
    			},
    			Ipv6s: nutanix.SubnetV2DynamicIpAddressIpv6Array{
    				&nutanix.SubnetV2DynamicIpAddressIpv6Args{
    					PrefixLength: pulumi.Int(0),
    					Value:        pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ExtId:          pulumi.String("string"),
    	HypervisorType: pulumi.String("string"),
    	IsNatEnabled:   pulumi.Bool(false),
    	BridgeName:     pulumi.String("string"),
    	IpUsages: nutanix.SubnetV2IpUsageArray{
    		&nutanix.SubnetV2IpUsageArgs{
    			IpPoolUsages: nutanix.SubnetV2IpUsageIpPoolUsageArray{
    				&nutanix.SubnetV2IpUsageIpPoolUsageArgs{
    					NumFreeIps:  pulumi.Int(0),
    					NumTotalIps: pulumi.Int(0),
    					Ranges: nutanix.SubnetV2IpUsageIpPoolUsageRangeArray{
    						&nutanix.SubnetV2IpUsageIpPoolUsageRangeArgs{
    							EndIps: nutanix.SubnetV2IpUsageIpPoolUsageRangeEndIpArray{
    								&nutanix.SubnetV2IpUsageIpPoolUsageRangeEndIpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							StartIps: nutanix.SubnetV2IpUsageIpPoolUsageRangeStartIpArray{
    								&nutanix.SubnetV2IpUsageIpPoolUsageRangeStartIpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			NumAssignedIps: pulumi.Int(0),
    			NumFreeIps:     pulumi.Int(0),
    			NumMacs:        pulumi.Int(0),
    		},
    	},
    	ClusterReference:     pulumi.String("string"),
    	IsAdvancedNetworking: pulumi.Bool(false),
    	IpConfigs: nutanix.SubnetV2IpConfigArray{
    		&nutanix.SubnetV2IpConfigArgs{
    			Ipv4s: nutanix.SubnetV2IpConfigIpv4Array{
    				&nutanix.SubnetV2IpConfigIpv4Args{
    					DefaultGatewayIps: nutanix.SubnetV2IpConfigIpv4DefaultGatewayIpArray{
    						&nutanix.SubnetV2IpConfigIpv4DefaultGatewayIpArgs{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    					DhcpServerAddresses: nutanix.SubnetV2IpConfigIpv4DhcpServerAddressArray{
    						&nutanix.SubnetV2IpConfigIpv4DhcpServerAddressArgs{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    					IpSubnets: nutanix.SubnetV2IpConfigIpv4IpSubnetArray{
    						&nutanix.SubnetV2IpConfigIpv4IpSubnetArgs{
    							Ips: nutanix.SubnetV2IpConfigIpv4IpSubnetIpArray{
    								&nutanix.SubnetV2IpConfigIpv4IpSubnetIpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							PrefixLength: pulumi.Int(0),
    						},
    					},
    					PoolLists: nutanix.SubnetV2IpConfigIpv4PoolListArray{
    						&nutanix.SubnetV2IpConfigIpv4PoolListArgs{
    							EndIps: nutanix.SubnetV2IpConfigIpv4PoolListEndIpArray{
    								&nutanix.SubnetV2IpConfigIpv4PoolListEndIpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							StartIps: nutanix.SubnetV2IpConfigIpv4PoolListStartIpArray{
    								&nutanix.SubnetV2IpConfigIpv4PoolListStartIpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			Ipv6s: nutanix.SubnetV2IpConfigIpv6Array{
    				&nutanix.SubnetV2IpConfigIpv6Args{
    					DefaultGatewayIps: nutanix.SubnetV2IpConfigIpv6DefaultGatewayIpArray{
    						&nutanix.SubnetV2IpConfigIpv6DefaultGatewayIpArgs{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    					DhcpServerAddresses: nutanix.SubnetV2IpConfigIpv6DhcpServerAddressArray{
    						&nutanix.SubnetV2IpConfigIpv6DhcpServerAddressArgs{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    					IpSubnets: nutanix.SubnetV2IpConfigIpv6IpSubnetArray{
    						&nutanix.SubnetV2IpConfigIpv6IpSubnetArgs{
    							Ips: nutanix.SubnetV2IpConfigIpv6IpSubnetIpArray{
    								&nutanix.SubnetV2IpConfigIpv6IpSubnetIpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							PrefixLength: pulumi.Int(0),
    						},
    					},
    					PoolLists: nutanix.SubnetV2IpConfigIpv6PoolListArray{
    						&nutanix.SubnetV2IpConfigIpv6PoolListArgs{
    							EndIps: nutanix.SubnetV2IpConfigIpv6PoolListEndIpArray{
    								&nutanix.SubnetV2IpConfigIpv6PoolListEndIpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							StartIps: nutanix.SubnetV2IpConfigIpv6PoolListStartIpArray{
    								&nutanix.SubnetV2IpConfigIpv6PoolListStartIpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    	},
    	Metadatas: nutanix.SubnetV2MetadataArray{
    		&nutanix.SubnetV2MetadataArgs{
    			CategoryIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			OwnerReferenceId:   pulumi.String("string"),
    			OwnerUserName:      pulumi.String("string"),
    			ProjectName:        pulumi.String("string"),
    			ProjectReferenceId: pulumi.String("string"),
    		},
    	},
    	Name:                          pulumi.String("string"),
    	NetworkFunctionChainReference: pulumi.String("string"),
    	NetworkId:                     pulumi.Int(0),
    	ReservedIpAddresses: nutanix.SubnetV2ReservedIpAddressArray{
    		&nutanix.SubnetV2ReservedIpAddressArgs{
    			PrefixLength: pulumi.Int(0),
    			Value:        pulumi.String("string"),
    		},
    	},
    	ClusterName:            pulumi.String("string"),
    	VirtualSwitchReference: pulumi.String("string"),
    	VirtualSwitches: nutanix.SubnetV2VirtualSwitchArray{
    		&nutanix.SubnetV2VirtualSwitchArgs{
    			BondMode: pulumi.Bool(false),
    			Clusters: nutanix.SubnetV2VirtualSwitchClusterArray{
    				&nutanix.SubnetV2VirtualSwitchClusterArgs{
    					ExtId: pulumi.String("string"),
    					GatewayIpAddresses: nutanix.SubnetV2VirtualSwitchClusterGatewayIpAddressArray{
    						&nutanix.SubnetV2VirtualSwitchClusterGatewayIpAddressArgs{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    					Hosts: nutanix.SubnetV2VirtualSwitchClusterHostArray{
    						&nutanix.SubnetV2VirtualSwitchClusterHostArgs{
    							ExtId: pulumi.String("string"),
    							HostNics: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							InternalBridgeName: pulumi.String("string"),
    							IpAddresses: nutanix.SubnetV2VirtualSwitchClusterHostIpAddressArray{
    								&nutanix.SubnetV2VirtualSwitchClusterHostIpAddressArgs{
    									Ips: nutanix.SubnetV2VirtualSwitchClusterHostIpAddressIpArray{
    										&nutanix.SubnetV2VirtualSwitchClusterHostIpAddressIpArgs{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    									PrefixLength: pulumi.Int(0),
    								},
    							},
    							RouteTable: pulumi.Int(0),
    						},
    					},
    				},
    			},
    			Description:        pulumi.String("string"),
    			ExtId:              pulumi.String("string"),
    			HasDeploymentError: pulumi.Bool(false),
    			IsDefault:          pulumi.Bool(false),
    			Links: nutanix.SubnetV2VirtualSwitchLinkArray{
    				&nutanix.SubnetV2VirtualSwitchLinkArgs{
    					Href: pulumi.String("string"),
    					Rel:  pulumi.String("string"),
    				},
    			},
    			Metadatas: nutanix.SubnetV2VirtualSwitchMetadataArray{
    				&nutanix.SubnetV2VirtualSwitchMetadataArgs{
    					CategoryIds: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					OwnerReferenceId:   pulumi.String("string"),
    					OwnerUserName:      pulumi.String("string"),
    					ProjectName:        pulumi.String("string"),
    					ProjectReferenceId: pulumi.String("string"),
    				},
    			},
    			Mtu:      pulumi.Int(0),
    			Name:     pulumi.String("string"),
    			TenantId: pulumi.String("string"),
    		},
    	},
    	VpcReference: pulumi.String("string"),
    	Vpcs: nutanix.SubnetV2VpcArray{
    		&nutanix.SubnetV2VpcArgs{
    			CommonDhcpOptions: nutanix.SubnetV2VpcCommonDhcpOptionArray{
    				&nutanix.SubnetV2VpcCommonDhcpOptionArgs{
    					DomainNameServers: nutanix.SubnetV2VpcCommonDhcpOptionDomainNameServerArray{
    						&nutanix.SubnetV2VpcCommonDhcpOptionDomainNameServerArgs{
    							Ipv4s: nutanix.SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4Array{
    								&nutanix.SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4Args{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							Ipv6s: nutanix.SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6Array{
    								&nutanix.SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6Args{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			Description:                    pulumi.String("string"),
    			ExtId:                          pulumi.String("string"),
    			ExternalRoutingDomainReference: pulumi.String("string"),
    			ExternalSubnets: nutanix.SubnetV2VpcExternalSubnetArray{
    				&nutanix.SubnetV2VpcExternalSubnetArgs{
    					ActiveGatewayCount: pulumi.Int(0),
    					ActiveGatewayNodes: nutanix.SubnetV2VpcExternalSubnetActiveGatewayNodeArray{
    						&nutanix.SubnetV2VpcExternalSubnetActiveGatewayNodeArgs{
    							NodeId: pulumi.String("string"),
    							NodeIpAddresses: nutanix.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressArray{
    								&nutanix.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressArgs{
    									Ipv4s: nutanix.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Array{
    										&nutanix.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Args{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    									Ipv6s: nutanix.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Array{
    										&nutanix.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Args{
    											PrefixLength: pulumi.Int(0),
    											Value:        pulumi.String("string"),
    										},
    									},
    								},
    							},
    						},
    					},
    					ExternalIps: nutanix.SubnetV2VpcExternalSubnetExternalIpArray{
    						&nutanix.SubnetV2VpcExternalSubnetExternalIpArgs{
    							Ipv4s: nutanix.SubnetV2VpcExternalSubnetExternalIpIpv4Array{
    								&nutanix.SubnetV2VpcExternalSubnetExternalIpIpv4Args{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							Ipv6s: nutanix.SubnetV2VpcExternalSubnetExternalIpIpv6Array{
    								&nutanix.SubnetV2VpcExternalSubnetExternalIpIpv6Args{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    						},
    					},
    					GatewayNodes: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					SubnetReference: pulumi.String("string"),
    				},
    			},
    			ExternallyRoutablePrefixes: nutanix.SubnetV2VpcExternallyRoutablePrefixArray{
    				&nutanix.SubnetV2VpcExternallyRoutablePrefixArgs{
    					Ipv4s: nutanix.SubnetV2VpcExternallyRoutablePrefixIpv4Array{
    						&nutanix.SubnetV2VpcExternallyRoutablePrefixIpv4Args{
    							Ips: nutanix.SubnetV2VpcExternallyRoutablePrefixIpv4IpArray{
    								&nutanix.SubnetV2VpcExternallyRoutablePrefixIpv4IpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							PrefixLength: pulumi.Int(0),
    						},
    					},
    					Ipv6s: nutanix.SubnetV2VpcExternallyRoutablePrefixIpv6Array{
    						&nutanix.SubnetV2VpcExternallyRoutablePrefixIpv6Args{
    							Ips: nutanix.SubnetV2VpcExternallyRoutablePrefixIpv6IpArray{
    								&nutanix.SubnetV2VpcExternallyRoutablePrefixIpv6IpArgs{
    									PrefixLength: pulumi.Int(0),
    									Value:        pulumi.String("string"),
    								},
    							},
    							PrefixLength: pulumi.Int(0),
    						},
    					},
    				},
    			},
    			Links: nutanix.SubnetV2VpcLinkArray{
    				&nutanix.SubnetV2VpcLinkArgs{
    					Href: pulumi.String("string"),
    					Rel:  pulumi.String("string"),
    				},
    			},
    			Metadatas: nutanix.SubnetV2VpcMetadataArray{
    				&nutanix.SubnetV2VpcMetadataArgs{
    					CategoryIds: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					OwnerReferenceId:   pulumi.String("string"),
    					OwnerUserName:      pulumi.String("string"),
    					ProjectName:        pulumi.String("string"),
    					ProjectReferenceId: pulumi.String("string"),
    				},
    			},
    			Name: pulumi.String("string"),
    			SnatIps: nutanix.SubnetV2VpcSnatIpArray{
    				&nutanix.SubnetV2VpcSnatIpArgs{
    					Ipv4s: nutanix.SubnetV2VpcSnatIpIpv4Array{
    						&nutanix.SubnetV2VpcSnatIpIpv4Args{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    					Ipv6s: nutanix.SubnetV2VpcSnatIpIpv6Array{
    						&nutanix.SubnetV2VpcSnatIpIpv6Args{
    							PrefixLength: pulumi.Int(0),
    							Value:        pulumi.String("string"),
    						},
    					},
    				},
    			},
    			TenantId: pulumi.String("string"),
    			VpcType:  pulumi.String("string"),
    		},
    	},
    })
    
    resource "nutanix_subnetv2" "subnetV2Resource" {
      subnet_type = "string"
      is_external = false
      ip_prefix   = "string"
      description = "string"
      dhcp_options {
        boot_file_name = "string"
        domain_name    = "string"
        domain_name_servers {
          ipv4s {
            prefix_length = 0
            value         = "string"
          }
          ipv6s {
            prefix_length = 0
            value         = "string"
          }
        }
        ntp_servers {
          ipv4s {
            prefix_length = 0
            value         = "string"
          }
          ipv6s {
            prefix_length = 0
            value         = "string"
          }
        }
        search_domains   = ["string"]
        tftp_server_name = "string"
      }
      dynamic_ip_addresses {
        ipv4s {
          prefix_length = 0
          value         = "string"
        }
        ipv6s {
          prefix_length = 0
          value         = "string"
        }
      }
      ext_id          = "string"
      hypervisor_type = "string"
      is_nat_enabled  = false
      bridge_name     = "string"
      ip_usages {
        ip_pool_usages {
          num_free_ips  = 0
          num_total_ips = 0
          ranges {
            end_ips {
              prefix_length = 0
              value         = "string"
            }
            start_ips {
              prefix_length = 0
              value         = "string"
            }
          }
        }
        num_assigned_ips = 0
        num_free_ips     = 0
        num_macs         = 0
      }
      cluster_reference      = "string"
      is_advanced_networking = false
      ip_configs {
        ipv4s {
          default_gateway_ips {
            prefix_length = 0
            value         = "string"
          }
          dhcp_server_addresses {
            prefix_length = 0
            value         = "string"
          }
          ip_subnets {
            ips {
              prefix_length = 0
              value         = "string"
            }
            prefix_length = 0
          }
          pool_lists {
            end_ips {
              prefix_length = 0
              value         = "string"
            }
            start_ips {
              prefix_length = 0
              value         = "string"
            }
          }
        }
        ipv6s {
          default_gateway_ips {
            prefix_length = 0
            value         = "string"
          }
          dhcp_server_addresses {
            prefix_length = 0
            value         = "string"
          }
          ip_subnets {
            ips {
              prefix_length = 0
              value         = "string"
            }
            prefix_length = 0
          }
          pool_lists {
            end_ips {
              prefix_length = 0
              value         = "string"
            }
            start_ips {
              prefix_length = 0
              value         = "string"
            }
          }
        }
      }
      metadatas {
        category_ids         = ["string"]
        owner_reference_id   = "string"
        owner_user_name      = "string"
        project_name         = "string"
        project_reference_id = "string"
      }
      name                             = "string"
      network_function_chain_reference = "string"
      network_id                       = 0
      reserved_ip_addresses {
        prefix_length = 0
        value         = "string"
      }
      cluster_name             = "string"
      virtual_switch_reference = "string"
      virtual_switches {
        bond_mode = false
        clusters {
          ext_id = "string"
          gateway_ip_addresses {
            prefix_length = 0
            value         = "string"
          }
          hosts {
            ext_id               = "string"
            host_nics            = ["string"]
            internal_bridge_name = "string"
            ip_addresses {
              ips {
                prefix_length = 0
                value         = "string"
              }
              prefix_length = 0
            }
            route_table = 0
          }
        }
        description          = "string"
        ext_id               = "string"
        has_deployment_error = false
        is_default           = false
        links {
          href = "string"
          rel  = "string"
        }
        metadatas {
          category_ids         = ["string"]
          owner_reference_id   = "string"
          owner_user_name      = "string"
          project_name         = "string"
          project_reference_id = "string"
        }
        mtu       = 0
        name      = "string"
        tenant_id = "string"
      }
      vpc_reference = "string"
      vpcs {
        common_dhcp_options {
          domain_name_servers {
            ipv4s {
              prefix_length = 0
              value         = "string"
            }
            ipv6s {
              prefix_length = 0
              value         = "string"
            }
          }
        }
        description                       = "string"
        ext_id                            = "string"
        external_routing_domain_reference = "string"
        external_subnets {
          active_gateway_count = 0
          active_gateway_nodes {
            node_id = "string"
            node_ip_addresses {
              ipv4s {
                prefix_length = 0
                value         = "string"
              }
              ipv6s {
                prefix_length = 0
                value         = "string"
              }
            }
          }
          external_ips {
            ipv4s {
              prefix_length = 0
              value         = "string"
            }
            ipv6s {
              prefix_length = 0
              value         = "string"
            }
          }
          gateway_nodes    = ["string"]
          subnet_reference = "string"
        }
        externally_routable_prefixes {
          ipv4s {
            ips {
              prefix_length = 0
              value         = "string"
            }
            prefix_length = 0
          }
          ipv6s {
            ips {
              prefix_length = 0
              value         = "string"
            }
            prefix_length = 0
          }
        }
        links {
          href = "string"
          rel  = "string"
        }
        metadatas {
          category_ids         = ["string"]
          owner_reference_id   = "string"
          owner_user_name      = "string"
          project_name         = "string"
          project_reference_id = "string"
        }
        name = "string"
        snat_ips {
          ipv4s {
            prefix_length = 0
            value         = "string"
          }
          ipv6s {
            prefix_length = 0
            value         = "string"
          }
        }
        tenant_id = "string"
        vpc_type  = "string"
      }
    }
    
    var subnetV2Resource = new SubnetV2("subnetV2Resource", SubnetV2Args.builder()
        .subnetType("string")
        .isExternal(false)
        .ipPrefix("string")
        .description("string")
        .dhcpOptions(SubnetV2DhcpOptionArgs.builder()
            .bootFileName("string")
            .domainName("string")
            .domainNameServers(SubnetV2DhcpOptionDomainNameServerArgs.builder()
                .ipv4s(SubnetV2DhcpOptionDomainNameServerIpv4Args.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .ipv6s(SubnetV2DhcpOptionDomainNameServerIpv6Args.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .build())
            .ntpServers(SubnetV2DhcpOptionNtpServerArgs.builder()
                .ipv4s(SubnetV2DhcpOptionNtpServerIpv4Args.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .ipv6s(SubnetV2DhcpOptionNtpServerIpv6Args.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .build())
            .searchDomains("string")
            .tftpServerName("string")
            .build())
        .dynamicIpAddresses(SubnetV2DynamicIpAddressArgs.builder()
            .ipv4s(SubnetV2DynamicIpAddressIpv4Args.builder()
                .prefixLength(0)
                .value("string")
                .build())
            .ipv6s(SubnetV2DynamicIpAddressIpv6Args.builder()
                .prefixLength(0)
                .value("string")
                .build())
            .build())
        .extId("string")
        .hypervisorType("string")
        .isNatEnabled(false)
        .bridgeName("string")
        .ipUsages(SubnetV2IpUsageArgs.builder()
            .ipPoolUsages(SubnetV2IpUsageIpPoolUsageArgs.builder()
                .numFreeIps(0)
                .numTotalIps(0)
                .ranges(SubnetV2IpUsageIpPoolUsageRangeArgs.builder()
                    .endIps(SubnetV2IpUsageIpPoolUsageRangeEndIpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .startIps(SubnetV2IpUsageIpPoolUsageRangeStartIpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .build())
                .build())
            .numAssignedIps(0)
            .numFreeIps(0)
            .numMacs(0)
            .build())
        .clusterReference("string")
        .isAdvancedNetworking(false)
        .ipConfigs(SubnetV2IpConfigArgs.builder()
            .ipv4s(SubnetV2IpConfigIpv4Args.builder()
                .defaultGatewayIps(SubnetV2IpConfigIpv4DefaultGatewayIpArgs.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .dhcpServerAddresses(SubnetV2IpConfigIpv4DhcpServerAddressArgs.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .ipSubnets(SubnetV2IpConfigIpv4IpSubnetArgs.builder()
                    .ips(SubnetV2IpConfigIpv4IpSubnetIpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .prefixLength(0)
                    .build())
                .poolLists(SubnetV2IpConfigIpv4PoolListArgs.builder()
                    .endIps(SubnetV2IpConfigIpv4PoolListEndIpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .startIps(SubnetV2IpConfigIpv4PoolListStartIpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .build())
                .build())
            .ipv6s(SubnetV2IpConfigIpv6Args.builder()
                .defaultGatewayIps(SubnetV2IpConfigIpv6DefaultGatewayIpArgs.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .dhcpServerAddresses(SubnetV2IpConfigIpv6DhcpServerAddressArgs.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .ipSubnets(SubnetV2IpConfigIpv6IpSubnetArgs.builder()
                    .ips(SubnetV2IpConfigIpv6IpSubnetIpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .prefixLength(0)
                    .build())
                .poolLists(SubnetV2IpConfigIpv6PoolListArgs.builder()
                    .endIps(SubnetV2IpConfigIpv6PoolListEndIpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .startIps(SubnetV2IpConfigIpv6PoolListStartIpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .build())
                .build())
            .build())
        .metadatas(SubnetV2MetadataArgs.builder()
            .categoryIds("string")
            .ownerReferenceId("string")
            .ownerUserName("string")
            .projectName("string")
            .projectReferenceId("string")
            .build())
        .name("string")
        .networkFunctionChainReference("string")
        .networkId(0)
        .reservedIpAddresses(SubnetV2ReservedIpAddressArgs.builder()
            .prefixLength(0)
            .value("string")
            .build())
        .clusterName("string")
        .virtualSwitchReference("string")
        .virtualSwitches(SubnetV2VirtualSwitchArgs.builder()
            .bondMode(false)
            .clusters(SubnetV2VirtualSwitchClusterArgs.builder()
                .extId("string")
                .gatewayIpAddresses(SubnetV2VirtualSwitchClusterGatewayIpAddressArgs.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .hosts(SubnetV2VirtualSwitchClusterHostArgs.builder()
                    .extId("string")
                    .hostNics("string")
                    .internalBridgeName("string")
                    .ipAddresses(SubnetV2VirtualSwitchClusterHostIpAddressArgs.builder()
                        .ips(SubnetV2VirtualSwitchClusterHostIpAddressIpArgs.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .prefixLength(0)
                        .build())
                    .routeTable(0)
                    .build())
                .build())
            .description("string")
            .extId("string")
            .hasDeploymentError(false)
            .isDefault(false)
            .links(SubnetV2VirtualSwitchLinkArgs.builder()
                .href("string")
                .rel("string")
                .build())
            .metadatas(SubnetV2VirtualSwitchMetadataArgs.builder()
                .categoryIds("string")
                .ownerReferenceId("string")
                .ownerUserName("string")
                .projectName("string")
                .projectReferenceId("string")
                .build())
            .mtu(0)
            .name("string")
            .tenantId("string")
            .build())
        .vpcReference("string")
        .vpcs(SubnetV2VpcArgs.builder()
            .commonDhcpOptions(SubnetV2VpcCommonDhcpOptionArgs.builder()
                .domainNameServers(SubnetV2VpcCommonDhcpOptionDomainNameServerArgs.builder()
                    .ipv4s(SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4Args.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .ipv6s(SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6Args.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .build())
                .build())
            .description("string")
            .extId("string")
            .externalRoutingDomainReference("string")
            .externalSubnets(SubnetV2VpcExternalSubnetArgs.builder()
                .activeGatewayCount(0)
                .activeGatewayNodes(SubnetV2VpcExternalSubnetActiveGatewayNodeArgs.builder()
                    .nodeId("string")
                    .nodeIpAddresses(SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressArgs.builder()
                        .ipv4s(SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Args.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .ipv6s(SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Args.builder()
                            .prefixLength(0)
                            .value("string")
                            .build())
                        .build())
                    .build())
                .externalIps(SubnetV2VpcExternalSubnetExternalIpArgs.builder()
                    .ipv4s(SubnetV2VpcExternalSubnetExternalIpIpv4Args.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .ipv6s(SubnetV2VpcExternalSubnetExternalIpIpv6Args.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .build())
                .gatewayNodes("string")
                .subnetReference("string")
                .build())
            .externallyRoutablePrefixes(SubnetV2VpcExternallyRoutablePrefixArgs.builder()
                .ipv4s(SubnetV2VpcExternallyRoutablePrefixIpv4Args.builder()
                    .ips(SubnetV2VpcExternallyRoutablePrefixIpv4IpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .prefixLength(0)
                    .build())
                .ipv6s(SubnetV2VpcExternallyRoutablePrefixIpv6Args.builder()
                    .ips(SubnetV2VpcExternallyRoutablePrefixIpv6IpArgs.builder()
                        .prefixLength(0)
                        .value("string")
                        .build())
                    .prefixLength(0)
                    .build())
                .build())
            .links(SubnetV2VpcLinkArgs.builder()
                .href("string")
                .rel("string")
                .build())
            .metadatas(SubnetV2VpcMetadataArgs.builder()
                .categoryIds("string")
                .ownerReferenceId("string")
                .ownerUserName("string")
                .projectName("string")
                .projectReferenceId("string")
                .build())
            .name("string")
            .snatIps(SubnetV2VpcSnatIpArgs.builder()
                .ipv4s(SubnetV2VpcSnatIpIpv4Args.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .ipv6s(SubnetV2VpcSnatIpIpv6Args.builder()
                    .prefixLength(0)
                    .value("string")
                    .build())
                .build())
            .tenantId("string")
            .vpcType("string")
            .build())
        .build());
    
    subnet_v2_resource = nutanix.SubnetV2("subnetV2Resource",
        subnet_type="string",
        is_external=False,
        ip_prefix="string",
        description="string",
        dhcp_options=[{
            "boot_file_name": "string",
            "domain_name": "string",
            "domain_name_servers": [{
                "ipv4s": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
                "ipv6s": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
            }],
            "ntp_servers": [{
                "ipv4s": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
                "ipv6s": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
            }],
            "search_domains": ["string"],
            "tftp_server_name": "string",
        }],
        dynamic_ip_addresses=[{
            "ipv4s": [{
                "prefix_length": 0,
                "value": "string",
            }],
            "ipv6s": [{
                "prefix_length": 0,
                "value": "string",
            }],
        }],
        ext_id="string",
        hypervisor_type="string",
        is_nat_enabled=False,
        bridge_name="string",
        ip_usages=[{
            "ip_pool_usages": [{
                "num_free_ips": 0,
                "num_total_ips": 0,
                "ranges": [{
                    "end_ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "start_ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                }],
            }],
            "num_assigned_ips": 0,
            "num_free_ips": 0,
            "num_macs": 0,
        }],
        cluster_reference="string",
        is_advanced_networking=False,
        ip_configs=[{
            "ipv4s": [{
                "default_gateway_ips": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
                "dhcp_server_addresses": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
                "ip_subnets": [{
                    "ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "prefix_length": 0,
                }],
                "pool_lists": [{
                    "end_ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "start_ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                }],
            }],
            "ipv6s": [{
                "default_gateway_ips": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
                "dhcp_server_addresses": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
                "ip_subnets": [{
                    "ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "prefix_length": 0,
                }],
                "pool_lists": [{
                    "end_ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "start_ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                }],
            }],
        }],
        metadatas=[{
            "category_ids": ["string"],
            "owner_reference_id": "string",
            "owner_user_name": "string",
            "project_name": "string",
            "project_reference_id": "string",
        }],
        name="string",
        network_function_chain_reference="string",
        network_id=0,
        reserved_ip_addresses=[{
            "prefix_length": 0,
            "value": "string",
        }],
        cluster_name="string",
        virtual_switch_reference="string",
        virtual_switches=[{
            "bond_mode": False,
            "clusters": [{
                "ext_id": "string",
                "gateway_ip_addresses": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
                "hosts": [{
                    "ext_id": "string",
                    "host_nics": ["string"],
                    "internal_bridge_name": "string",
                    "ip_addresses": [{
                        "ips": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                        "prefix_length": 0,
                    }],
                    "route_table": 0,
                }],
            }],
            "description": "string",
            "ext_id": "string",
            "has_deployment_error": False,
            "is_default": False,
            "links": [{
                "href": "string",
                "rel": "string",
            }],
            "metadatas": [{
                "category_ids": ["string"],
                "owner_reference_id": "string",
                "owner_user_name": "string",
                "project_name": "string",
                "project_reference_id": "string",
            }],
            "mtu": 0,
            "name": "string",
            "tenant_id": "string",
        }],
        vpc_reference="string",
        vpcs=[{
            "common_dhcp_options": [{
                "domain_name_servers": [{
                    "ipv4s": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "ipv6s": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                }],
            }],
            "description": "string",
            "ext_id": "string",
            "external_routing_domain_reference": "string",
            "external_subnets": [{
                "active_gateway_count": 0,
                "active_gateway_nodes": [{
                    "node_id": "string",
                    "node_ip_addresses": [{
                        "ipv4s": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                        "ipv6s": [{
                            "prefix_length": 0,
                            "value": "string",
                        }],
                    }],
                }],
                "external_ips": [{
                    "ipv4s": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "ipv6s": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                }],
                "gateway_nodes": ["string"],
                "subnet_reference": "string",
            }],
            "externally_routable_prefixes": [{
                "ipv4s": [{
                    "ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "prefix_length": 0,
                }],
                "ipv6s": [{
                    "ips": [{
                        "prefix_length": 0,
                        "value": "string",
                    }],
                    "prefix_length": 0,
                }],
            }],
            "links": [{
                "href": "string",
                "rel": "string",
            }],
            "metadatas": [{
                "category_ids": ["string"],
                "owner_reference_id": "string",
                "owner_user_name": "string",
                "project_name": "string",
                "project_reference_id": "string",
            }],
            "name": "string",
            "snat_ips": [{
                "ipv4s": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
                "ipv6s": [{
                    "prefix_length": 0,
                    "value": "string",
                }],
            }],
            "tenant_id": "string",
            "vpc_type": "string",
        }])
    
    const subnetV2Resource = new nutanix.SubnetV2("subnetV2Resource", {
        subnetType: "string",
        isExternal: false,
        ipPrefix: "string",
        description: "string",
        dhcpOptions: [{
            bootFileName: "string",
            domainName: "string",
            domainNameServers: [{
                ipv4s: [{
                    prefixLength: 0,
                    value: "string",
                }],
                ipv6s: [{
                    prefixLength: 0,
                    value: "string",
                }],
            }],
            ntpServers: [{
                ipv4s: [{
                    prefixLength: 0,
                    value: "string",
                }],
                ipv6s: [{
                    prefixLength: 0,
                    value: "string",
                }],
            }],
            searchDomains: ["string"],
            tftpServerName: "string",
        }],
        dynamicIpAddresses: [{
            ipv4s: [{
                prefixLength: 0,
                value: "string",
            }],
            ipv6s: [{
                prefixLength: 0,
                value: "string",
            }],
        }],
        extId: "string",
        hypervisorType: "string",
        isNatEnabled: false,
        bridgeName: "string",
        ipUsages: [{
            ipPoolUsages: [{
                numFreeIps: 0,
                numTotalIps: 0,
                ranges: [{
                    endIps: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    startIps: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                }],
            }],
            numAssignedIps: 0,
            numFreeIps: 0,
            numMacs: 0,
        }],
        clusterReference: "string",
        isAdvancedNetworking: false,
        ipConfigs: [{
            ipv4s: [{
                defaultGatewayIps: [{
                    prefixLength: 0,
                    value: "string",
                }],
                dhcpServerAddresses: [{
                    prefixLength: 0,
                    value: "string",
                }],
                ipSubnets: [{
                    ips: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    prefixLength: 0,
                }],
                poolLists: [{
                    endIps: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    startIps: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                }],
            }],
            ipv6s: [{
                defaultGatewayIps: [{
                    prefixLength: 0,
                    value: "string",
                }],
                dhcpServerAddresses: [{
                    prefixLength: 0,
                    value: "string",
                }],
                ipSubnets: [{
                    ips: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    prefixLength: 0,
                }],
                poolLists: [{
                    endIps: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    startIps: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                }],
            }],
        }],
        metadatas: [{
            categoryIds: ["string"],
            ownerReferenceId: "string",
            ownerUserName: "string",
            projectName: "string",
            projectReferenceId: "string",
        }],
        name: "string",
        networkFunctionChainReference: "string",
        networkId: 0,
        reservedIpAddresses: [{
            prefixLength: 0,
            value: "string",
        }],
        clusterName: "string",
        virtualSwitchReference: "string",
        virtualSwitches: [{
            bondMode: false,
            clusters: [{
                extId: "string",
                gatewayIpAddresses: [{
                    prefixLength: 0,
                    value: "string",
                }],
                hosts: [{
                    extId: "string",
                    hostNics: ["string"],
                    internalBridgeName: "string",
                    ipAddresses: [{
                        ips: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                        prefixLength: 0,
                    }],
                    routeTable: 0,
                }],
            }],
            description: "string",
            extId: "string",
            hasDeploymentError: false,
            isDefault: false,
            links: [{
                href: "string",
                rel: "string",
            }],
            metadatas: [{
                categoryIds: ["string"],
                ownerReferenceId: "string",
                ownerUserName: "string",
                projectName: "string",
                projectReferenceId: "string",
            }],
            mtu: 0,
            name: "string",
            tenantId: "string",
        }],
        vpcReference: "string",
        vpcs: [{
            commonDhcpOptions: [{
                domainNameServers: [{
                    ipv4s: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    ipv6s: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                }],
            }],
            description: "string",
            extId: "string",
            externalRoutingDomainReference: "string",
            externalSubnets: [{
                activeGatewayCount: 0,
                activeGatewayNodes: [{
                    nodeId: "string",
                    nodeIpAddresses: [{
                        ipv4s: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                        ipv6s: [{
                            prefixLength: 0,
                            value: "string",
                        }],
                    }],
                }],
                externalIps: [{
                    ipv4s: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    ipv6s: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                }],
                gatewayNodes: ["string"],
                subnetReference: "string",
            }],
            externallyRoutablePrefixes: [{
                ipv4s: [{
                    ips: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    prefixLength: 0,
                }],
                ipv6s: [{
                    ips: [{
                        prefixLength: 0,
                        value: "string",
                    }],
                    prefixLength: 0,
                }],
            }],
            links: [{
                href: "string",
                rel: "string",
            }],
            metadatas: [{
                categoryIds: ["string"],
                ownerReferenceId: "string",
                ownerUserName: "string",
                projectName: "string",
                projectReferenceId: "string",
            }],
            name: "string",
            snatIps: [{
                ipv4s: [{
                    prefixLength: 0,
                    value: "string",
                }],
                ipv6s: [{
                    prefixLength: 0,
                    value: "string",
                }],
            }],
            tenantId: "string",
            vpcType: "string",
        }],
    });
    
    type: nutanix:SubnetV2
    properties:
        bridgeName: string
        clusterName: string
        clusterReference: string
        description: string
        dhcpOptions:
            - bootFileName: string
              domainName: string
              domainNameServers:
                - ipv4s:
                    - prefixLength: 0
                      value: string
                  ipv6s:
                    - prefixLength: 0
                      value: string
              ntpServers:
                - ipv4s:
                    - prefixLength: 0
                      value: string
                  ipv6s:
                    - prefixLength: 0
                      value: string
              searchDomains:
                - string
              tftpServerName: string
        dynamicIpAddresses:
            - ipv4s:
                - prefixLength: 0
                  value: string
              ipv6s:
                - prefixLength: 0
                  value: string
        extId: string
        hypervisorType: string
        ipConfigs:
            - ipv4s:
                - defaultGatewayIps:
                    - prefixLength: 0
                      value: string
                  dhcpServerAddresses:
                    - prefixLength: 0
                      value: string
                  ipSubnets:
                    - ips:
                        - prefixLength: 0
                          value: string
                      prefixLength: 0
                  poolLists:
                    - endIps:
                        - prefixLength: 0
                          value: string
                      startIps:
                        - prefixLength: 0
                          value: string
              ipv6s:
                - defaultGatewayIps:
                    - prefixLength: 0
                      value: string
                  dhcpServerAddresses:
                    - prefixLength: 0
                      value: string
                  ipSubnets:
                    - ips:
                        - prefixLength: 0
                          value: string
                      prefixLength: 0
                  poolLists:
                    - endIps:
                        - prefixLength: 0
                          value: string
                      startIps:
                        - prefixLength: 0
                          value: string
        ipPrefix: string
        ipUsages:
            - ipPoolUsages:
                - numFreeIps: 0
                  numTotalIps: 0
                  ranges:
                    - endIps:
                        - prefixLength: 0
                          value: string
                      startIps:
                        - prefixLength: 0
                          value: string
              numAssignedIps: 0
              numFreeIps: 0
              numMacs: 0
        isAdvancedNetworking: false
        isExternal: false
        isNatEnabled: false
        metadatas:
            - categoryIds:
                - string
              ownerReferenceId: string
              ownerUserName: string
              projectName: string
              projectReferenceId: string
        name: string
        networkFunctionChainReference: string
        networkId: 0
        reservedIpAddresses:
            - prefixLength: 0
              value: string
        subnetType: string
        virtualSwitchReference: string
        virtualSwitches:
            - bondMode: false
              clusters:
                - extId: string
                  gatewayIpAddresses:
                    - prefixLength: 0
                      value: string
                  hosts:
                    - extId: string
                      hostNics:
                        - string
                      internalBridgeName: string
                      ipAddresses:
                        - ips:
                            - prefixLength: 0
                              value: string
                          prefixLength: 0
                      routeTable: 0
              description: string
              extId: string
              hasDeploymentError: false
              isDefault: false
              links:
                - href: string
                  rel: string
              metadatas:
                - categoryIds:
                    - string
                  ownerReferenceId: string
                  ownerUserName: string
                  projectName: string
                  projectReferenceId: string
              mtu: 0
              name: string
              tenantId: string
        vpcReference: string
        vpcs:
            - commonDhcpOptions:
                - domainNameServers:
                    - ipv4s:
                        - prefixLength: 0
                          value: string
                      ipv6s:
                        - prefixLength: 0
                          value: string
              description: string
              extId: string
              externalRoutingDomainReference: string
              externalSubnets:
                - activeGatewayCount: 0
                  activeGatewayNodes:
                    - nodeId: string
                      nodeIpAddresses:
                        - ipv4s:
                            - prefixLength: 0
                              value: string
                          ipv6s:
                            - prefixLength: 0
                              value: string
                  externalIps:
                    - ipv4s:
                        - prefixLength: 0
                          value: string
                      ipv6s:
                        - prefixLength: 0
                          value: string
                  gatewayNodes:
                    - string
                  subnetReference: string
              externallyRoutablePrefixes:
                - ipv4s:
                    - ips:
                        - prefixLength: 0
                          value: string
                      prefixLength: 0
                  ipv6s:
                    - ips:
                        - prefixLength: 0
                          value: string
                      prefixLength: 0
              links:
                - href: string
                  rel: string
              metadatas:
                - categoryIds:
                    - string
                  ownerReferenceId: string
                  ownerUserName: string
                  projectName: string
                  projectReferenceId: string
              name: string
              snatIps:
                - ipv4s:
                    - prefixLength: 0
                      value: string
                  ipv6s:
                    - prefixLength: 0
                      value: string
              tenantId: string
              vpcType: string
    

    SubnetV2 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 SubnetV2 resource accepts the following input properties:

    SubnetType string
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    BridgeName string
    Name of the bridge on the host for the subnet.
    ClusterName string
    Cluster Name
    ClusterReference string
    UUID of the cluster this subnet belongs to.
    Description string
    Description of the subnet.
    DhcpOptions List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2DhcpOption>
    List of DHCP options to be configured.
    DynamicIpAddresses List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2DynamicIpAddress>
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    ExtId string
    HypervisorType string
    Hypervisor Type
    IpConfigs List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2IpConfig>
    IP configuration for the subnet.
    IpPrefix string
    IP Prefix in CIDR format.
    IpUsages List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2IpUsage>
    IsAdvancedNetworking bool
    Indicates whether the subnet is used for advanced networking.
    IsExternal bool
    Indicates whether the subnet is used for external connectivity.
    IsNatEnabled bool
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    Metadatas List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2Metadata>
    Name string
    Name of the subnet.
    NetworkFunctionChainReference string
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    NetworkId int
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    ReservedIpAddresses List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2ReservedIpAddress>
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    VirtualSwitchReference string
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    VirtualSwitches List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VirtualSwitch>
    Schema to configure a virtual switch
    VpcReference string
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    Vpcs List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2Vpc>
    Networking common base object
    SubnetType string
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    BridgeName string
    Name of the bridge on the host for the subnet.
    ClusterName string
    Cluster Name
    ClusterReference string
    UUID of the cluster this subnet belongs to.
    Description string
    Description of the subnet.
    DhcpOptions []SubnetV2DhcpOptionArgs
    List of DHCP options to be configured.
    DynamicIpAddresses []SubnetV2DynamicIpAddressArgs
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    ExtId string
    HypervisorType string
    Hypervisor Type
    IpConfigs []SubnetV2IpConfigArgs
    IP configuration for the subnet.
    IpPrefix string
    IP Prefix in CIDR format.
    IpUsages []SubnetV2IpUsageArgs
    IsAdvancedNetworking bool
    Indicates whether the subnet is used for advanced networking.
    IsExternal bool
    Indicates whether the subnet is used for external connectivity.
    IsNatEnabled bool
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    Metadatas []SubnetV2MetadataArgs
    Name string
    Name of the subnet.
    NetworkFunctionChainReference string
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    NetworkId int
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    ReservedIpAddresses []SubnetV2ReservedIpAddressArgs
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    VirtualSwitchReference string
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    VirtualSwitches []SubnetV2VirtualSwitchArgs
    Schema to configure a virtual switch
    VpcReference string
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    Vpcs []SubnetV2VpcArgs
    Networking common base object
    subnet_type string
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    bridge_name string
    Name of the bridge on the host for the subnet.
    cluster_name string
    Cluster Name
    cluster_reference string
    UUID of the cluster this subnet belongs to.
    description string
    Description of the subnet.
    dhcp_options list(object)
    List of DHCP options to be configured.
    dynamic_ip_addresses list(object)
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    ext_id string
    hypervisor_type string
    Hypervisor Type
    ip_configs list(object)
    IP configuration for the subnet.
    ip_prefix string
    IP Prefix in CIDR format.
    ip_usages list(object)
    is_advanced_networking bool
    Indicates whether the subnet is used for advanced networking.
    is_external bool
    Indicates whether the subnet is used for external connectivity.
    is_nat_enabled bool
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    metadatas list(object)
    name string
    Name of the subnet.
    network_function_chain_reference string
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    network_id number
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reserved_ip_addresses list(object)
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    virtual_switch_reference string
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtual_switches list(object)
    Schema to configure a virtual switch
    vpc_reference string
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs list(object)
    Networking common base object
    subnetType String
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    bridgeName String
    Name of the bridge on the host for the subnet.
    clusterName String
    Cluster Name
    clusterReference String
    UUID of the cluster this subnet belongs to.
    description String
    Description of the subnet.
    dhcpOptions List<SubnetV2DhcpOption>
    List of DHCP options to be configured.
    dynamicIpAddresses List<SubnetV2DynamicIpAddress>
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    extId String
    hypervisorType String
    Hypervisor Type
    ipConfigs List<SubnetV2IpConfig>
    IP configuration for the subnet.
    ipPrefix String
    IP Prefix in CIDR format.
    ipUsages List<SubnetV2IpUsage>
    isAdvancedNetworking Boolean
    Indicates whether the subnet is used for advanced networking.
    isExternal Boolean
    Indicates whether the subnet is used for external connectivity.
    isNatEnabled Boolean
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    metadatas List<SubnetV2Metadata>
    name String
    Name of the subnet.
    networkFunctionChainReference String
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    networkId Integer
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reservedIpAddresses List<SubnetV2ReservedIpAddress>
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    virtualSwitchReference String
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtualSwitches List<SubnetV2VirtualSwitch>
    Schema to configure a virtual switch
    vpcReference String
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs List<SubnetV2Vpc>
    Networking common base object
    subnetType string
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    bridgeName string
    Name of the bridge on the host for the subnet.
    clusterName string
    Cluster Name
    clusterReference string
    UUID of the cluster this subnet belongs to.
    description string
    Description of the subnet.
    dhcpOptions SubnetV2DhcpOption[]
    List of DHCP options to be configured.
    dynamicIpAddresses SubnetV2DynamicIpAddress[]
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    extId string
    hypervisorType string
    Hypervisor Type
    ipConfigs SubnetV2IpConfig[]
    IP configuration for the subnet.
    ipPrefix string
    IP Prefix in CIDR format.
    ipUsages SubnetV2IpUsage[]
    isAdvancedNetworking boolean
    Indicates whether the subnet is used for advanced networking.
    isExternal boolean
    Indicates whether the subnet is used for external connectivity.
    isNatEnabled boolean
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    metadatas SubnetV2Metadata[]
    name string
    Name of the subnet.
    networkFunctionChainReference string
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    networkId number
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reservedIpAddresses SubnetV2ReservedIpAddress[]
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    virtualSwitchReference string
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtualSwitches SubnetV2VirtualSwitch[]
    Schema to configure a virtual switch
    vpcReference string
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs SubnetV2Vpc[]
    Networking common base object
    subnet_type str
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    bridge_name str
    Name of the bridge on the host for the subnet.
    cluster_name str
    Cluster Name
    cluster_reference str
    UUID of the cluster this subnet belongs to.
    description str
    Description of the subnet.
    dhcp_options Sequence[SubnetV2DhcpOptionArgs]
    List of DHCP options to be configured.
    dynamic_ip_addresses Sequence[SubnetV2DynamicIpAddressArgs]
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    ext_id str
    hypervisor_type str
    Hypervisor Type
    ip_configs Sequence[SubnetV2IpConfigArgs]
    IP configuration for the subnet.
    ip_prefix str
    IP Prefix in CIDR format.
    ip_usages Sequence[SubnetV2IpUsageArgs]
    is_advanced_networking bool
    Indicates whether the subnet is used for advanced networking.
    is_external bool
    Indicates whether the subnet is used for external connectivity.
    is_nat_enabled bool
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    metadatas Sequence[SubnetV2MetadataArgs]
    name str
    Name of the subnet.
    network_function_chain_reference str
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    network_id int
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reserved_ip_addresses Sequence[SubnetV2ReservedIpAddressArgs]
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    virtual_switch_reference str
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtual_switches Sequence[SubnetV2VirtualSwitchArgs]
    Schema to configure a virtual switch
    vpc_reference str
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs Sequence[SubnetV2VpcArgs]
    Networking common base object
    subnetType String
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    bridgeName String
    Name of the bridge on the host for the subnet.
    clusterName String
    Cluster Name
    clusterReference String
    UUID of the cluster this subnet belongs to.
    description String
    Description of the subnet.
    dhcpOptions List<Property Map>
    List of DHCP options to be configured.
    dynamicIpAddresses List<Property Map>
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    extId String
    hypervisorType String
    Hypervisor Type
    ipConfigs List<Property Map>
    IP configuration for the subnet.
    ipPrefix String
    IP Prefix in CIDR format.
    ipUsages List<Property Map>
    isAdvancedNetworking Boolean
    Indicates whether the subnet is used for advanced networking.
    isExternal Boolean
    Indicates whether the subnet is used for external connectivity.
    isNatEnabled Boolean
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    metadatas List<Property Map>
    name String
    Name of the subnet.
    networkFunctionChainReference String
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    networkId Number
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reservedIpAddresses List<Property Map>
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    virtualSwitchReference String
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtualSwitches List<Property Map>
    Schema to configure a virtual switch
    vpcReference String
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs List<Property Map>
    Networking common base object

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SubnetV2 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Links List<PiersKarsenbarg.Nutanix.Outputs.SubnetV2Link>
    MigrationState string
    Id string
    The provider-assigned unique ID for this managed resource.
    Links []SubnetV2Link
    MigrationState string
    id string
    The provider-assigned unique ID for this managed resource.
    links list(object)
    migration_state string
    id String
    The provider-assigned unique ID for this managed resource.
    links List<SubnetV2Link>
    migrationState String
    id string
    The provider-assigned unique ID for this managed resource.
    links SubnetV2Link[]
    migrationState string
    id str
    The provider-assigned unique ID for this managed resource.
    links Sequence[SubnetV2Link]
    migration_state str
    id String
    The provider-assigned unique ID for this managed resource.
    links List<Property Map>
    migrationState String

    Look up Existing SubnetV2 Resource

    Get an existing SubnetV2 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?: SubnetV2State, opts?: CustomResourceOptions): SubnetV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bridge_name: Optional[str] = None,
            cluster_name: Optional[str] = None,
            cluster_reference: Optional[str] = None,
            description: Optional[str] = None,
            dhcp_options: Optional[Sequence[SubnetV2DhcpOptionArgs]] = None,
            dynamic_ip_addresses: Optional[Sequence[SubnetV2DynamicIpAddressArgs]] = None,
            ext_id: Optional[str] = None,
            hypervisor_type: Optional[str] = None,
            ip_configs: Optional[Sequence[SubnetV2IpConfigArgs]] = None,
            ip_prefix: Optional[str] = None,
            ip_usages: Optional[Sequence[SubnetV2IpUsageArgs]] = None,
            is_advanced_networking: Optional[bool] = None,
            is_external: Optional[bool] = None,
            is_nat_enabled: Optional[bool] = None,
            links: Optional[Sequence[SubnetV2LinkArgs]] = None,
            metadatas: Optional[Sequence[SubnetV2MetadataArgs]] = None,
            migration_state: Optional[str] = None,
            name: Optional[str] = None,
            network_function_chain_reference: Optional[str] = None,
            network_id: Optional[int] = None,
            reserved_ip_addresses: Optional[Sequence[SubnetV2ReservedIpAddressArgs]] = None,
            subnet_type: Optional[str] = None,
            virtual_switch_reference: Optional[str] = None,
            virtual_switches: Optional[Sequence[SubnetV2VirtualSwitchArgs]] = None,
            vpc_reference: Optional[str] = None,
            vpcs: Optional[Sequence[SubnetV2VpcArgs]] = None) -> SubnetV2
    func GetSubnetV2(ctx *Context, name string, id IDInput, state *SubnetV2State, opts ...ResourceOption) (*SubnetV2, error)
    public static SubnetV2 Get(string name, Input<string> id, SubnetV2State? state, CustomResourceOptions? opts = null)
    public static SubnetV2 get(String name, Output<String> id, SubnetV2State state, CustomResourceOptions options)
    resources:  _:    type: nutanix:SubnetV2    get:      id: ${id}
    import {
      to = nutanix_subnetv2.example
      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:
    BridgeName string
    Name of the bridge on the host for the subnet.
    ClusterName string
    Cluster Name
    ClusterReference string
    UUID of the cluster this subnet belongs to.
    Description string
    Description of the subnet.
    DhcpOptions List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2DhcpOption>
    List of DHCP options to be configured.
    DynamicIpAddresses List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2DynamicIpAddress>
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    ExtId string
    HypervisorType string
    Hypervisor Type
    IpConfigs List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2IpConfig>
    IP configuration for the subnet.
    IpPrefix string
    IP Prefix in CIDR format.
    IpUsages List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2IpUsage>
    IsAdvancedNetworking bool
    Indicates whether the subnet is used for advanced networking.
    IsExternal bool
    Indicates whether the subnet is used for external connectivity.
    IsNatEnabled bool
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    Links List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2Link>
    Metadatas List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2Metadata>
    MigrationState string
    Name string
    Name of the subnet.
    NetworkFunctionChainReference string
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    NetworkId int
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    ReservedIpAddresses List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2ReservedIpAddress>
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    SubnetType string
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    VirtualSwitchReference string
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    VirtualSwitches List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VirtualSwitch>
    Schema to configure a virtual switch
    VpcReference string
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    Vpcs List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2Vpc>
    Networking common base object
    BridgeName string
    Name of the bridge on the host for the subnet.
    ClusterName string
    Cluster Name
    ClusterReference string
    UUID of the cluster this subnet belongs to.
    Description string
    Description of the subnet.
    DhcpOptions []SubnetV2DhcpOptionArgs
    List of DHCP options to be configured.
    DynamicIpAddresses []SubnetV2DynamicIpAddressArgs
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    ExtId string
    HypervisorType string
    Hypervisor Type
    IpConfigs []SubnetV2IpConfigArgs
    IP configuration for the subnet.
    IpPrefix string
    IP Prefix in CIDR format.
    IpUsages []SubnetV2IpUsageArgs
    IsAdvancedNetworking bool
    Indicates whether the subnet is used for advanced networking.
    IsExternal bool
    Indicates whether the subnet is used for external connectivity.
    IsNatEnabled bool
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    Links []SubnetV2LinkArgs
    Metadatas []SubnetV2MetadataArgs
    MigrationState string
    Name string
    Name of the subnet.
    NetworkFunctionChainReference string
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    NetworkId int
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    ReservedIpAddresses []SubnetV2ReservedIpAddressArgs
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    SubnetType string
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    VirtualSwitchReference string
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    VirtualSwitches []SubnetV2VirtualSwitchArgs
    Schema to configure a virtual switch
    VpcReference string
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    Vpcs []SubnetV2VpcArgs
    Networking common base object
    bridge_name string
    Name of the bridge on the host for the subnet.
    cluster_name string
    Cluster Name
    cluster_reference string
    UUID of the cluster this subnet belongs to.
    description string
    Description of the subnet.
    dhcp_options list(object)
    List of DHCP options to be configured.
    dynamic_ip_addresses list(object)
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    ext_id string
    hypervisor_type string
    Hypervisor Type
    ip_configs list(object)
    IP configuration for the subnet.
    ip_prefix string
    IP Prefix in CIDR format.
    ip_usages list(object)
    is_advanced_networking bool
    Indicates whether the subnet is used for advanced networking.
    is_external bool
    Indicates whether the subnet is used for external connectivity.
    is_nat_enabled bool
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    links list(object)
    metadatas list(object)
    migration_state string
    name string
    Name of the subnet.
    network_function_chain_reference string
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    network_id number
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reserved_ip_addresses list(object)
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    subnet_type string
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    virtual_switch_reference string
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtual_switches list(object)
    Schema to configure a virtual switch
    vpc_reference string
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs list(object)
    Networking common base object
    bridgeName String
    Name of the bridge on the host for the subnet.
    clusterName String
    Cluster Name
    clusterReference String
    UUID of the cluster this subnet belongs to.
    description String
    Description of the subnet.
    dhcpOptions List<SubnetV2DhcpOption>
    List of DHCP options to be configured.
    dynamicIpAddresses List<SubnetV2DynamicIpAddress>
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    extId String
    hypervisorType String
    Hypervisor Type
    ipConfigs List<SubnetV2IpConfig>
    IP configuration for the subnet.
    ipPrefix String
    IP Prefix in CIDR format.
    ipUsages List<SubnetV2IpUsage>
    isAdvancedNetworking Boolean
    Indicates whether the subnet is used for advanced networking.
    isExternal Boolean
    Indicates whether the subnet is used for external connectivity.
    isNatEnabled Boolean
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    links List<SubnetV2Link>
    metadatas List<SubnetV2Metadata>
    migrationState String
    name String
    Name of the subnet.
    networkFunctionChainReference String
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    networkId Integer
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reservedIpAddresses List<SubnetV2ReservedIpAddress>
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    subnetType String
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    virtualSwitchReference String
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtualSwitches List<SubnetV2VirtualSwitch>
    Schema to configure a virtual switch
    vpcReference String
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs List<SubnetV2Vpc>
    Networking common base object
    bridgeName string
    Name of the bridge on the host for the subnet.
    clusterName string
    Cluster Name
    clusterReference string
    UUID of the cluster this subnet belongs to.
    description string
    Description of the subnet.
    dhcpOptions SubnetV2DhcpOption[]
    List of DHCP options to be configured.
    dynamicIpAddresses SubnetV2DynamicIpAddress[]
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    extId string
    hypervisorType string
    Hypervisor Type
    ipConfigs SubnetV2IpConfig[]
    IP configuration for the subnet.
    ipPrefix string
    IP Prefix in CIDR format.
    ipUsages SubnetV2IpUsage[]
    isAdvancedNetworking boolean
    Indicates whether the subnet is used for advanced networking.
    isExternal boolean
    Indicates whether the subnet is used for external connectivity.
    isNatEnabled boolean
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    links SubnetV2Link[]
    metadatas SubnetV2Metadata[]
    migrationState string
    name string
    Name of the subnet.
    networkFunctionChainReference string
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    networkId number
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reservedIpAddresses SubnetV2ReservedIpAddress[]
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    subnetType string
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    virtualSwitchReference string
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtualSwitches SubnetV2VirtualSwitch[]
    Schema to configure a virtual switch
    vpcReference string
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs SubnetV2Vpc[]
    Networking common base object
    bridge_name str
    Name of the bridge on the host for the subnet.
    cluster_name str
    Cluster Name
    cluster_reference str
    UUID of the cluster this subnet belongs to.
    description str
    Description of the subnet.
    dhcp_options Sequence[SubnetV2DhcpOptionArgs]
    List of DHCP options to be configured.
    dynamic_ip_addresses Sequence[SubnetV2DynamicIpAddressArgs]
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    ext_id str
    hypervisor_type str
    Hypervisor Type
    ip_configs Sequence[SubnetV2IpConfigArgs]
    IP configuration for the subnet.
    ip_prefix str
    IP Prefix in CIDR format.
    ip_usages Sequence[SubnetV2IpUsageArgs]
    is_advanced_networking bool
    Indicates whether the subnet is used for advanced networking.
    is_external bool
    Indicates whether the subnet is used for external connectivity.
    is_nat_enabled bool
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    links Sequence[SubnetV2LinkArgs]
    metadatas Sequence[SubnetV2MetadataArgs]
    migration_state str
    name str
    Name of the subnet.
    network_function_chain_reference str
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    network_id int
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reserved_ip_addresses Sequence[SubnetV2ReservedIpAddressArgs]
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    subnet_type str
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    virtual_switch_reference str
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtual_switches Sequence[SubnetV2VirtualSwitchArgs]
    Schema to configure a virtual switch
    vpc_reference str
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs Sequence[SubnetV2VpcArgs]
    Networking common base object
    bridgeName String
    Name of the bridge on the host for the subnet.
    clusterName String
    Cluster Name
    clusterReference String
    UUID of the cluster this subnet belongs to.
    description String
    Description of the subnet.
    dhcpOptions List<Property Map>
    List of DHCP options to be configured.
    dynamicIpAddresses List<Property Map>
    List of IPs, which are a subset from the reserved IP address list, that must be advertised to the SDN gateway.
    extId String
    hypervisorType String
    Hypervisor Type
    ipConfigs List<Property Map>
    IP configuration for the subnet.
    ipPrefix String
    IP Prefix in CIDR format.
    ipUsages List<Property Map>
    isAdvancedNetworking Boolean
    Indicates whether the subnet is used for advanced networking.
    isExternal Boolean
    Indicates whether the subnet is used for external connectivity.
    isNatEnabled Boolean
    Indicates whether NAT must be enabled for VPCs attached to the subnet. This is supported only for external subnets. NAT is enabled by default on external subnets.
    links List<Property Map>
    metadatas List<Property Map>
    migrationState String
    name String
    Name of the subnet.
    networkFunctionChainReference String
    UUID of the Network function chain entity that this subnet belongs to (type VLAN only).
    networkId Number
    For VLAN subnet, this field represents VLAN Id, valid range is from 0 to 4095; For overlay subnet, this field represents 24-bit VNI, this field is read-only.
    reservedIpAddresses List<Property Map>
    List of IPs that are excluded while allocating IP addresses to VM ports. Reference to address configuration
    subnetType String
    Type of subnet. Acceptables values are "OVERLAY", "VLAN".
    virtualSwitchReference String
    UUID of the virtual switch this subnet belongs to (type VLAN only).
    virtualSwitches List<Property Map>
    Schema to configure a virtual switch
    vpcReference String
    UUID of Virtual Private Cloud this subnet belongs to (type Overlay only).
    vpcs List<Property Map>
    Networking common base object

    Supporting Types

    SubnetV2DhcpOption, SubnetV2DhcpOptionArgs

    BootFileName string
    Boot file name
    DomainName string
    The DNS domain name of the client.
    DomainNameServers List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2DhcpOptionDomainNameServer>
    List of Domain Name Server addresses.
    NtpServers List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2DhcpOptionNtpServer>
    List of NTP server addresses
    SearchDomains List<string>
    The DNS domain search list.
    TftpServerName string
    TFTP server name
    BootFileName string
    Boot file name
    DomainName string
    The DNS domain name of the client.
    DomainNameServers []SubnetV2DhcpOptionDomainNameServer
    List of Domain Name Server addresses.
    NtpServers []SubnetV2DhcpOptionNtpServer
    List of NTP server addresses
    SearchDomains []string
    The DNS domain search list.
    TftpServerName string
    TFTP server name
    boot_file_name string
    Boot file name
    domain_name string
    The DNS domain name of the client.
    domain_name_servers list(object)
    List of Domain Name Server addresses.
    ntp_servers list(object)
    List of NTP server addresses
    search_domains list(string)
    The DNS domain search list.
    tftp_server_name string
    TFTP server name
    bootFileName String
    Boot file name
    domainName String
    The DNS domain name of the client.
    domainNameServers List<SubnetV2DhcpOptionDomainNameServer>
    List of Domain Name Server addresses.
    ntpServers List<SubnetV2DhcpOptionNtpServer>
    List of NTP server addresses
    searchDomains List<String>
    The DNS domain search list.
    tftpServerName String
    TFTP server name
    bootFileName string
    Boot file name
    domainName string
    The DNS domain name of the client.
    domainNameServers SubnetV2DhcpOptionDomainNameServer[]
    List of Domain Name Server addresses.
    ntpServers SubnetV2DhcpOptionNtpServer[]
    List of NTP server addresses
    searchDomains string[]
    The DNS domain search list.
    tftpServerName string
    TFTP server name
    boot_file_name str
    Boot file name
    domain_name str
    The DNS domain name of the client.
    domain_name_servers Sequence[SubnetV2DhcpOptionDomainNameServer]
    List of Domain Name Server addresses.
    ntp_servers Sequence[SubnetV2DhcpOptionNtpServer]
    List of NTP server addresses
    search_domains Sequence[str]
    The DNS domain search list.
    tftp_server_name str
    TFTP server name
    bootFileName String
    Boot file name
    domainName String
    The DNS domain name of the client.
    domainNameServers List<Property Map>
    List of Domain Name Server addresses.
    ntpServers List<Property Map>
    List of NTP server addresses
    searchDomains List<String>
    The DNS domain search list.
    tftpServerName String
    TFTP server name

    SubnetV2DhcpOptionDomainNameServer, SubnetV2DhcpOptionDomainNameServerArgs

    Ipv4s []SubnetV2DhcpOptionDomainNameServerIpv4
    IPv4 Object. Reference to address configuration
    Ipv6s []SubnetV2DhcpOptionDomainNameServerIpv6
    IPv6 Object. Reference to address configuration
    ipv4s list(object)
    IPv4 Object. Reference to address configuration
    ipv6s list(object)
    IPv6 Object. Reference to address configuration
    ipv4s List<SubnetV2DhcpOptionDomainNameServerIpv4>
    IPv4 Object. Reference to address configuration
    ipv6s List<SubnetV2DhcpOptionDomainNameServerIpv6>
    IPv6 Object. Reference to address configuration
    ipv4s SubnetV2DhcpOptionDomainNameServerIpv4[]
    IPv4 Object. Reference to address configuration
    ipv6s SubnetV2DhcpOptionDomainNameServerIpv6[]
    IPv6 Object. Reference to address configuration
    ipv4s Sequence[SubnetV2DhcpOptionDomainNameServerIpv4]
    IPv4 Object. Reference to address configuration
    ipv6s Sequence[SubnetV2DhcpOptionDomainNameServerIpv6]
    IPv6 Object. Reference to address configuration
    ipv4s List<Property Map>
    IPv4 Object. Reference to address configuration
    ipv6s List<Property Map>
    IPv6 Object. Reference to address configuration

    SubnetV2DhcpOptionDomainNameServerIpv4, SubnetV2DhcpOptionDomainNameServerIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    prefix_length number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value str
    value of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address

    SubnetV2DhcpOptionDomainNameServerIpv6, SubnetV2DhcpOptionDomainNameServerIpv6Args

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2DhcpOptionNtpServer, SubnetV2DhcpOptionNtpServerArgs

    SubnetV2DhcpOptionNtpServerIpv4, SubnetV2DhcpOptionNtpServerIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    prefix_length number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value str
    value of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address

    SubnetV2DhcpOptionNtpServerIpv6, SubnetV2DhcpOptionNtpServerIpv6Args

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2DynamicIpAddress, SubnetV2DynamicIpAddressArgs

    SubnetV2DynamicIpAddressIpv4, SubnetV2DynamicIpAddressIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    prefix_length number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value str
    value of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address

    SubnetV2DynamicIpAddressIpv6, SubnetV2DynamicIpAddressIpv6Args

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfig, SubnetV2IpConfigArgs

    Ipv4s []SubnetV2IpConfigIpv4
    IP V4 configuration.
    Ipv6s []SubnetV2IpConfigIpv6
    IP V6 configuration
    ipv4s list(object)
    IP V4 configuration.
    ipv6s list(object)
    IP V6 configuration
    ipv4s SubnetV2IpConfigIpv4[]
    IP V4 configuration.
    ipv6s SubnetV2IpConfigIpv6[]
    IP V6 configuration
    ipv4s List<Property Map>
    IP V4 configuration.
    ipv6s List<Property Map>
    IP V6 configuration

    SubnetV2IpConfigIpv4, SubnetV2IpConfigIpv4Args

    DefaultGatewayIps []SubnetV2IpConfigIpv4DefaultGatewayIp
    Reference to address configuration
    DhcpServerAddresses []SubnetV2IpConfigIpv4DhcpServerAddress
    Reference to address configuration
    IpSubnets []SubnetV2IpConfigIpv4IpSubnet
    subnet ip
    PoolLists []SubnetV2IpConfigIpv4PoolList
    Pool of IP addresses from where IPs are allocated.
    default_gateway_ips list(object)
    Reference to address configuration
    dhcp_server_addresses list(object)
    Reference to address configuration
    ip_subnets list(object)
    subnet ip
    pool_lists list(object)
    Pool of IP addresses from where IPs are allocated.
    defaultGatewayIps SubnetV2IpConfigIpv4DefaultGatewayIp[]
    Reference to address configuration
    dhcpServerAddresses SubnetV2IpConfigIpv4DhcpServerAddress[]
    Reference to address configuration
    ipSubnets SubnetV2IpConfigIpv4IpSubnet[]
    subnet ip
    poolLists SubnetV2IpConfigIpv4PoolList[]
    Pool of IP addresses from where IPs are allocated.
    defaultGatewayIps List<Property Map>
    Reference to address configuration
    dhcpServerAddresses List<Property Map>
    Reference to address configuration
    ipSubnets List<Property Map>
    subnet ip
    poolLists List<Property Map>
    Pool of IP addresses from where IPs are allocated.

    SubnetV2IpConfigIpv4DefaultGatewayIp, SubnetV2IpConfigIpv4DefaultGatewayIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv4DhcpServerAddress, SubnetV2IpConfigIpv4DhcpServerAddressArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv4IpSubnet, SubnetV2IpConfigIpv4IpSubnetArgs

    Ips List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2IpConfigIpv4IpSubnetIp>
    Reference to address configuration
    PrefixLength int
    The prefix length of the network to which this host IPv4 address belongs.
    Ips []SubnetV2IpConfigIpv4IpSubnetIp
    Reference to address configuration
    PrefixLength int
    The prefix length of the network to which this host IPv4 address belongs.
    ips list(object)
    Reference to address configuration
    prefix_length number
    The prefix length of the network to which this host IPv4 address belongs.
    ips List<SubnetV2IpConfigIpv4IpSubnetIp>
    Reference to address configuration
    prefixLength Integer
    The prefix length of the network to which this host IPv4 address belongs.
    ips SubnetV2IpConfigIpv4IpSubnetIp[]
    Reference to address configuration
    prefixLength number
    The prefix length of the network to which this host IPv4 address belongs.
    ips Sequence[SubnetV2IpConfigIpv4IpSubnetIp]
    Reference to address configuration
    prefix_length int
    The prefix length of the network to which this host IPv4 address belongs.
    ips List<Property Map>
    Reference to address configuration
    prefixLength Number
    The prefix length of the network to which this host IPv4 address belongs.

    SubnetV2IpConfigIpv4IpSubnetIp, SubnetV2IpConfigIpv4IpSubnetIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv4PoolList, SubnetV2IpConfigIpv4PoolListArgs

    EndIps []SubnetV2IpConfigIpv4PoolListEndIp
    Reference to address configuration
    StartIps []SubnetV2IpConfigIpv4PoolListStartIp
    Reference to address configuration
    end_ips list(object)
    Reference to address configuration
    start_ips list(object)
    Reference to address configuration
    endIps List<SubnetV2IpConfigIpv4PoolListEndIp>
    Reference to address configuration
    startIps List<SubnetV2IpConfigIpv4PoolListStartIp>
    Reference to address configuration
    endIps SubnetV2IpConfigIpv4PoolListEndIp[]
    Reference to address configuration
    startIps SubnetV2IpConfigIpv4PoolListStartIp[]
    Reference to address configuration
    end_ips Sequence[SubnetV2IpConfigIpv4PoolListEndIp]
    Reference to address configuration
    start_ips Sequence[SubnetV2IpConfigIpv4PoolListStartIp]
    Reference to address configuration
    endIps List<Property Map>
    Reference to address configuration
    startIps List<Property Map>
    Reference to address configuration

    SubnetV2IpConfigIpv4PoolListEndIp, SubnetV2IpConfigIpv4PoolListEndIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv4PoolListStartIp, SubnetV2IpConfigIpv4PoolListStartIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv6, SubnetV2IpConfigIpv6Args

    DefaultGatewayIps []SubnetV2IpConfigIpv6DefaultGatewayIp
    Reference to address configuration
    DhcpServerAddresses []SubnetV2IpConfigIpv6DhcpServerAddress
    Reference to address configuration
    IpSubnets []SubnetV2IpConfigIpv6IpSubnet
    subnet ip
    PoolLists []SubnetV2IpConfigIpv6PoolList
    Pool of IP addresses from where IPs are allocated.
    default_gateway_ips list(object)
    Reference to address configuration
    dhcp_server_addresses list(object)
    Reference to address configuration
    ip_subnets list(object)
    subnet ip
    pool_lists list(object)
    Pool of IP addresses from where IPs are allocated.
    defaultGatewayIps SubnetV2IpConfigIpv6DefaultGatewayIp[]
    Reference to address configuration
    dhcpServerAddresses SubnetV2IpConfigIpv6DhcpServerAddress[]
    Reference to address configuration
    ipSubnets SubnetV2IpConfigIpv6IpSubnet[]
    subnet ip
    poolLists SubnetV2IpConfigIpv6PoolList[]
    Pool of IP addresses from where IPs are allocated.
    defaultGatewayIps List<Property Map>
    Reference to address configuration
    dhcpServerAddresses List<Property Map>
    Reference to address configuration
    ipSubnets List<Property Map>
    subnet ip
    poolLists List<Property Map>
    Pool of IP addresses from where IPs are allocated.

    SubnetV2IpConfigIpv6DefaultGatewayIp, SubnetV2IpConfigIpv6DefaultGatewayIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv6DhcpServerAddress, SubnetV2IpConfigIpv6DhcpServerAddressArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv6IpSubnet, SubnetV2IpConfigIpv6IpSubnetArgs

    Ips List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2IpConfigIpv6IpSubnetIp>
    Reference to address configuration
    PrefixLength int
    The prefix length of the network to which this host IPv4 address belongs.
    Ips []SubnetV2IpConfigIpv6IpSubnetIp
    Reference to address configuration
    PrefixLength int
    The prefix length of the network to which this host IPv4 address belongs.
    ips list(object)
    Reference to address configuration
    prefix_length number
    The prefix length of the network to which this host IPv4 address belongs.
    ips List<SubnetV2IpConfigIpv6IpSubnetIp>
    Reference to address configuration
    prefixLength Integer
    The prefix length of the network to which this host IPv4 address belongs.
    ips SubnetV2IpConfigIpv6IpSubnetIp[]
    Reference to address configuration
    prefixLength number
    The prefix length of the network to which this host IPv4 address belongs.
    ips Sequence[SubnetV2IpConfigIpv6IpSubnetIp]
    Reference to address configuration
    prefix_length int
    The prefix length of the network to which this host IPv4 address belongs.
    ips List<Property Map>
    Reference to address configuration
    prefixLength Number
    The prefix length of the network to which this host IPv4 address belongs.

    SubnetV2IpConfigIpv6IpSubnetIp, SubnetV2IpConfigIpv6IpSubnetIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv6PoolList, SubnetV2IpConfigIpv6PoolListArgs

    EndIps []SubnetV2IpConfigIpv6PoolListEndIp
    Reference to address configuration
    StartIps []SubnetV2IpConfigIpv6PoolListStartIp
    Reference to address configuration
    end_ips list(object)
    Reference to address configuration
    start_ips list(object)
    Reference to address configuration
    endIps List<SubnetV2IpConfigIpv6PoolListEndIp>
    Reference to address configuration
    startIps List<SubnetV2IpConfigIpv6PoolListStartIp>
    Reference to address configuration
    endIps SubnetV2IpConfigIpv6PoolListEndIp[]
    Reference to address configuration
    startIps SubnetV2IpConfigIpv6PoolListStartIp[]
    Reference to address configuration
    end_ips Sequence[SubnetV2IpConfigIpv6PoolListEndIp]
    Reference to address configuration
    start_ips Sequence[SubnetV2IpConfigIpv6PoolListStartIp]
    Reference to address configuration
    endIps List<Property Map>
    Reference to address configuration
    startIps List<Property Map>
    Reference to address configuration

    SubnetV2IpConfigIpv6PoolListEndIp, SubnetV2IpConfigIpv6PoolListEndIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpConfigIpv6PoolListStartIp, SubnetV2IpConfigIpv6PoolListStartIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpUsage, SubnetV2IpUsageArgs

    SubnetV2IpUsageIpPoolUsage, SubnetV2IpUsageIpPoolUsageArgs

    SubnetV2IpUsageIpPoolUsageRange, SubnetV2IpUsageIpPoolUsageRangeArgs

    EndIps []SubnetV2IpUsageIpPoolUsageRangeEndIp
    Reference to address configuration
    StartIps []SubnetV2IpUsageIpPoolUsageRangeStartIp
    Reference to address configuration
    end_ips list(object)
    Reference to address configuration
    start_ips list(object)
    Reference to address configuration
    endIps List<SubnetV2IpUsageIpPoolUsageRangeEndIp>
    Reference to address configuration
    startIps List<SubnetV2IpUsageIpPoolUsageRangeStartIp>
    Reference to address configuration
    endIps SubnetV2IpUsageIpPoolUsageRangeEndIp[]
    Reference to address configuration
    startIps SubnetV2IpUsageIpPoolUsageRangeStartIp[]
    Reference to address configuration
    endIps List<Property Map>
    Reference to address configuration
    startIps List<Property Map>
    Reference to address configuration

    SubnetV2IpUsageIpPoolUsageRangeEndIp, SubnetV2IpUsageIpPoolUsageRangeEndIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2IpUsageIpPoolUsageRangeStartIp, SubnetV2IpUsageIpPoolUsageRangeStartIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address
    Href string
    Rel string
    Href string
    Rel string
    href string
    rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    SubnetV2Metadata, SubnetV2MetadataArgs

    SubnetV2ReservedIpAddress, SubnetV2ReservedIpAddressArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2VirtualSwitch, SubnetV2VirtualSwitchArgs

    BondMode bool
    The types of bond modes
    Clusters List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VirtualSwitchCluster>
    Cluster configuration list
    Description string
    Input body to configure a Virtual Switch
    ExtId string
    HasDeploymentError bool
    When true, the node is not put in maintenance mode during the create/update operation.
    IsDefault bool
    Indicates whether it is a default Virtual Switch which cannot be deleted
    Links List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VirtualSwitchLink>
    Metadatas List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VirtualSwitchMetadata>
    Mtu int
    MTU
    Name string
    User-visible Virtual Switch name
    TenantId string
    BondMode bool
    The types of bond modes
    Clusters []SubnetV2VirtualSwitchCluster
    Cluster configuration list
    Description string
    Input body to configure a Virtual Switch
    ExtId string
    HasDeploymentError bool
    When true, the node is not put in maintenance mode during the create/update operation.
    IsDefault bool
    Indicates whether it is a default Virtual Switch which cannot be deleted
    Links []SubnetV2VirtualSwitchLink
    Metadatas []SubnetV2VirtualSwitchMetadata
    Mtu int
    MTU
    Name string
    User-visible Virtual Switch name
    TenantId string
    bond_mode bool
    The types of bond modes
    clusters list(object)
    Cluster configuration list
    description string
    Input body to configure a Virtual Switch
    ext_id string
    has_deployment_error bool
    When true, the node is not put in maintenance mode during the create/update operation.
    is_default bool
    Indicates whether it is a default Virtual Switch which cannot be deleted
    links list(object)
    metadatas list(object)
    mtu number
    MTU
    name string
    User-visible Virtual Switch name
    tenant_id string
    bondMode Boolean
    The types of bond modes
    clusters List<SubnetV2VirtualSwitchCluster>
    Cluster configuration list
    description String
    Input body to configure a Virtual Switch
    extId String
    hasDeploymentError Boolean
    When true, the node is not put in maintenance mode during the create/update operation.
    isDefault Boolean
    Indicates whether it is a default Virtual Switch which cannot be deleted
    links List<SubnetV2VirtualSwitchLink>
    metadatas List<SubnetV2VirtualSwitchMetadata>
    mtu Integer
    MTU
    name String
    User-visible Virtual Switch name
    tenantId String
    bondMode boolean
    The types of bond modes
    clusters SubnetV2VirtualSwitchCluster[]
    Cluster configuration list
    description string
    Input body to configure a Virtual Switch
    extId string
    hasDeploymentError boolean
    When true, the node is not put in maintenance mode during the create/update operation.
    isDefault boolean
    Indicates whether it is a default Virtual Switch which cannot be deleted
    links SubnetV2VirtualSwitchLink[]
    metadatas SubnetV2VirtualSwitchMetadata[]
    mtu number
    MTU
    name string
    User-visible Virtual Switch name
    tenantId string
    bond_mode bool
    The types of bond modes
    clusters Sequence[SubnetV2VirtualSwitchCluster]
    Cluster configuration list
    description str
    Input body to configure a Virtual Switch
    ext_id str
    has_deployment_error bool
    When true, the node is not put in maintenance mode during the create/update operation.
    is_default bool
    Indicates whether it is a default Virtual Switch which cannot be deleted
    links Sequence[SubnetV2VirtualSwitchLink]
    metadatas Sequence[SubnetV2VirtualSwitchMetadata]
    mtu int
    MTU
    name str
    User-visible Virtual Switch name
    tenant_id str
    bondMode Boolean
    The types of bond modes
    clusters List<Property Map>
    Cluster configuration list
    description String
    Input body to configure a Virtual Switch
    extId String
    hasDeploymentError Boolean
    When true, the node is not put in maintenance mode during the create/update operation.
    isDefault Boolean
    Indicates whether it is a default Virtual Switch which cannot be deleted
    links List<Property Map>
    metadatas List<Property Map>
    mtu Number
    MTU
    name String
    User-visible Virtual Switch name
    tenantId String

    SubnetV2VirtualSwitchCluster, SubnetV2VirtualSwitchClusterArgs

    ExtId string
    Reference ExtId for the cluster. This is a required parameter on Prism Element ; and is optional on Prism Central
    GatewayIpAddresses List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VirtualSwitchClusterGatewayIpAddress>
    Reference to address configuration
    Hosts List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VirtualSwitchClusterHost>
    Host configuration array
    ExtId string
    Reference ExtId for the cluster. This is a required parameter on Prism Element ; and is optional on Prism Central
    GatewayIpAddresses []SubnetV2VirtualSwitchClusterGatewayIpAddress
    Reference to address configuration
    Hosts []SubnetV2VirtualSwitchClusterHost
    Host configuration array
    ext_id string
    Reference ExtId for the cluster. This is a required parameter on Prism Element ; and is optional on Prism Central
    gateway_ip_addresses list(object)
    Reference to address configuration
    hosts list(object)
    Host configuration array
    extId String
    Reference ExtId for the cluster. This is a required parameter on Prism Element ; and is optional on Prism Central
    gatewayIpAddresses List<SubnetV2VirtualSwitchClusterGatewayIpAddress>
    Reference to address configuration
    hosts List<SubnetV2VirtualSwitchClusterHost>
    Host configuration array
    extId string
    Reference ExtId for the cluster. This is a required parameter on Prism Element ; and is optional on Prism Central
    gatewayIpAddresses SubnetV2VirtualSwitchClusterGatewayIpAddress[]
    Reference to address configuration
    hosts SubnetV2VirtualSwitchClusterHost[]
    Host configuration array
    ext_id str
    Reference ExtId for the cluster. This is a required parameter on Prism Element ; and is optional on Prism Central
    gateway_ip_addresses Sequence[SubnetV2VirtualSwitchClusterGatewayIpAddress]
    Reference to address configuration
    hosts Sequence[SubnetV2VirtualSwitchClusterHost]
    Host configuration array
    extId String
    Reference ExtId for the cluster. This is a required parameter on Prism Element ; and is optional on Prism Central
    gatewayIpAddresses List<Property Map>
    Reference to address configuration
    hosts List<Property Map>
    Host configuration array

    SubnetV2VirtualSwitchClusterGatewayIpAddress, SubnetV2VirtualSwitchClusterGatewayIpAddressArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2VirtualSwitchClusterHost, SubnetV2VirtualSwitchClusterHostArgs

    ExtId string
    Reference to the host
    HostNics List<string>
    Host NIC array
    InternalBridgeName string
    IpAddresses List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VirtualSwitchClusterHostIpAddress>
    Ip Address config.

    • ip_address.ip: (Required) Reference to address configuration
    • ip_address.prefix_length: (Required) prefix length of address.
    RouteTable int
    ExtId string
    Reference to the host
    HostNics []string
    Host NIC array
    InternalBridgeName string
    IpAddresses []SubnetV2VirtualSwitchClusterHostIpAddress
    Ip Address config.

    • ip_address.ip: (Required) Reference to address configuration
    • ip_address.prefix_length: (Required) prefix length of address.
    RouteTable int
    ext_id string
    Reference to the host
    host_nics list(string)
    Host NIC array
    internal_bridge_name string
    ip_addresses list(object)
    Ip Address config.

    • ip_address.ip: (Required) Reference to address configuration
    • ip_address.prefix_length: (Required) prefix length of address.
    route_table number
    extId String
    Reference to the host
    hostNics List<String>
    Host NIC array
    internalBridgeName String
    ipAddresses List<SubnetV2VirtualSwitchClusterHostIpAddress>
    Ip Address config.

    • ip_address.ip: (Required) Reference to address configuration
    • ip_address.prefix_length: (Required) prefix length of address.
    routeTable Integer
    extId string
    Reference to the host
    hostNics string[]
    Host NIC array
    internalBridgeName string
    ipAddresses SubnetV2VirtualSwitchClusterHostIpAddress[]
    Ip Address config.

    • ip_address.ip: (Required) Reference to address configuration
    • ip_address.prefix_length: (Required) prefix length of address.
    routeTable number
    ext_id str
    Reference to the host
    host_nics Sequence[str]
    Host NIC array
    internal_bridge_name str
    ip_addresses Sequence[SubnetV2VirtualSwitchClusterHostIpAddress]
    Ip Address config.

    • ip_address.ip: (Required) Reference to address configuration
    • ip_address.prefix_length: (Required) prefix length of address.
    route_table int
    extId String
    Reference to the host
    hostNics List<String>
    Host NIC array
    internalBridgeName String
    ipAddresses List<Property Map>
    Ip Address config.

    • ip_address.ip: (Required) Reference to address configuration
    • ip_address.prefix_length: (Required) prefix length of address.
    routeTable Number

    SubnetV2VirtualSwitchClusterHostIpAddress, SubnetV2VirtualSwitchClusterHostIpAddressArgs

    ips list(object)
    Reference to address configuration
    prefix_length number
    ips List<SubnetV2VirtualSwitchClusterHostIpAddressIp>
    Reference to address configuration
    prefixLength Integer
    ips SubnetV2VirtualSwitchClusterHostIpAddressIp[]
    Reference to address configuration
    prefixLength number
    ips List<Property Map>
    Reference to address configuration
    prefixLength Number

    SubnetV2VirtualSwitchClusterHostIpAddressIp, SubnetV2VirtualSwitchClusterHostIpAddressIpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address
    Href string
    Rel string
    Href string
    Rel string
    href string
    rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    SubnetV2VirtualSwitchMetadata, SubnetV2VirtualSwitchMetadataArgs

    SubnetV2Vpc, SubnetV2VpcArgs

    CommonDhcpOptions List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcCommonDhcpOption>
    List of DHCP options to be configured.
    Description string
    Description of the VPC.
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    ExternalRoutingDomainReference string
    External routing domain associated with this route table
    ExternalSubnets List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcExternalSubnet>
    List of external subnets that the VPC is attached to.
    ExternallyRoutablePrefixes List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefix>
    CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
    Links List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcLink>
    Metadatas List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcMetadata>
    Name string
    Name of the VPC.
    SnatIps List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcSnatIp>
    TenantId string
    VpcType string
    Type of VPC. Acceptables values are "REGULAR" , "TRANSIT".
    CommonDhcpOptions []SubnetV2VpcCommonDhcpOption
    List of DHCP options to be configured.
    Description string
    Description of the VPC.
    ExtId string
    A globally unique identifier of an instance that is suitable for external consumption.
    ExternalRoutingDomainReference string
    External routing domain associated with this route table
    ExternalSubnets []SubnetV2VpcExternalSubnet
    List of external subnets that the VPC is attached to.
    ExternallyRoutablePrefixes []SubnetV2VpcExternallyRoutablePrefix
    CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
    Links []SubnetV2VpcLink
    Metadatas []SubnetV2VpcMetadata
    Name string
    Name of the VPC.
    SnatIps []SubnetV2VpcSnatIp
    TenantId string
    VpcType string
    Type of VPC. Acceptables values are "REGULAR" , "TRANSIT".
    common_dhcp_options list(object)
    List of DHCP options to be configured.
    description string
    Description of the VPC.
    ext_id string
    A globally unique identifier of an instance that is suitable for external consumption.
    external_routing_domain_reference string
    External routing domain associated with this route table
    external_subnets list(object)
    List of external subnets that the VPC is attached to.
    externally_routable_prefixes list(object)
    CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
    links list(object)
    metadatas list(object)
    name string
    Name of the VPC.
    snat_ips list(object)
    tenant_id string
    vpc_type string
    Type of VPC. Acceptables values are "REGULAR" , "TRANSIT".
    commonDhcpOptions List<SubnetV2VpcCommonDhcpOption>
    List of DHCP options to be configured.
    description String
    Description of the VPC.
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    externalRoutingDomainReference String
    External routing domain associated with this route table
    externalSubnets List<SubnetV2VpcExternalSubnet>
    List of external subnets that the VPC is attached to.
    externallyRoutablePrefixes List<SubnetV2VpcExternallyRoutablePrefix>
    CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
    links List<SubnetV2VpcLink>
    metadatas List<SubnetV2VpcMetadata>
    name String
    Name of the VPC.
    snatIps List<SubnetV2VpcSnatIp>
    tenantId String
    vpcType String
    Type of VPC. Acceptables values are "REGULAR" , "TRANSIT".
    commonDhcpOptions SubnetV2VpcCommonDhcpOption[]
    List of DHCP options to be configured.
    description string
    Description of the VPC.
    extId string
    A globally unique identifier of an instance that is suitable for external consumption.
    externalRoutingDomainReference string
    External routing domain associated with this route table
    externalSubnets SubnetV2VpcExternalSubnet[]
    List of external subnets that the VPC is attached to.
    externallyRoutablePrefixes SubnetV2VpcExternallyRoutablePrefix[]
    CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
    links SubnetV2VpcLink[]
    metadatas SubnetV2VpcMetadata[]
    name string
    Name of the VPC.
    snatIps SubnetV2VpcSnatIp[]
    tenantId string
    vpcType string
    Type of VPC. Acceptables values are "REGULAR" , "TRANSIT".
    common_dhcp_options Sequence[SubnetV2VpcCommonDhcpOption]
    List of DHCP options to be configured.
    description str
    Description of the VPC.
    ext_id str
    A globally unique identifier of an instance that is suitable for external consumption.
    external_routing_domain_reference str
    External routing domain associated with this route table
    external_subnets Sequence[SubnetV2VpcExternalSubnet]
    List of external subnets that the VPC is attached to.
    externally_routable_prefixes Sequence[SubnetV2VpcExternallyRoutablePrefix]
    CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
    links Sequence[SubnetV2VpcLink]
    metadatas Sequence[SubnetV2VpcMetadata]
    name str
    Name of the VPC.
    snat_ips Sequence[SubnetV2VpcSnatIp]
    tenant_id str
    vpc_type str
    Type of VPC. Acceptables values are "REGULAR" , "TRANSIT".
    commonDhcpOptions List<Property Map>
    List of DHCP options to be configured.
    description String
    Description of the VPC.
    extId String
    A globally unique identifier of an instance that is suitable for external consumption.
    externalRoutingDomainReference String
    External routing domain associated with this route table
    externalSubnets List<Property Map>
    List of external subnets that the VPC is attached to.
    externallyRoutablePrefixes List<Property Map>
    CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
    links List<Property Map>
    metadatas List<Property Map>
    name String
    Name of the VPC.
    snatIps List<Property Map>
    tenantId String
    vpcType String
    Type of VPC. Acceptables values are "REGULAR" , "TRANSIT".

    SubnetV2VpcCommonDhcpOption, SubnetV2VpcCommonDhcpOptionArgs

    DomainNameServers List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcCommonDhcpOptionDomainNameServer>
    List of Domain Name Server addresses.

    • domain_name_servers.ipv4: (Optional) Reference to address configuration
    • domain_name_servers.ipv6: (Optional) Reference to address configuration
    DomainNameServers []SubnetV2VpcCommonDhcpOptionDomainNameServer
    List of Domain Name Server addresses.

    • domain_name_servers.ipv4: (Optional) Reference to address configuration
    • domain_name_servers.ipv6: (Optional) Reference to address configuration
    domain_name_servers list(object)
    List of Domain Name Server addresses.

    • domain_name_servers.ipv4: (Optional) Reference to address configuration
    • domain_name_servers.ipv6: (Optional) Reference to address configuration
    domainNameServers List<SubnetV2VpcCommonDhcpOptionDomainNameServer>
    List of Domain Name Server addresses.

    • domain_name_servers.ipv4: (Optional) Reference to address configuration
    • domain_name_servers.ipv6: (Optional) Reference to address configuration
    domainNameServers SubnetV2VpcCommonDhcpOptionDomainNameServer[]
    List of Domain Name Server addresses.

    • domain_name_servers.ipv4: (Optional) Reference to address configuration
    • domain_name_servers.ipv6: (Optional) Reference to address configuration
    domain_name_servers Sequence[SubnetV2VpcCommonDhcpOptionDomainNameServer]
    List of Domain Name Server addresses.

    • domain_name_servers.ipv4: (Optional) Reference to address configuration
    • domain_name_servers.ipv6: (Optional) Reference to address configuration
    domainNameServers List<Property Map>
    List of Domain Name Server addresses.

    • domain_name_servers.ipv4: (Optional) Reference to address configuration
    • domain_name_servers.ipv6: (Optional) Reference to address configuration

    SubnetV2VpcCommonDhcpOptionDomainNameServer, SubnetV2VpcCommonDhcpOptionDomainNameServerArgs

    Ipv4s []SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4
    IPv4 Object. Reference to address configuration
    Ipv6s []SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6
    IPv6 Object. Reference to address configuration
    ipv4s list(object)
    IPv4 Object. Reference to address configuration
    ipv6s list(object)
    IPv6 Object. Reference to address configuration
    ipv4s List<SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4>
    IPv4 Object. Reference to address configuration
    ipv6s List<SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6>
    IPv6 Object. Reference to address configuration
    ipv4s SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4[]
    IPv4 Object. Reference to address configuration
    ipv6s SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6[]
    IPv6 Object. Reference to address configuration
    ipv4s Sequence[SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4]
    IPv4 Object. Reference to address configuration
    ipv6s Sequence[SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6]
    IPv6 Object. Reference to address configuration
    ipv4s List<Property Map>
    IPv4 Object. Reference to address configuration
    ipv6s List<Property Map>
    IPv6 Object. Reference to address configuration

    SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4, SubnetV2VpcCommonDhcpOptionDomainNameServerIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    prefix_length number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value str
    value of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address

    SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6, SubnetV2VpcCommonDhcpOptionDomainNameServerIpv6Args

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2VpcExternalSubnet, SubnetV2VpcExternalSubnetArgs

    ActiveGatewayCount int
    ActiveGatewayNodes List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcExternalSubnetActiveGatewayNode>
    Reference of gateway nodes
    ExternalIps List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcExternalSubnetExternalIp>
    List of IP Addresses used for SNAT, if NAT is enabled on the external subnet. If NAT is not enabled, this specifies the IP address of the VPC port connected to the external gateway.
    GatewayNodes List<string>
    List of gateway nodes that can be used for external connectivity.
    SubnetReference string
    External subnet reference.
    ActiveGatewayCount int
    ActiveGatewayNodes []SubnetV2VpcExternalSubnetActiveGatewayNode
    Reference of gateway nodes
    ExternalIps []SubnetV2VpcExternalSubnetExternalIp
    List of IP Addresses used for SNAT, if NAT is enabled on the external subnet. If NAT is not enabled, this specifies the IP address of the VPC port connected to the external gateway.
    GatewayNodes []string
    List of gateway nodes that can be used for external connectivity.
    SubnetReference string
    External subnet reference.
    active_gateway_count number
    active_gateway_nodes list(object)
    Reference of gateway nodes
    external_ips list(object)
    List of IP Addresses used for SNAT, if NAT is enabled on the external subnet. If NAT is not enabled, this specifies the IP address of the VPC port connected to the external gateway.
    gateway_nodes list(string)
    List of gateway nodes that can be used for external connectivity.
    subnet_reference string
    External subnet reference.
    activeGatewayCount Integer
    activeGatewayNodes List<SubnetV2VpcExternalSubnetActiveGatewayNode>
    Reference of gateway nodes
    externalIps List<SubnetV2VpcExternalSubnetExternalIp>
    List of IP Addresses used for SNAT, if NAT is enabled on the external subnet. If NAT is not enabled, this specifies the IP address of the VPC port connected to the external gateway.
    gatewayNodes List<String>
    List of gateway nodes that can be used for external connectivity.
    subnetReference String
    External subnet reference.
    activeGatewayCount number
    activeGatewayNodes SubnetV2VpcExternalSubnetActiveGatewayNode[]
    Reference of gateway nodes
    externalIps SubnetV2VpcExternalSubnetExternalIp[]
    List of IP Addresses used for SNAT, if NAT is enabled on the external subnet. If NAT is not enabled, this specifies the IP address of the VPC port connected to the external gateway.
    gatewayNodes string[]
    List of gateway nodes that can be used for external connectivity.
    subnetReference string
    External subnet reference.
    active_gateway_count int
    active_gateway_nodes Sequence[SubnetV2VpcExternalSubnetActiveGatewayNode]
    Reference of gateway nodes
    external_ips Sequence[SubnetV2VpcExternalSubnetExternalIp]
    List of IP Addresses used for SNAT, if NAT is enabled on the external subnet. If NAT is not enabled, this specifies the IP address of the VPC port connected to the external gateway.
    gateway_nodes Sequence[str]
    List of gateway nodes that can be used for external connectivity.
    subnet_reference str
    External subnet reference.
    activeGatewayCount Number
    activeGatewayNodes List<Property Map>
    Reference of gateway nodes
    externalIps List<Property Map>
    List of IP Addresses used for SNAT, if NAT is enabled on the external subnet. If NAT is not enabled, this specifies the IP address of the VPC port connected to the external gateway.
    gatewayNodes List<String>
    List of gateway nodes that can be used for external connectivity.
    subnetReference String
    External subnet reference.

    SubnetV2VpcExternalSubnetActiveGatewayNode, SubnetV2VpcExternalSubnetActiveGatewayNodeArgs

    NodeId string
    Node id
    NodeIpAddresses List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddress>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.

    • node_ip_address.ipv4: (Optional) Reference to address configuration
    • node_ip_address.ipv6: (Optional) Reference to address configuration
    NodeId string
    Node id
    NodeIpAddresses []SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddress
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.

    • node_ip_address.ipv4: (Optional) Reference to address configuration
    • node_ip_address.ipv6: (Optional) Reference to address configuration
    node_id string
    Node id
    node_ip_addresses list(object)
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.

    • node_ip_address.ipv4: (Optional) Reference to address configuration
    • node_ip_address.ipv6: (Optional) Reference to address configuration
    nodeId String
    Node id
    nodeIpAddresses List<SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddress>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.

    • node_ip_address.ipv4: (Optional) Reference to address configuration
    • node_ip_address.ipv6: (Optional) Reference to address configuration
    nodeId string
    Node id
    nodeIpAddresses SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddress[]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.

    • node_ip_address.ipv4: (Optional) Reference to address configuration
    • node_ip_address.ipv6: (Optional) Reference to address configuration
    node_id str
    Node id
    node_ip_addresses Sequence[SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddress]
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.

    • node_ip_address.ipv4: (Optional) Reference to address configuration
    • node_ip_address.ipv6: (Optional) Reference to address configuration
    nodeId String
    Node id
    nodeIpAddresses List<Property Map>
    An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.

    • node_ip_address.ipv4: (Optional) Reference to address configuration
    • node_ip_address.ipv6: (Optional) Reference to address configuration

    SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddress, SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressArgs

    SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv4, SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    prefix_length number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value str
    value of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address

    SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv6, SubnetV2VpcExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Args

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2VpcExternalSubnetExternalIp, SubnetV2VpcExternalSubnetExternalIpArgs

    Ipv4s []SubnetV2VpcExternalSubnetExternalIpIpv4
    Reference to address configuration
    Ipv6s []SubnetV2VpcExternalSubnetExternalIpIpv6
    Reference to address configuration
    ipv4s list(object)
    Reference to address configuration
    ipv6s list(object)
    Reference to address configuration
    ipv4s List<SubnetV2VpcExternalSubnetExternalIpIpv4>
    Reference to address configuration
    ipv6s List<SubnetV2VpcExternalSubnetExternalIpIpv6>
    Reference to address configuration
    ipv4s SubnetV2VpcExternalSubnetExternalIpIpv4[]
    Reference to address configuration
    ipv6s SubnetV2VpcExternalSubnetExternalIpIpv6[]
    Reference to address configuration
    ipv4s List<Property Map>
    Reference to address configuration
    ipv6s List<Property Map>
    Reference to address configuration

    SubnetV2VpcExternalSubnetExternalIpIpv4, SubnetV2VpcExternalSubnetExternalIpIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    prefix_length number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value str
    value of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address

    SubnetV2VpcExternalSubnetExternalIpIpv6, SubnetV2VpcExternalSubnetExternalIpIpv6Args

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2VpcExternallyRoutablePrefix, SubnetV2VpcExternallyRoutablePrefixArgs

    Ipv4s List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefixIpv4>
    IP v4 subnet

    • ipv4.ip: (Required) Reference to address configuration
    • ipv4.prefix_length: (Required) The prefix length of the network.
    Ipv6s List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefixIpv6>
    IP v6 subnet

    • ipv6.ip: (Required) Reference to address configuration
    • ipv6.prefix_length: (Required) The prefix length of the network.
    Ipv4s []SubnetV2VpcExternallyRoutablePrefixIpv4
    IP v4 subnet

    • ipv4.ip: (Required) Reference to address configuration
    • ipv4.prefix_length: (Required) The prefix length of the network.
    Ipv6s []SubnetV2VpcExternallyRoutablePrefixIpv6
    IP v6 subnet

    • ipv6.ip: (Required) Reference to address configuration
    • ipv6.prefix_length: (Required) The prefix length of the network.
    ipv4s list(object)
    IP v4 subnet

    • ipv4.ip: (Required) Reference to address configuration
    • ipv4.prefix_length: (Required) The prefix length of the network.
    ipv6s list(object)
    IP v6 subnet

    • ipv6.ip: (Required) Reference to address configuration
    • ipv6.prefix_length: (Required) The prefix length of the network.
    ipv4s List<SubnetV2VpcExternallyRoutablePrefixIpv4>
    IP v4 subnet

    • ipv4.ip: (Required) Reference to address configuration
    • ipv4.prefix_length: (Required) The prefix length of the network.
    ipv6s List<SubnetV2VpcExternallyRoutablePrefixIpv6>
    IP v6 subnet

    • ipv6.ip: (Required) Reference to address configuration
    • ipv6.prefix_length: (Required) The prefix length of the network.
    ipv4s SubnetV2VpcExternallyRoutablePrefixIpv4[]
    IP v4 subnet

    • ipv4.ip: (Required) Reference to address configuration
    • ipv4.prefix_length: (Required) The prefix length of the network.
    ipv6s SubnetV2VpcExternallyRoutablePrefixIpv6[]
    IP v6 subnet

    • ipv6.ip: (Required) Reference to address configuration
    • ipv6.prefix_length: (Required) The prefix length of the network.
    ipv4s Sequence[SubnetV2VpcExternallyRoutablePrefixIpv4]
    IP v4 subnet

    • ipv4.ip: (Required) Reference to address configuration
    • ipv4.prefix_length: (Required) The prefix length of the network.
    ipv6s Sequence[SubnetV2VpcExternallyRoutablePrefixIpv6]
    IP v6 subnet

    • ipv6.ip: (Required) Reference to address configuration
    • ipv6.prefix_length: (Required) The prefix length of the network.
    ipv4s List<Property Map>
    IP v4 subnet

    • ipv4.ip: (Required) Reference to address configuration
    • ipv4.prefix_length: (Required) The prefix length of the network.
    ipv6s List<Property Map>
    IP v6 subnet

    • ipv6.ip: (Required) Reference to address configuration
    • ipv6.prefix_length: (Required) The prefix length of the network.

    SubnetV2VpcExternallyRoutablePrefixIpv4, SubnetV2VpcExternallyRoutablePrefixIpv4Args

    Ips List<PiersKarsenbarg.Nutanix.Inputs.SubnetV2VpcExternallyRoutablePrefixIpv4Ip>
    Reference to address configuration
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Ips []SubnetV2VpcExternallyRoutablePrefixIpv4Ip
    Reference to address configuration
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    ips list(object)
    Reference to address configuration
    prefix_length number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    ips List<SubnetV2VpcExternallyRoutablePrefixIpv4Ip>
    Reference to address configuration
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    ips SubnetV2VpcExternallyRoutablePrefixIpv4Ip[]
    Reference to address configuration
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    ips Sequence[SubnetV2VpcExternallyRoutablePrefixIpv4Ip]
    Reference to address configuration
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    ips List<Property Map>
    Reference to address configuration
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.

    SubnetV2VpcExternallyRoutablePrefixIpv4Ip, SubnetV2VpcExternallyRoutablePrefixIpv4IpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    SubnetV2VpcExternallyRoutablePrefixIpv6, SubnetV2VpcExternallyRoutablePrefixIpv6Args

    Ips []SubnetV2VpcExternallyRoutablePrefixIpv6Ip
    Reference to address configuration
    PrefixLength int
    ips list(object)
    Reference to address configuration
    prefix_length number
    ips List<SubnetV2VpcExternallyRoutablePrefixIpv6Ip>
    Reference to address configuration
    prefixLength Integer
    ips SubnetV2VpcExternallyRoutablePrefixIpv6Ip[]
    Reference to address configuration
    prefixLength number
    ips List<Property Map>
    Reference to address configuration
    prefixLength Number

    SubnetV2VpcExternallyRoutablePrefixIpv6Ip, SubnetV2VpcExternallyRoutablePrefixIpv6IpArgs

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address
    Href string
    Rel string
    Href string
    Rel string
    href string
    rel string
    href String
    rel String
    href string
    rel string
    href str
    rel str
    href String
    rel String

    SubnetV2VpcMetadata, SubnetV2VpcMetadataArgs

    SubnetV2VpcSnatIp, SubnetV2VpcSnatIpArgs

    SubnetV2VpcSnatIpIpv4, SubnetV2VpcSnatIpIpv4Args

    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    PrefixLength int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    Value string
    value of address
    prefix_length number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefixLength Integer
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address
    prefixLength number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value string
    value of address
    prefix_length int
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value str
    value of address
    prefixLength Number
    The prefix length of the network to which this host IPv4/IPv6 address belongs. Default value is 32.
    value String
    value of address

    SubnetV2VpcSnatIpIpv6, SubnetV2VpcSnatIpIpv6Args

    PrefixLength int
    Value string
    value of address
    PrefixLength int
    Value string
    value of address
    prefix_length number
    value string
    value of address
    prefixLength Integer
    value String
    value of address
    prefixLength number
    value string
    value of address
    prefix_length int
    value str
    value of address
    prefixLength Number
    value String
    value of address

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Viewing docs for Nutanix v0.15.1
    published on Friday, May 22, 2026 by Piers Karsenbarg

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial