1. Packages
  2. Nutanix
  3. API Docs
  4. Vpc
Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg

nutanix.Vpc

Explore with Pulumi AI

nutanix logo
Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg

    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,
        }],
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    vpc = nutanix.Vpc("vpc",
        common_domain_name_server_ip_lists=[
            nutanix.VpcCommonDomainNameServerIpListArgs(
                ip="8.8.8.8",
            ),
            nutanix.VpcCommonDomainNameServerIpListArgs(
                ip="8.8.8.9",
            ),
        ],
        external_subnet_reference_names=[
            "test-Ext1",
            "test-ext2",
        ],
        externally_routable_prefix_lists=[nutanix.VpcExternallyRoutablePrefixListArgs(
            ip="192.43.0.0",
            prefix_length=16,
        )])
    
    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
    	})
    }
    
    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,
                },
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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,
            },
        ],
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    vpc = nutanix.Vpc("vpc",
        common_domain_name_server_ip_lists=[nutanix.VpcCommonDomainNameServerIpListArgs(
            ip="8.8.8.8",
        )],
        external_subnet_reference_uuids=["<subnet_uuid>"],
        externally_routable_prefix_lists=[
            nutanix.VpcExternallyRoutablePrefixListArgs(
                ip="192.43.0.0",
                prefix_length=16,
            ),
            nutanix.VpcExternallyRoutablePrefixListArgs(
                ip="192.42.0.0",
                prefix_length=16,
            ),
        ])
    
    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
    	})
    }
    
    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,
                },
            },
        });
    
    });
    
    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());
    
        }
    }
    
    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
    

    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 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 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 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 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 String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    vpc_resource = nutanix.Vpc("vpcResource",
        api_version="string",
        common_domain_name_server_ip_lists=[nutanix.VpcCommonDomainNameServerIpListArgs(
            ip="string",
        )],
        external_subnet_reference_names=["string"],
        external_subnet_reference_uuids=["string"],
        externally_routable_prefix_lists=[nutanix.VpcExternallyRoutablePrefixListArgs(
            ip="string",
            prefix_length=0,
        )],
        name="string")
    
    const vpcResource = new nutanix.Vpc("vpcResource", {
        apiVersion: "string",
        commonDomainNameServerIpLists: [{
            ip: "string",
        }],
        externalSubnetReferenceNames: ["string"],
        externalSubnetReferenceUuids: ["string"],
        externallyRoutablePrefixLists: [{
            ip: "string",
            prefixLength: 0,
        }],
        name: "string",
    });
    
    type: nutanix:Vpc
    properties:
        apiVersion: string
        commonDomainNameServerIpLists:
            - ip: string
        externalSubnetReferenceNames:
            - string
        externalSubnetReferenceUuids:
            - string
        externallyRoutablePrefixLists:
            - ip: string
              prefixLength: 0
        name: string
    

    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

    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)
    Resource lookup is not supported in YAML
    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:
    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

    VpcExternalSubnetListStatusActiveGatewayNode, VpcExternalSubnetListStatusActiveGatewayNodeArgs

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

    VpcExternallyRoutablePrefixList, VpcExternallyRoutablePrefixListArgs

    Ip string
    ip address.
    PrefixLength int
    prefix length.
    Ip string
    ip address.
    PrefixLength int
    prefix length.
    ip String
    ip address.
    prefixLength Integer
    prefix length.
    ip string
    ip address.
    prefixLength number
    prefix length.
    ip str
    ip address.
    prefix_length int
    prefix length.
    ip String
    ip address.
    prefixLength 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.
    nutanix logo
    Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg