1. Packages
  2. Nutanix
  3. API Docs
  4. Vpc
Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg

nutanix.Vpc

Explore with Pulumi AI

Provides Nutanix resource to create VPC.

Example Usage

vpc creation with external subnet name

import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";

const vpc = new nutanix.Vpc("vpc", {
    commonDomainNameServerIpLists: [
        {
            ip: "8.8.8.8",
        },
        {
            ip: "8.8.8.9",
        },
    ],
    externalSubnetReferenceNames: [
        "test-Ext1",
        "test-ext2",
    ],
    externallyRoutablePrefixLists: [{
        ip: "192.43.0.0",
        prefixLength: 16,
    }],
});
Copy
import pulumi
import pulumi_nutanix as nutanix

vpc = nutanix.Vpc("vpc",
    common_domain_name_server_ip_lists=[
        {
            "ip": "8.8.8.8",
        },
        {
            "ip": "8.8.8.9",
        },
    ],
    external_subnet_reference_names=[
        "test-Ext1",
        "test-ext2",
    ],
    externally_routable_prefix_lists=[{
        "ip": "192.43.0.0",
        "prefix_length": 16,
    }])
Copy
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 {
		_, err := nutanix.NewVpc(ctx, "vpc", &nutanix.VpcArgs{
			CommonDomainNameServerIpLists: nutanix.VpcCommonDomainNameServerIpListArray{
				&nutanix.VpcCommonDomainNameServerIpListArgs{
					Ip: pulumi.String("8.8.8.8"),
				},
				&nutanix.VpcCommonDomainNameServerIpListArgs{
					Ip: pulumi.String("8.8.8.9"),
				},
			},
			ExternalSubnetReferenceNames: pulumi.StringArray{
				pulumi.String("test-Ext1"),
				pulumi.String("test-ext2"),
			},
			ExternallyRoutablePrefixLists: nutanix.VpcExternallyRoutablePrefixListArray{
				&nutanix.VpcExternallyRoutablePrefixListArgs{
					Ip:           pulumi.String("192.43.0.0"),
					PrefixLength: pulumi.Int(16),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;

return await Deployment.RunAsync(() => 
{
    var vpc = new Nutanix.Vpc("vpc", new()
    {
        CommonDomainNameServerIpLists = new[]
        {
            new Nutanix.Inputs.VpcCommonDomainNameServerIpListArgs
            {
                Ip = "8.8.8.8",
            },
            new Nutanix.Inputs.VpcCommonDomainNameServerIpListArgs
            {
                Ip = "8.8.8.9",
            },
        },
        ExternalSubnetReferenceNames = new[]
        {
            "test-Ext1",
            "test-ext2",
        },
        ExternallyRoutablePrefixLists = new[]
        {
            new Nutanix.Inputs.VpcExternallyRoutablePrefixListArgs
            {
                Ip = "192.43.0.0",
                PrefixLength = 16,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.Vpc;
import com.pulumi.nutanix.VpcArgs;
import com.pulumi.nutanix.inputs.VpcCommonDomainNameServerIpListArgs;
import com.pulumi.nutanix.inputs.VpcExternallyRoutablePrefixListArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var vpc = new Vpc("vpc", VpcArgs.builder()
            .commonDomainNameServerIpLists(            
                VpcCommonDomainNameServerIpListArgs.builder()
                    .ip("8.8.8.8")
                    .build(),
                VpcCommonDomainNameServerIpListArgs.builder()
                    .ip("8.8.8.9")
                    .build())
            .externalSubnetReferenceNames(            
                "test-Ext1",
                "test-ext2")
            .externallyRoutablePrefixLists(VpcExternallyRoutablePrefixListArgs.builder()
                .ip("192.43.0.0")
                .prefixLength(16)
                .build())
            .build());

    }
}
Copy
resources:
  vpc:
    type: nutanix:Vpc
    properties:
      commonDomainNameServerIpLists:
        - ip: 8.8.8.8
        - ip: 8.8.8.9
      externalSubnetReferenceNames:
        - test-Ext1
        - test-ext2
      externallyRoutablePrefixLists:
        - ip: 192.43.0.0
          prefixLength: 16
Copy

vpc creation with external subnet uuid

import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";

const vpc = new nutanix.Vpc("vpc", {
    commonDomainNameServerIpLists: [{
        ip: "8.8.8.8",
    }],
    externalSubnetReferenceUuids: ["<subnet_uuid>"],
    externallyRoutablePrefixLists: [
        {
            ip: "192.43.0.0",
            prefixLength: 16,
        },
        {
            ip: "192.42.0.0",
            prefixLength: 16,
        },
    ],
});
Copy
import pulumi
import pulumi_nutanix as nutanix

vpc = nutanix.Vpc("vpc",
    common_domain_name_server_ip_lists=[{
        "ip": "8.8.8.8",
    }],
    external_subnet_reference_uuids=["<subnet_uuid>"],
    externally_routable_prefix_lists=[
        {
            "ip": "192.43.0.0",
            "prefix_length": 16,
        },
        {
            "ip": "192.42.0.0",
            "prefix_length": 16,
        },
    ])
Copy
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 {
		_, err := nutanix.NewVpc(ctx, "vpc", &nutanix.VpcArgs{
			CommonDomainNameServerIpLists: nutanix.VpcCommonDomainNameServerIpListArray{
				&nutanix.VpcCommonDomainNameServerIpListArgs{
					Ip: pulumi.String("8.8.8.8"),
				},
			},
			ExternalSubnetReferenceUuids: pulumi.StringArray{
				pulumi.String("<subnet_uuid>"),
			},
			ExternallyRoutablePrefixLists: nutanix.VpcExternallyRoutablePrefixListArray{
				&nutanix.VpcExternallyRoutablePrefixListArgs{
					Ip:           pulumi.String("192.43.0.0"),
					PrefixLength: pulumi.Int(16),
				},
				&nutanix.VpcExternallyRoutablePrefixListArgs{
					Ip:           pulumi.String("192.42.0.0"),
					PrefixLength: pulumi.Int(16),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;

return await Deployment.RunAsync(() => 
{
    var vpc = new Nutanix.Vpc("vpc", new()
    {
        CommonDomainNameServerIpLists = new[]
        {
            new Nutanix.Inputs.VpcCommonDomainNameServerIpListArgs
            {
                Ip = "8.8.8.8",
            },
        },
        ExternalSubnetReferenceUuids = new[]
        {
            "<subnet_uuid>",
        },
        ExternallyRoutablePrefixLists = new[]
        {
            new Nutanix.Inputs.VpcExternallyRoutablePrefixListArgs
            {
                Ip = "192.43.0.0",
                PrefixLength = 16,
            },
            new Nutanix.Inputs.VpcExternallyRoutablePrefixListArgs
            {
                Ip = "192.42.0.0",
                PrefixLength = 16,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.Vpc;
import com.pulumi.nutanix.VpcArgs;
import com.pulumi.nutanix.inputs.VpcCommonDomainNameServerIpListArgs;
import com.pulumi.nutanix.inputs.VpcExternallyRoutablePrefixListArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        var vpc = new Vpc("vpc", VpcArgs.builder()
            .commonDomainNameServerIpLists(VpcCommonDomainNameServerIpListArgs.builder()
                .ip("8.8.8.8")
                .build())
            .externalSubnetReferenceUuids("<subnet_uuid>")
            .externallyRoutablePrefixLists(            
                VpcExternallyRoutablePrefixListArgs.builder()
                    .ip("192.43.0.0")
                    .prefixLength(16)
                    .build(),
                VpcExternallyRoutablePrefixListArgs.builder()
                    .ip("192.42.0.0")
                    .prefixLength(16)
                    .build())
            .build());

    }
}
Copy
resources:
  vpc:
    type: nutanix:Vpc
    properties:
      commonDomainNameServerIpLists:
        - ip: 8.8.8.8
      externalSubnetReferenceUuids:
        - <subnet_uuid>
      externallyRoutablePrefixLists:
        - ip: 192.43.0.0
          prefixLength: 16
        - ip: 192.42.0.0
          prefixLength: 16
Copy

Create Vpc Resource

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

Constructor syntax

new Vpc(name: string, args?: VpcArgs, opts?: CustomResourceOptions);
@overload
def Vpc(resource_name: str,
        args: Optional[VpcArgs] = None,
        opts: Optional[ResourceOptions] = None)

@overload
def Vpc(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        api_version: Optional[str] = None,
        common_domain_name_server_ip_lists: Optional[Sequence[VpcCommonDomainNameServerIpListArgs]] = None,
        external_subnet_reference_names: Optional[Sequence[str]] = None,
        external_subnet_reference_uuids: Optional[Sequence[str]] = None,
        externally_routable_prefix_lists: Optional[Sequence[VpcExternallyRoutablePrefixListArgs]] = None,
        name: Optional[str] = None)
func NewVpc(ctx *Context, name string, args *VpcArgs, opts ...ResourceOption) (*Vpc, error)
public Vpc(string name, VpcArgs? args = null, CustomResourceOptions? opts = null)
public Vpc(String name, VpcArgs args)
public Vpc(String name, VpcArgs args, CustomResourceOptions options)
type: nutanix:Vpc
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args VpcArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args VpcArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args VpcArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args VpcArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VpcArgs
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 vpcResource = new Nutanix.Vpc("vpcResource", new()
{
    ApiVersion = "string",
    CommonDomainNameServerIpLists = new[]
    {
        new Nutanix.Inputs.VpcCommonDomainNameServerIpListArgs
        {
            Ip = "string",
        },
    },
    ExternalSubnetReferenceNames = new[]
    {
        "string",
    },
    ExternalSubnetReferenceUuids = new[]
    {
        "string",
    },
    ExternallyRoutablePrefixLists = new[]
    {
        new Nutanix.Inputs.VpcExternallyRoutablePrefixListArgs
        {
            Ip = "string",
            PrefixLength = 0,
        },
    },
    Name = "string",
});
Copy
example, err := nutanix.NewVpc(ctx, "vpcResource", &nutanix.VpcArgs{
	ApiVersion: pulumi.String("string"),
	CommonDomainNameServerIpLists: nutanix.VpcCommonDomainNameServerIpListArray{
		&nutanix.VpcCommonDomainNameServerIpListArgs{
			Ip: pulumi.String("string"),
		},
	},
	ExternalSubnetReferenceNames: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExternalSubnetReferenceUuids: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExternallyRoutablePrefixLists: nutanix.VpcExternallyRoutablePrefixListArray{
		&nutanix.VpcExternallyRoutablePrefixListArgs{
			Ip:           pulumi.String("string"),
			PrefixLength: pulumi.Int(0),
		},
	},
	Name: pulumi.String("string"),
})
Copy
var vpcResource = new Vpc("vpcResource", VpcArgs.builder()
    .apiVersion("string")
    .commonDomainNameServerIpLists(VpcCommonDomainNameServerIpListArgs.builder()
        .ip("string")
        .build())
    .externalSubnetReferenceNames("string")
    .externalSubnetReferenceUuids("string")
    .externallyRoutablePrefixLists(VpcExternallyRoutablePrefixListArgs.builder()
        .ip("string")
        .prefixLength(0)
        .build())
    .name("string")
    .build());
Copy
vpc_resource = nutanix.Vpc("vpcResource",
    api_version="string",
    common_domain_name_server_ip_lists=[{
        "ip": "string",
    }],
    external_subnet_reference_names=["string"],
    external_subnet_reference_uuids=["string"],
    externally_routable_prefix_lists=[{
        "ip": "string",
        "prefix_length": 0,
    }],
    name="string")
Copy
const vpcResource = new nutanix.Vpc("vpcResource", {
    apiVersion: "string",
    commonDomainNameServerIpLists: [{
        ip: "string",
    }],
    externalSubnetReferenceNames: ["string"],
    externalSubnetReferenceUuids: ["string"],
    externallyRoutablePrefixLists: [{
        ip: "string",
        prefixLength: 0,
    }],
    name: "string",
});
Copy
type: nutanix:Vpc
properties:
    apiVersion: string
    commonDomainNameServerIpLists:
        - ip: string
    externalSubnetReferenceNames:
        - string
    externalSubnetReferenceUuids:
        - string
    externallyRoutablePrefixLists:
        - ip: string
          prefixLength: 0
    name: string
Copy

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

ApiVersion string
The version of the API.
CommonDomainNameServerIpLists List<PiersKarsenbarg.Nutanix.Inputs.VpcCommonDomainNameServerIpList>
List of domain name server IPs.
ExternalSubnetReferenceNames List<string>
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
ExternalSubnetReferenceUuids List<string>
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
ExternallyRoutablePrefixLists List<PiersKarsenbarg.Nutanix.Inputs.VpcExternallyRoutablePrefixList>
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
Name string
The name for the VPC.
ApiVersion string
The version of the API.
CommonDomainNameServerIpLists []VpcCommonDomainNameServerIpListArgs
List of domain name server IPs.
ExternalSubnetReferenceNames []string
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
ExternalSubnetReferenceUuids []string
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
ExternallyRoutablePrefixLists []VpcExternallyRoutablePrefixListArgs
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
Name string
The name for the VPC.
apiVersion String
The version of the API.
commonDomainNameServerIpLists List<VpcCommonDomainNameServerIpList>
List of domain name server IPs.
externalSubnetReferenceNames List<String>
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
externalSubnetReferenceUuids List<String>
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
externallyRoutablePrefixLists List<VpcExternallyRoutablePrefixList>
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
name String
The name for the VPC.
apiVersion string
The version of the API.
commonDomainNameServerIpLists VpcCommonDomainNameServerIpList[]
List of domain name server IPs.
externalSubnetReferenceNames string[]
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
externalSubnetReferenceUuids string[]
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
externallyRoutablePrefixLists VpcExternallyRoutablePrefixList[]
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
name string
The name for the VPC.
api_version str
The version of the API.
common_domain_name_server_ip_lists Sequence[VpcCommonDomainNameServerIpListArgs]
List of domain name server IPs.
external_subnet_reference_names Sequence[str]
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
external_subnet_reference_uuids Sequence[str]
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
externally_routable_prefix_lists Sequence[VpcExternallyRoutablePrefixListArgs]
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
name str
The name for the VPC.
apiVersion String
The version of the API.
commonDomainNameServerIpLists List<Property Map>
List of domain name server IPs.
externalSubnetReferenceNames List<String>
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
externalSubnetReferenceUuids List<String>
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
externallyRoutablePrefixLists List<Property Map>
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
name String
The name for the VPC.

Outputs

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

ExternalSubnetListStatuses List<PiersKarsenbarg.Nutanix.Outputs.VpcExternalSubnetListStatus>
Status of List of external subnets attached to this VPC
Id string
The provider-assigned unique ID for this managed resource.
Metadata Dictionary<string, string>
The vpc kind metadata.
ExternalSubnetListStatuses []VpcExternalSubnetListStatus
Status of List of external subnets attached to this VPC
Id string
The provider-assigned unique ID for this managed resource.
Metadata map[string]string
The vpc kind metadata.
externalSubnetListStatuses List<VpcExternalSubnetListStatus>
Status of List of external subnets attached to this VPC
id String
The provider-assigned unique ID for this managed resource.
metadata Map<String,String>
The vpc kind metadata.
externalSubnetListStatuses VpcExternalSubnetListStatus[]
Status of List of external subnets attached to this VPC
id string
The provider-assigned unique ID for this managed resource.
metadata {[key: string]: string}
The vpc kind metadata.
external_subnet_list_statuses Sequence[VpcExternalSubnetListStatus]
Status of List of external subnets attached to this VPC
id str
The provider-assigned unique ID for this managed resource.
metadata Mapping[str, str]
The vpc kind metadata.
externalSubnetListStatuses List<Property Map>
Status of List of external subnets attached to this VPC
id String
The provider-assigned unique ID for this managed resource.
metadata Map<String>
The vpc kind metadata.

Look up Existing Vpc Resource

Get an existing Vpc 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?: VpcState, opts?: CustomResourceOptions): Vpc
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_version: Optional[str] = None,
        common_domain_name_server_ip_lists: Optional[Sequence[VpcCommonDomainNameServerIpListArgs]] = None,
        external_subnet_list_statuses: Optional[Sequence[VpcExternalSubnetListStatusArgs]] = None,
        external_subnet_reference_names: Optional[Sequence[str]] = None,
        external_subnet_reference_uuids: Optional[Sequence[str]] = None,
        externally_routable_prefix_lists: Optional[Sequence[VpcExternallyRoutablePrefixListArgs]] = None,
        metadata: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None) -> Vpc
func GetVpc(ctx *Context, name string, id IDInput, state *VpcState, opts ...ResourceOption) (*Vpc, error)
public static Vpc Get(string name, Input<string> id, VpcState? state, CustomResourceOptions? opts = null)
public static Vpc get(String name, Output<String> id, VpcState state, CustomResourceOptions options)
resources:  _:    type: nutanix:Vpc    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ApiVersion string
The version of the API.
CommonDomainNameServerIpLists List<PiersKarsenbarg.Nutanix.Inputs.VpcCommonDomainNameServerIpList>
List of domain name server IPs.
ExternalSubnetListStatuses List<PiersKarsenbarg.Nutanix.Inputs.VpcExternalSubnetListStatus>
Status of List of external subnets attached to this VPC
ExternalSubnetReferenceNames List<string>
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
ExternalSubnetReferenceUuids List<string>
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
ExternallyRoutablePrefixLists List<PiersKarsenbarg.Nutanix.Inputs.VpcExternallyRoutablePrefixList>
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
Metadata Dictionary<string, string>
The vpc kind metadata.
Name string
The name for the VPC.
ApiVersion string
The version of the API.
CommonDomainNameServerIpLists []VpcCommonDomainNameServerIpListArgs
List of domain name server IPs.
ExternalSubnetListStatuses []VpcExternalSubnetListStatusArgs
Status of List of external subnets attached to this VPC
ExternalSubnetReferenceNames []string
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
ExternalSubnetReferenceUuids []string
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
ExternallyRoutablePrefixLists []VpcExternallyRoutablePrefixListArgs
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
Metadata map[string]string
The vpc kind metadata.
Name string
The name for the VPC.
apiVersion String
The version of the API.
commonDomainNameServerIpLists List<VpcCommonDomainNameServerIpList>
List of domain name server IPs.
externalSubnetListStatuses List<VpcExternalSubnetListStatus>
Status of List of external subnets attached to this VPC
externalSubnetReferenceNames List<String>
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
externalSubnetReferenceUuids List<String>
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
externallyRoutablePrefixLists List<VpcExternallyRoutablePrefixList>
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
metadata Map<String,String>
The vpc kind metadata.
name String
The name for the VPC.
apiVersion string
The version of the API.
commonDomainNameServerIpLists VpcCommonDomainNameServerIpList[]
List of domain name server IPs.
externalSubnetListStatuses VpcExternalSubnetListStatus[]
Status of List of external subnets attached to this VPC
externalSubnetReferenceNames string[]
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
externalSubnetReferenceUuids string[]
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
externallyRoutablePrefixLists VpcExternallyRoutablePrefixList[]
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
metadata {[key: string]: string}
The vpc kind metadata.
name string
The name for the VPC.
api_version str
The version of the API.
common_domain_name_server_ip_lists Sequence[VpcCommonDomainNameServerIpListArgs]
List of domain name server IPs.
external_subnet_list_statuses Sequence[VpcExternalSubnetListStatusArgs]
Status of List of external subnets attached to this VPC
external_subnet_reference_names Sequence[str]
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
external_subnet_reference_uuids Sequence[str]
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
externally_routable_prefix_lists Sequence[VpcExternallyRoutablePrefixListArgs]
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
metadata Mapping[str, str]
The vpc kind metadata.
name str
The name for the VPC.
apiVersion String
The version of the API.
commonDomainNameServerIpLists List<Property Map>
List of domain name server IPs.
externalSubnetListStatuses List<Property Map>
Status of List of external subnets attached to this VPC
externalSubnetReferenceNames List<String>
List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid.
externalSubnetReferenceUuids List<String>
List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name.
externallyRoutablePrefixLists List<Property Map>
List Externally Routable IP Addresses. Required when external subnet with NoNAT is used.
metadata Map<String>
The vpc kind metadata.
name String
The name for the VPC.

Supporting Types

VpcCommonDomainNameServerIpList
, VpcCommonDomainNameServerIpListArgs

Ip string
ip address.
Ip string
ip address.
ip String
ip address.
ip string
ip address.
ip str
ip address.
ip String
ip address.

VpcExternalSubnetListStatus
, VpcExternalSubnetListStatusArgs

externalSubnetReference This property is required. Map<String>
activeGatewayNode Property Map
externalIpLists List<String>

VpcExternalSubnetListStatusActiveGatewayNode
, VpcExternalSubnetListStatusActiveGatewayNodeArgs

HostReference This property is required. Dictionary<string, string>
IpAddress string
HostReference This property is required. map[string]string
IpAddress string
hostReference This property is required. Map<String,String>
ipAddress String
hostReference This property is required. {[key: string]: string}
ipAddress string
host_reference This property is required. Mapping[str, str]
ip_address str
hostReference This property is required. Map<String>
ipAddress String

VpcExternallyRoutablePrefixList
, VpcExternallyRoutablePrefixListArgs

Ip This property is required. string
ip address.
PrefixLength This property is required. int
prefix length.
Ip This property is required. string
ip address.
PrefixLength This property is required. int
prefix length.
ip This property is required. String
ip address.
prefixLength This property is required. Integer
prefix length.
ip This property is required. string
ip address.
prefixLength This property is required. number
prefix length.
ip This property is required. str
ip address.
prefix_length This property is required. int
prefix length.
ip This property is required. String
ip address.
prefixLength This property is required. Number
prefix length.

Package Details

Repository
nutanix pierskarsenbarg/pulumi-nutanix
License
Apache-2.0
Notes
This Pulumi package is based on the nutanix Terraform Provider.