published on Tuesday, Nov 17, 2026 by Piers Karsenbarg
Nutanixpublished on Tuesday, Nov 17, 2026 by Piers Karsenbarg
Provides Nutanix resource to create VPC.
Example
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const vpc = new nutanix.VpcV2("vpc", {
name: "vpc-example",
description: "VPC for example",
externalSubnets: [{
subnetReference: "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
}],
});
// creating VPC with external routable prefixes
const external_vpc_routable_vpc = new nutanix.VpcV2("external-vpc-routable-vpc", {
name: "tf-vpc-example",
description: "VPC ",
externalSubnets: [{
subnetReference: "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
externalIps: [
{
ipv4s: [{
value: "192.168.0.24",
prefixLength: 32,
}],
},
{
ipv4s: [{
value: "192.168.0.25",
prefixLength: 32,
}],
},
],
}],
externallyRoutablePrefixes: [{
ipv4s: [{
ips: [{
value: "172.30.0.0",
prefixLength: 32,
}],
prefixLength: 16,
}],
}],
});
// creating VPC with transit type
const transit_vpc = new nutanix.VpcV2("transit-vpc", {
name: "vpc-transit",
description: "VPC for transit type",
externalSubnets: [{
subnetReference: "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
}],
vpcType: "TRANSIT",
});
import pulumi
import pulumi_nutanix as nutanix
vpc = nutanix.VpcV2("vpc",
name="vpc-example",
description="VPC for example",
external_subnets=[{
"subnet_reference": "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
}])
# creating VPC with external routable prefixes
external_vpc_routable_vpc = nutanix.VpcV2("external-vpc-routable-vpc",
name="tf-vpc-example",
description="VPC ",
external_subnets=[{
"subnet_reference": "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
"external_ips": [
{
"ipv4s": [{
"value": "192.168.0.24",
"prefix_length": 32,
}],
},
{
"ipv4s": [{
"value": "192.168.0.25",
"prefix_length": 32,
}],
},
],
}],
externally_routable_prefixes=[{
"ipv4s": [{
"ips": [{
"value": "172.30.0.0",
"prefix_length": 32,
}],
"prefix_length": 16,
}],
}])
# creating VPC with transit type
transit_vpc = nutanix.VpcV2("transit-vpc",
name="vpc-transit",
description="VPC for transit type",
external_subnets=[{
"subnet_reference": "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
}],
vpc_type="TRANSIT")
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.NewVpcV2(ctx, "vpc", &nutanix.VpcV2Args{
Name: pulumi.String("vpc-example"),
Description: pulumi.String("VPC for example"),
ExternalSubnets: nutanix.VpcV2ExternalSubnetArray{
&nutanix.VpcV2ExternalSubnetArgs{
SubnetReference: pulumi.String("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"),
},
},
})
if err != nil {
return err
}
// creating VPC with external routable prefixes
_, err = nutanix.NewVpcV2(ctx, "external-vpc-routable-vpc", &nutanix.VpcV2Args{
Name: pulumi.String("tf-vpc-example"),
Description: pulumi.String("VPC "),
ExternalSubnets: nutanix.VpcV2ExternalSubnetArray{
&nutanix.VpcV2ExternalSubnetArgs{
SubnetReference: pulumi.String("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"),
ExternalIps: nutanix.VpcV2ExternalSubnetExternalIpArray{
&nutanix.VpcV2ExternalSubnetExternalIpArgs{
Ipv4s: nutanix.VpcV2ExternalSubnetExternalIpIpv4Array{
&nutanix.VpcV2ExternalSubnetExternalIpIpv4Args{
Value: pulumi.String("192.168.0.24"),
PrefixLength: pulumi.Int(32),
},
},
},
&nutanix.VpcV2ExternalSubnetExternalIpArgs{
Ipv4s: nutanix.VpcV2ExternalSubnetExternalIpIpv4Array{
&nutanix.VpcV2ExternalSubnetExternalIpIpv4Args{
Value: pulumi.String("192.168.0.25"),
PrefixLength: pulumi.Int(32),
},
},
},
},
},
},
ExternallyRoutablePrefixes: nutanix.VpcV2ExternallyRoutablePrefixArray{
&nutanix.VpcV2ExternallyRoutablePrefixArgs{
Ipv4s: nutanix.VpcV2ExternallyRoutablePrefixIpv4Array{
&nutanix.VpcV2ExternallyRoutablePrefixIpv4Args{
Ips: nutanix.VpcV2ExternallyRoutablePrefixIpv4IpArray{
&nutanix.VpcV2ExternallyRoutablePrefixIpv4IpArgs{
Value: pulumi.String("172.30.0.0"),
PrefixLength: pulumi.Int(32),
},
},
PrefixLength: pulumi.Int(16),
},
},
},
},
})
if err != nil {
return err
}
// creating VPC with transit type
_, err = nutanix.NewVpcV2(ctx, "transit-vpc", &nutanix.VpcV2Args{
Name: pulumi.String("vpc-transit"),
Description: pulumi.String("VPC for transit type"),
ExternalSubnets: nutanix.VpcV2ExternalSubnetArray{
&nutanix.VpcV2ExternalSubnetArgs{
SubnetReference: pulumi.String("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"),
},
},
VpcType: pulumi.String("TRANSIT"),
})
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.VpcV2("vpc", new()
{
Name = "vpc-example",
Description = "VPC for example",
ExternalSubnets = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetArgs
{
SubnetReference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
},
},
});
// creating VPC with external routable prefixes
var external_vpc_routable_vpc = new Nutanix.VpcV2("external-vpc-routable-vpc", new()
{
Name = "tf-vpc-example",
Description = "VPC ",
ExternalSubnets = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetArgs
{
SubnetReference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
ExternalIps = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetExternalIpArgs
{
Ipv4s = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetExternalIpIpv4Args
{
Value = "192.168.0.24",
PrefixLength = 32,
},
},
},
new Nutanix.Inputs.VpcV2ExternalSubnetExternalIpArgs
{
Ipv4s = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetExternalIpIpv4Args
{
Value = "192.168.0.25",
PrefixLength = 32,
},
},
},
},
},
},
ExternallyRoutablePrefixes = new[]
{
new Nutanix.Inputs.VpcV2ExternallyRoutablePrefixArgs
{
Ipv4s = new[]
{
new Nutanix.Inputs.VpcV2ExternallyRoutablePrefixIpv4Args
{
Ips = new[]
{
new Nutanix.Inputs.VpcV2ExternallyRoutablePrefixIpv4IpArgs
{
Value = "172.30.0.0",
PrefixLength = 32,
},
},
PrefixLength = 16,
},
},
},
},
});
// creating VPC with transit type
var transit_vpc = new Nutanix.VpcV2("transit-vpc", new()
{
Name = "vpc-transit",
Description = "VPC for transit type",
ExternalSubnets = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetArgs
{
SubnetReference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b",
},
},
VpcType = "TRANSIT",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.VpcV2;
import com.pulumi.nutanix.VpcV2Args;
import com.pulumi.nutanix.inputs.VpcV2ExternalSubnetArgs;
import com.pulumi.nutanix.inputs.VpcV2ExternalSubnetExternalIpArgs;
import com.pulumi.nutanix.inputs.VpcV2ExternalSubnetExternalIpIpv4Args;
import com.pulumi.nutanix.inputs.VpcV2ExternallyRoutablePrefixArgs;
import com.pulumi.nutanix.inputs.VpcV2ExternallyRoutablePrefixIpv4Args;
import com.pulumi.nutanix.inputs.VpcV2ExternallyRoutablePrefixIpv4IpArgs;
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) {
var vpc = new VpcV2("vpc", VpcV2Args.builder()
.name("vpc-example")
.description("VPC for example")
.externalSubnets(VpcV2ExternalSubnetArgs.builder()
.subnetReference("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b")
.build())
.build());
// creating VPC with external routable prefixes
var external_vpc_routable_vpc = new VpcV2("external-vpc-routable-vpc", VpcV2Args.builder()
.name("tf-vpc-example")
.description("VPC ")
.externalSubnets(VpcV2ExternalSubnetArgs.builder()
.subnetReference("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b")
.externalIps(
VpcV2ExternalSubnetExternalIpArgs.builder()
.ipv4s(VpcV2ExternalSubnetExternalIpIpv4Args.builder()
.value("192.168.0.24")
.prefixLength(32)
.build())
.build(),
VpcV2ExternalSubnetExternalIpArgs.builder()
.ipv4s(VpcV2ExternalSubnetExternalIpIpv4Args.builder()
.value("192.168.0.25")
.prefixLength(32)
.build())
.build())
.build())
.externallyRoutablePrefixes(VpcV2ExternallyRoutablePrefixArgs.builder()
.ipv4s(VpcV2ExternallyRoutablePrefixIpv4Args.builder()
.ips(VpcV2ExternallyRoutablePrefixIpv4IpArgs.builder()
.value("172.30.0.0")
.prefixLength(32)
.build())
.prefixLength(16)
.build())
.build())
.build());
// creating VPC with transit type
var transit_vpc = new VpcV2("transit-vpc", VpcV2Args.builder()
.name("vpc-transit")
.description("VPC for transit type")
.externalSubnets(VpcV2ExternalSubnetArgs.builder()
.subnetReference("a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b")
.build())
.vpcType("TRANSIT")
.build());
}
}
resources:
vpc:
type: nutanix:VpcV2
properties:
name: vpc-example
description: VPC for example
externalSubnets:
- subnetReference: a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b
# creating VPC with external routable prefixes
external-vpc-routable-vpc:
type: nutanix:VpcV2
properties:
name: tf-vpc-example
description: 'VPC '
externalSubnets:
- subnetReference: a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b
externalIps:
- ipv4s:
- value: 192.168.0.24
prefixLength: 32
- ipv4s:
- value: 192.168.0.25
prefixLength: 32
externallyRoutablePrefixes:
- ipv4s:
- ips:
- value: 172.30.0.0
prefixLength: 32
prefixLength: 16
# creating VPC with transit type
transit-vpc:
type: nutanix:VpcV2
properties:
name: vpc-transit
description: VPC for transit type
externalSubnets:
- subnetReference: a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b
vpcType: TRANSIT
terraform {
required_providers {
nutanix = {
source = "pulumi/nutanix"
}
}
}
resource "nutanix_vpc_v2" "vpc" {
lifecycle {
create_before_destroy = true
}
name = "vpc-example"
description = "VPC for example"
external_subnets {
subnet_reference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"
}
}
# creating VPC with external routable prefixes
resource "nutanix_vpc_v2" "external-vpc-routable-vpc" {
lifecycle {
create_before_destroy = true
}
name = "tf-vpc-example"
description = "VPC "
external_subnets {
subnet_reference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"
external_ips {
ipv4 {
value = "192.168.0.24"
prefix_length = 32
}
}
external_ips {
ipv4 {
value = "192.168.0.25"
prefix_length = 32
}
}
}
externally_routable_prefixes {
ipv4 {
ip {
value = "172.30.0.0"
prefix_length = 32
}
prefix_length = 16
}
}
}
// creating VPC with transit type
resource "nutanix_vpc_v2" "transit-vpc" {
lifecycle {
create_before_destroy = true
}
name = "vpc-transit"
description = "VPC for transit type"
external_subnets {
subnet_reference = "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b"
}
vpc_type = "TRANSIT"
}
Create VpcV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcV2(name: string, args?: VpcV2Args, opts?: CustomResourceOptions);@overload
def VpcV2(resource_name: str,
args: Optional[VpcV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def VpcV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
common_dhcp_options: Optional[Sequence[VpcV2CommonDhcpOptionArgs]] = None,
description: Optional[str] = None,
external_routing_domain_reference: Optional[str] = None,
external_subnets: Optional[Sequence[VpcV2ExternalSubnetArgs]] = None,
externally_routable_prefixes: Optional[Sequence[VpcV2ExternallyRoutablePrefixArgs]] = None,
kubernetes_clusters: Optional[Sequence[VpcV2KubernetesClusterArgs]] = None,
metadatas: Optional[Sequence[VpcV2MetadataArgs]] = None,
name: Optional[str] = None,
project_ext_id: Optional[str] = None,
scope: Optional[str] = None,
shared_with_projects: Optional[Sequence[str]] = None,
should_advertise_connected_subnets: Optional[bool] = None,
supported_multiple_external_subnet_type: Optional[str] = None,
vpc_type: Optional[str] = None)func NewVpcV2(ctx *Context, name string, args *VpcV2Args, opts ...ResourceOption) (*VpcV2, error)public VpcV2(string name, VpcV2Args? args = null, CustomResourceOptions? opts = null)type: nutanix:VpcV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "nutanix_vpc_v2" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VpcV2Args
- 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 VpcV2Args
- 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 VpcV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcV2Args
- 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 vpcV2Resource = new Nutanix.VpcV2("vpcV2Resource", new()
{
CommonDhcpOptions = new[]
{
new Nutanix.Inputs.VpcV2CommonDhcpOptionArgs
{
DomainNameServers = new[]
{
new Nutanix.Inputs.VpcV2CommonDhcpOptionDomainNameServerArgs
{
Ipv4s = new[]
{
new Nutanix.Inputs.VpcV2CommonDhcpOptionDomainNameServerIpv4Args
{
PrefixLength = 0,
Value = "string",
},
},
Ipv6s = new[]
{
new Nutanix.Inputs.VpcV2CommonDhcpOptionDomainNameServerIpv6Args
{
PrefixLength = 0,
Value = "string",
},
},
},
},
},
},
Description = "string",
ExternalRoutingDomainReference = "string",
ExternalSubnets = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetArgs
{
SubnetReference = "string",
ActiveGatewayCount = 0,
ActiveGatewayNodes = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetActiveGatewayNodeArgs
{
NodeId = "string",
NodeIpAddresses = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressArgs
{
Ipv4s = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Args
{
PrefixLength = 0,
Value = "string",
},
},
Ipv6s = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Args
{
PrefixLength = 0,
Value = "string",
},
},
},
},
},
},
ExternalIps = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetExternalIpArgs
{
Ipv4s = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetExternalIpIpv4Args
{
PrefixLength = 0,
Value = "string",
},
},
Ipv6s = new[]
{
new Nutanix.Inputs.VpcV2ExternalSubnetExternalIpIpv6Args
{
PrefixLength = 0,
Value = "string",
},
},
},
},
GatewayNodes = new[]
{
"string",
},
},
},
ExternallyRoutablePrefixes = new[]
{
new Nutanix.Inputs.VpcV2ExternallyRoutablePrefixArgs
{
Ipv4s = new[]
{
new Nutanix.Inputs.VpcV2ExternallyRoutablePrefixIpv4Args
{
PrefixLength = 0,
Ips = new[]
{
new Nutanix.Inputs.VpcV2ExternallyRoutablePrefixIpv4IpArgs
{
PrefixLength = 0,
Value = "string",
},
},
},
},
Ipv6s = new[]
{
new Nutanix.Inputs.VpcV2ExternallyRoutablePrefixIpv6Args
{
PrefixLength = 0,
Ips = new[]
{
new Nutanix.Inputs.VpcV2ExternallyRoutablePrefixIpv6IpArgs
{
PrefixLength = 0,
Value = "string",
},
},
},
},
},
},
KubernetesClusters = new[]
{
new Nutanix.Inputs.VpcV2KubernetesClusterArgs
{
ExtId = "string",
GatewayNodesSelector = new Nutanix.Inputs.VpcV2KubernetesClusterGatewayNodesSelectorArgs
{
MatchLabels = new[]
{
new Nutanix.Inputs.VpcV2KubernetesClusterGatewayNodesSelectorMatchLabelArgs
{
Name = "string",
Value = "string",
},
},
},
NamespaceSelector = new Nutanix.Inputs.VpcV2KubernetesClusterNamespaceSelectorArgs
{
MatchLabels = new[]
{
new Nutanix.Inputs.VpcV2KubernetesClusterNamespaceSelectorMatchLabelArgs
{
Name = "string",
Value = "string",
},
},
},
PodNetwork = new Nutanix.Inputs.VpcV2KubernetesClusterPodNetworkArgs
{
Cidrs = new[]
{
new Nutanix.Inputs.VpcV2KubernetesClusterPodNetworkCidrArgs
{
Ipv4 = new Nutanix.Inputs.VpcV2KubernetesClusterPodNetworkCidrIpv4Args
{
Ip = new Nutanix.Inputs.VpcV2KubernetesClusterPodNetworkCidrIpv4IpArgs
{
Value = "string",
PrefixLength = 0,
},
PrefixLength = 0,
},
Ipv6 = new Nutanix.Inputs.VpcV2KubernetesClusterPodNetworkCidrIpv6Args
{
Ip = new Nutanix.Inputs.VpcV2KubernetesClusterPodNetworkCidrIpv6IpArgs
{
Value = "string",
PrefixLength = 0,
},
PrefixLength = 0,
},
},
},
HostSlice = 0,
},
},
},
Metadatas = new[]
{
new Nutanix.Inputs.VpcV2MetadataArgs
{
CategoryIds = new[]
{
"string",
},
OwnerReferenceId = "string",
OwnerUserName = "string",
ProjectName = "string",
ProjectReferenceId = "string",
},
},
Name = "string",
ProjectExtId = "string",
Scope = "string",
SharedWithProjects = new[]
{
"string",
},
ShouldAdvertiseConnectedSubnets = false,
SupportedMultipleExternalSubnetType = "string",
VpcType = "string",
});
example, err := nutanix.NewVpcV2(ctx, "vpcV2Resource", &nutanix.VpcV2Args{
CommonDhcpOptions: nutanix.VpcV2CommonDhcpOptionArray{
&nutanix.VpcV2CommonDhcpOptionArgs{
DomainNameServers: nutanix.VpcV2CommonDhcpOptionDomainNameServerArray{
&nutanix.VpcV2CommonDhcpOptionDomainNameServerArgs{
Ipv4s: nutanix.VpcV2CommonDhcpOptionDomainNameServerIpv4Array{
&nutanix.VpcV2CommonDhcpOptionDomainNameServerIpv4Args{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
Ipv6s: nutanix.VpcV2CommonDhcpOptionDomainNameServerIpv6Array{
&nutanix.VpcV2CommonDhcpOptionDomainNameServerIpv6Args{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
},
},
},
},
Description: pulumi.String("string"),
ExternalRoutingDomainReference: pulumi.String("string"),
ExternalSubnets: nutanix.VpcV2ExternalSubnetArray{
&nutanix.VpcV2ExternalSubnetArgs{
SubnetReference: pulumi.String("string"),
ActiveGatewayCount: pulumi.Int(0),
ActiveGatewayNodes: nutanix.VpcV2ExternalSubnetActiveGatewayNodeArray{
&nutanix.VpcV2ExternalSubnetActiveGatewayNodeArgs{
NodeId: pulumi.String("string"),
NodeIpAddresses: nutanix.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressArray{
&nutanix.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressArgs{
Ipv4s: nutanix.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Array{
&nutanix.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Args{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
Ipv6s: nutanix.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Array{
&nutanix.VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Args{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
},
},
},
},
ExternalIps: nutanix.VpcV2ExternalSubnetExternalIpArray{
&nutanix.VpcV2ExternalSubnetExternalIpArgs{
Ipv4s: nutanix.VpcV2ExternalSubnetExternalIpIpv4Array{
&nutanix.VpcV2ExternalSubnetExternalIpIpv4Args{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
Ipv6s: nutanix.VpcV2ExternalSubnetExternalIpIpv6Array{
&nutanix.VpcV2ExternalSubnetExternalIpIpv6Args{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
},
},
GatewayNodes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ExternallyRoutablePrefixes: nutanix.VpcV2ExternallyRoutablePrefixArray{
&nutanix.VpcV2ExternallyRoutablePrefixArgs{
Ipv4s: nutanix.VpcV2ExternallyRoutablePrefixIpv4Array{
&nutanix.VpcV2ExternallyRoutablePrefixIpv4Args{
PrefixLength: pulumi.Int(0),
Ips: nutanix.VpcV2ExternallyRoutablePrefixIpv4IpArray{
&nutanix.VpcV2ExternallyRoutablePrefixIpv4IpArgs{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
},
},
Ipv6s: nutanix.VpcV2ExternallyRoutablePrefixIpv6Array{
&nutanix.VpcV2ExternallyRoutablePrefixIpv6Args{
PrefixLength: pulumi.Int(0),
Ips: nutanix.VpcV2ExternallyRoutablePrefixIpv6IpArray{
&nutanix.VpcV2ExternallyRoutablePrefixIpv6IpArgs{
PrefixLength: pulumi.Int(0),
Value: pulumi.String("string"),
},
},
},
},
},
},
KubernetesClusters: nutanix.VpcV2KubernetesClusterArray{
&nutanix.VpcV2KubernetesClusterArgs{
ExtId: pulumi.String("string"),
GatewayNodesSelector: &nutanix.VpcV2KubernetesClusterGatewayNodesSelectorArgs{
MatchLabels: nutanix.VpcV2KubernetesClusterGatewayNodesSelectorMatchLabelArray{
&nutanix.VpcV2KubernetesClusterGatewayNodesSelectorMatchLabelArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
NamespaceSelector: &nutanix.VpcV2KubernetesClusterNamespaceSelectorArgs{
MatchLabels: nutanix.VpcV2KubernetesClusterNamespaceSelectorMatchLabelArray{
&nutanix.VpcV2KubernetesClusterNamespaceSelectorMatchLabelArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
PodNetwork: &nutanix.VpcV2KubernetesClusterPodNetworkArgs{
Cidrs: nutanix.VpcV2KubernetesClusterPodNetworkCidrArray{
&nutanix.VpcV2KubernetesClusterPodNetworkCidrArgs{
Ipv4: &nutanix.VpcV2KubernetesClusterPodNetworkCidrIpv4Args{
Ip: &nutanix.VpcV2KubernetesClusterPodNetworkCidrIpv4IpArgs{
Value: pulumi.String("string"),
PrefixLength: pulumi.Int(0),
},
PrefixLength: pulumi.Int(0),
},
Ipv6: &nutanix.VpcV2KubernetesClusterPodNetworkCidrIpv6Args{
Ip: &nutanix.VpcV2KubernetesClusterPodNetworkCidrIpv6IpArgs{
Value: pulumi.String("string"),
PrefixLength: pulumi.Int(0),
},
PrefixLength: pulumi.Int(0),
},
},
},
HostSlice: pulumi.Int(0),
},
},
},
Metadatas: nutanix.VpcV2MetadataArray{
&nutanix.VpcV2MetadataArgs{
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"),
ProjectExtId: pulumi.String("string"),
Scope: pulumi.String("string"),
SharedWithProjects: pulumi.StringArray{
pulumi.String("string"),
},
ShouldAdvertiseConnectedSubnets: pulumi.Bool(false),
SupportedMultipleExternalSubnetType: pulumi.String("string"),
VpcType: pulumi.String("string"),
})
resource "nutanix_vpc_v2" "vpcV2Resource" {
lifecycle {
create_before_destroy = true
}
common_dhcp_options {
domain_name_servers {
ipv4s {
prefix_length = 0
value = "string"
}
ipv6s {
prefix_length = 0
value = "string"
}
}
}
description = "string"
external_routing_domain_reference = "string"
external_subnets {
subnet_reference = "string"
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"]
}
externally_routable_prefixes {
ipv4s {
prefix_length = 0
ips {
prefix_length = 0
value = "string"
}
}
ipv6s {
prefix_length = 0
ips {
prefix_length = 0
value = "string"
}
}
}
kubernetes_clusters {
ext_id = "string"
gateway_nodes_selector = {
match_labels = [{
name = "string"
value = "string"
}]
}
namespace_selector = {
match_labels = [{
name = "string"
value = "string"
}]
}
pod_network = {
cidrs = [{
ipv4 = {
ip = {
value = "string"
prefix_length = 0
}
prefix_length = 0
}
ipv6 = {
ip = {
value = "string"
prefix_length = 0
}
prefix_length = 0
}
}]
host_slice = 0
}
}
metadatas {
category_ids = ["string"]
owner_reference_id = "string"
owner_user_name = "string"
project_name = "string"
project_reference_id = "string"
}
name = "string"
project_ext_id = "string"
scope = "string"
shared_with_projects = ["string"]
should_advertise_connected_subnets = false
supported_multiple_external_subnet_type = "string"
vpc_type = "string"
}
var vpcV2Resource = new VpcV2("vpcV2Resource", VpcV2Args.builder()
.commonDhcpOptions(VpcV2CommonDhcpOptionArgs.builder()
.domainNameServers(VpcV2CommonDhcpOptionDomainNameServerArgs.builder()
.ipv4s(VpcV2CommonDhcpOptionDomainNameServerIpv4Args.builder()
.prefixLength(0)
.value("string")
.build())
.ipv6s(VpcV2CommonDhcpOptionDomainNameServerIpv6Args.builder()
.prefixLength(0)
.value("string")
.build())
.build())
.build())
.description("string")
.externalRoutingDomainReference("string")
.externalSubnets(VpcV2ExternalSubnetArgs.builder()
.subnetReference("string")
.activeGatewayCount(0)
.activeGatewayNodes(VpcV2ExternalSubnetActiveGatewayNodeArgs.builder()
.nodeId("string")
.nodeIpAddresses(VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressArgs.builder()
.ipv4s(VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Args.builder()
.prefixLength(0)
.value("string")
.build())
.ipv6s(VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Args.builder()
.prefixLength(0)
.value("string")
.build())
.build())
.build())
.externalIps(VpcV2ExternalSubnetExternalIpArgs.builder()
.ipv4s(VpcV2ExternalSubnetExternalIpIpv4Args.builder()
.prefixLength(0)
.value("string")
.build())
.ipv6s(VpcV2ExternalSubnetExternalIpIpv6Args.builder()
.prefixLength(0)
.value("string")
.build())
.build())
.gatewayNodes("string")
.build())
.externallyRoutablePrefixes(VpcV2ExternallyRoutablePrefixArgs.builder()
.ipv4s(VpcV2ExternallyRoutablePrefixIpv4Args.builder()
.prefixLength(0)
.ips(VpcV2ExternallyRoutablePrefixIpv4IpArgs.builder()
.prefixLength(0)
.value("string")
.build())
.build())
.ipv6s(VpcV2ExternallyRoutablePrefixIpv6Args.builder()
.prefixLength(0)
.ips(VpcV2ExternallyRoutablePrefixIpv6IpArgs.builder()
.prefixLength(0)
.value("string")
.build())
.build())
.build())
.kubernetesClusters(VpcV2KubernetesClusterArgs.builder()
.extId("string")
.gatewayNodesSelector(VpcV2KubernetesClusterGatewayNodesSelectorArgs.builder()
.matchLabels(VpcV2KubernetesClusterGatewayNodesSelectorMatchLabelArgs.builder()
.name("string")
.value("string")
.build())
.build())
.namespaceSelector(VpcV2KubernetesClusterNamespaceSelectorArgs.builder()
.matchLabels(VpcV2KubernetesClusterNamespaceSelectorMatchLabelArgs.builder()
.name("string")
.value("string")
.build())
.build())
.podNetwork(VpcV2KubernetesClusterPodNetworkArgs.builder()
.cidrs(VpcV2KubernetesClusterPodNetworkCidrArgs.builder()
.ipv4(VpcV2KubernetesClusterPodNetworkCidrIpv4Args.builder()
.ip(VpcV2KubernetesClusterPodNetworkCidrIpv4IpArgs.builder()
.value("string")
.prefixLength(0)
.build())
.prefixLength(0)
.build())
.ipv6(VpcV2KubernetesClusterPodNetworkCidrIpv6Args.builder()
.ip(VpcV2KubernetesClusterPodNetworkCidrIpv6IpArgs.builder()
.value("string")
.prefixLength(0)
.build())
.prefixLength(0)
.build())
.build())
.hostSlice(0)
.build())
.build())
.metadatas(VpcV2MetadataArgs.builder()
.categoryIds("string")
.ownerReferenceId("string")
.ownerUserName("string")
.projectName("string")
.projectReferenceId("string")
.build())
.name("string")
.projectExtId("string")
.scope("string")
.sharedWithProjects("string")
.shouldAdvertiseConnectedSubnets(false)
.supportedMultipleExternalSubnetType("string")
.vpcType("string")
.build());
vpc_v2_resource = nutanix.VpcV2("vpcV2Resource",
common_dhcp_options=[{
"domain_name_servers": [{
"ipv4s": [{
"prefix_length": 0,
"value": "string",
}],
"ipv6s": [{
"prefix_length": 0,
"value": "string",
}],
}],
}],
description="string",
external_routing_domain_reference="string",
external_subnets=[{
"subnet_reference": "string",
"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"],
}],
externally_routable_prefixes=[{
"ipv4s": [{
"prefix_length": 0,
"ips": [{
"prefix_length": 0,
"value": "string",
}],
}],
"ipv6s": [{
"prefix_length": 0,
"ips": [{
"prefix_length": 0,
"value": "string",
}],
}],
}],
kubernetes_clusters=[{
"ext_id": "string",
"gateway_nodes_selector": {
"match_labels": [{
"name": "string",
"value": "string",
}],
},
"namespace_selector": {
"match_labels": [{
"name": "string",
"value": "string",
}],
},
"pod_network": {
"cidrs": [{
"ipv4": {
"ip": {
"value": "string",
"prefix_length": 0,
},
"prefix_length": 0,
},
"ipv6": {
"ip": {
"value": "string",
"prefix_length": 0,
},
"prefix_length": 0,
},
}],
"host_slice": 0,
},
}],
metadatas=[{
"category_ids": ["string"],
"owner_reference_id": "string",
"owner_user_name": "string",
"project_name": "string",
"project_reference_id": "string",
}],
name="string",
project_ext_id="string",
scope="string",
shared_with_projects=["string"],
should_advertise_connected_subnets=False,
supported_multiple_external_subnet_type="string",
vpc_type="string")
const vpcV2Resource = new nutanix.VpcV2("vpcV2Resource", {
commonDhcpOptions: [{
domainNameServers: [{
ipv4s: [{
prefixLength: 0,
value: "string",
}],
ipv6s: [{
prefixLength: 0,
value: "string",
}],
}],
}],
description: "string",
externalRoutingDomainReference: "string",
externalSubnets: [{
subnetReference: "string",
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"],
}],
externallyRoutablePrefixes: [{
ipv4s: [{
prefixLength: 0,
ips: [{
prefixLength: 0,
value: "string",
}],
}],
ipv6s: [{
prefixLength: 0,
ips: [{
prefixLength: 0,
value: "string",
}],
}],
}],
kubernetesClusters: [{
extId: "string",
gatewayNodesSelector: {
matchLabels: [{
name: "string",
value: "string",
}],
},
namespaceSelector: {
matchLabels: [{
name: "string",
value: "string",
}],
},
podNetwork: {
cidrs: [{
ipv4: {
ip: {
value: "string",
prefixLength: 0,
},
prefixLength: 0,
},
ipv6: {
ip: {
value: "string",
prefixLength: 0,
},
prefixLength: 0,
},
}],
hostSlice: 0,
},
}],
metadatas: [{
categoryIds: ["string"],
ownerReferenceId: "string",
ownerUserName: "string",
projectName: "string",
projectReferenceId: "string",
}],
name: "string",
projectExtId: "string",
scope: "string",
sharedWithProjects: ["string"],
shouldAdvertiseConnectedSubnets: false,
supportedMultipleExternalSubnetType: "string",
vpcType: "string",
});
type: nutanix:VpcV2
properties:
commonDhcpOptions:
- domainNameServers:
- ipv4s:
- prefixLength: 0
value: string
ipv6s:
- prefixLength: 0
value: string
description: 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
kubernetesClusters:
- extId: string
gatewayNodesSelector:
matchLabels:
- name: string
value: string
namespaceSelector:
matchLabels:
- name: string
value: string
podNetwork:
cidrs:
- ipv4:
ip:
prefixLength: 0
value: string
prefixLength: 0
ipv6:
ip:
prefixLength: 0
value: string
prefixLength: 0
hostSlice: 0
metadatas:
- categoryIds:
- string
ownerReferenceId: string
ownerUserName: string
projectName: string
projectReferenceId: string
name: string
projectExtId: string
scope: string
sharedWithProjects:
- string
shouldAdvertiseConnectedSubnets: false
supportedMultipleExternalSubnetType: string
vpcType: string
VpcV2 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 VpcV2 resource accepts the following input properties:
- Common
Dhcp List<PiersOptions Karsenbarg. Nutanix. Inputs. Vpc V2Common Dhcp Option> - List of DHCP options to be configured.
- Description string
- Description of the VPC.
- External
Routing stringDomain Reference - External routing domain associated with this route table
- External
Subnets List<PiersKarsenbarg. Nutanix. Inputs. Vpc V2External Subnet> - List of external subnets that the VPC is attached to.
- Externally
Routable List<PiersPrefixes Karsenbarg. Nutanix. Inputs. Vpc V2Externally Routable Prefix> - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- Kubernetes
Clusters List<PiersKarsenbarg. Nutanix. Inputs. Vpc V2Kubernetes Cluster> - List of Kubernetes clusters associated with the VPC.
- Metadatas
List<Piers
Karsenbarg. Nutanix. Inputs. Vpc V2Metadata> - The vpc kind metadata.
- Name string
- Name of the VPC.
- Project
Ext stringId - External identifier of the project associated with the VPC.
- Scope string
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - List<string>
- List of project external identifiers with which the VPC is shared.
- Should
Advertise boolConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- Supported
Multiple stringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - Vpc
Type string - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- Common
Dhcp []VpcOptions V2Common Dhcp Option Args - List of DHCP options to be configured.
- Description string
- Description of the VPC.
- External
Routing stringDomain Reference - External routing domain associated with this route table
- External
Subnets []VpcV2External Subnet Args - List of external subnets that the VPC is attached to.
- Externally
Routable []VpcPrefixes V2Externally Routable Prefix Args - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- Kubernetes
Clusters []VpcV2Kubernetes Cluster Args - List of Kubernetes clusters associated with the VPC.
- Metadatas
[]Vpc
V2Metadata Args - The vpc kind metadata.
- Name string
- Name of the VPC.
- Project
Ext stringId - External identifier of the project associated with the VPC.
- Scope string
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - []string
- List of project external identifiers with which the VPC is shared.
- Should
Advertise boolConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- Supported
Multiple stringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - Vpc
Type string - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common_
dhcp_ list(object)options - List of DHCP options to be configured.
- description string
- Description of the VPC.
- external_
routing_ stringdomain_ reference - External routing domain associated with this route table
- external_
subnets list(object) - List of external subnets that the VPC is attached to.
- externally_
routable_ list(object)prefixes - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes_
clusters list(object) - List of Kubernetes clusters associated with the VPC.
- metadatas list(object)
- The vpc kind metadata.
- name string
- Name of the VPC.
- project_
ext_ stringid - External identifier of the project associated with the VPC.
- scope string
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - list(string)
- List of project external identifiers with which the VPC is shared.
- should_
advertise_ boolconnected_ subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- supported_
multiple_ stringexternal_ subnet_ type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - vpc_
type string - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common
Dhcp List<VpcOptions V2Common Dhcp Option> - List of DHCP options to be configured.
- description String
- Description of the VPC.
- external
Routing StringDomain Reference - External routing domain associated with this route table
- external
Subnets List<VpcV2External Subnet> - List of external subnets that the VPC is attached to.
- externally
Routable List<VpcPrefixes V2Externally Routable Prefix> - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes
Clusters List<VpcV2Kubernetes Cluster> - List of Kubernetes clusters associated with the VPC.
- metadatas
List<Vpc
V2Metadata> - The vpc kind metadata.
- name String
- Name of the VPC.
- project
Ext StringId - External identifier of the project associated with the VPC.
- scope String
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - List<String>
- List of project external identifiers with which the VPC is shared.
- should
Advertise BooleanConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- supported
Multiple StringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - vpc
Type String - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common
Dhcp VpcOptions V2Common Dhcp Option[] - List of DHCP options to be configured.
- description string
- Description of the VPC.
- external
Routing stringDomain Reference - External routing domain associated with this route table
- external
Subnets VpcV2External Subnet[] - List of external subnets that the VPC is attached to.
- externally
Routable VpcPrefixes V2Externally Routable Prefix[] - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes
Clusters VpcV2Kubernetes Cluster[] - List of Kubernetes clusters associated with the VPC.
- metadatas
Vpc
V2Metadata[] - The vpc kind metadata.
- name string
- Name of the VPC.
- project
Ext stringId - External identifier of the project associated with the VPC.
- scope string
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - string[]
- List of project external identifiers with which the VPC is shared.
- should
Advertise booleanConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- supported
Multiple stringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - vpc
Type string - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common_
dhcp_ Sequence[Vpcoptions V2Common Dhcp Option Args] - List of DHCP options to be configured.
- description str
- Description of the VPC.
- external_
routing_ strdomain_ reference - External routing domain associated with this route table
- external_
subnets Sequence[VpcV2External Subnet Args] - List of external subnets that the VPC is attached to.
- externally_
routable_ Sequence[Vpcprefixes V2Externally Routable Prefix Args] - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes_
clusters Sequence[VpcV2Kubernetes Cluster Args] - List of Kubernetes clusters associated with the VPC.
- metadatas
Sequence[Vpc
V2Metadata Args] - The vpc kind metadata.
- name str
- Name of the VPC.
- project_
ext_ strid - External identifier of the project associated with the VPC.
- scope str
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - Sequence[str]
- List of project external identifiers with which the VPC is shared.
- should_
advertise_ boolconnected_ subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- supported_
multiple_ strexternal_ subnet_ type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - vpc_
type str - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common
Dhcp List<Property Map>Options - List of DHCP options to be configured.
- description String
- Description of the VPC.
- external
Routing StringDomain Reference - External routing domain associated with this route table
- external
Subnets List<Property Map> - List of external subnets that the VPC is attached to.
- externally
Routable List<Property Map>Prefixes - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes
Clusters List<Property Map> - List of Kubernetes clusters associated with the VPC.
- metadatas List<Property Map>
- The vpc kind metadata.
- name String
- Name of the VPC.
- project
Ext StringId - External identifier of the project associated with the VPC.
- scope String
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - List<String>
- List of project external identifiers with which the VPC is shared.
- should
Advertise BooleanConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- supported
Multiple StringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - vpc
Type String - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcV2 resource produces the following output properties:
- Ext
Id string - the vpc uuid.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
List<Piers
Karsenbarg. Nutanix. Outputs. Vpc V2Link> - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- Snat
Ips List<PiersKarsenbarg. Nutanix. Outputs. Vpc V2Snat Ip> - Tenant
Id string - A globally unique identifier that represents the tenant that owns this entity.
- Ext
Id string - the vpc uuid.
- Id string
- The provider-assigned unique ID for this managed resource.
- Links
[]Vpc
V2Link - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- Snat
Ips []VpcV2Snat Ip - Tenant
Id string - A globally unique identifier that represents the tenant that owns this entity.
- ext_
id string - the vpc uuid.
- id string
- The provider-assigned unique ID for this managed resource.
- links list(object)
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- snat_
ips list(object) - tenant_
id string - A globally unique identifier that represents the tenant that owns this entity.
- ext
Id String - the vpc uuid.
- id String
- The provider-assigned unique ID for this managed resource.
- links
List<Vpc
V2Link> - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- snat
Ips List<VpcV2Snat Ip> - tenant
Id String - A globally unique identifier that represents the tenant that owns this entity.
- ext
Id string - the vpc uuid.
- id string
- The provider-assigned unique ID for this managed resource.
- links
Vpc
V2Link[] - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- snat
Ips VpcV2Snat Ip[] - tenant
Id string - A globally unique identifier that represents the tenant that owns this entity.
- ext_
id str - the vpc uuid.
- id str
- The provider-assigned unique ID for this managed resource.
- links
Sequence[Vpc
V2Link] - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- snat_
ips Sequence[VpcV2Snat Ip] - tenant_
id str - A globally unique identifier that represents the tenant that owns this entity.
- ext
Id String - the vpc uuid.
- id String
- The provider-assigned unique ID for this managed resource.
- links List<Property Map>
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- snat
Ips List<Property Map> - tenant
Id String - A globally unique identifier that represents the tenant that owns this entity.
Look up Existing VpcV2 Resource
Get an existing VpcV2 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?: VpcV2State, opts?: CustomResourceOptions): VpcV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
common_dhcp_options: Optional[Sequence[VpcV2CommonDhcpOptionArgs]] = None,
description: Optional[str] = None,
ext_id: Optional[str] = None,
external_routing_domain_reference: Optional[str] = None,
external_subnets: Optional[Sequence[VpcV2ExternalSubnetArgs]] = None,
externally_routable_prefixes: Optional[Sequence[VpcV2ExternallyRoutablePrefixArgs]] = None,
kubernetes_clusters: Optional[Sequence[VpcV2KubernetesClusterArgs]] = None,
links: Optional[Sequence[VpcV2LinkArgs]] = None,
metadatas: Optional[Sequence[VpcV2MetadataArgs]] = None,
name: Optional[str] = None,
project_ext_id: Optional[str] = None,
scope: Optional[str] = None,
shared_with_projects: Optional[Sequence[str]] = None,
should_advertise_connected_subnets: Optional[bool] = None,
snat_ips: Optional[Sequence[VpcV2SnatIpArgs]] = None,
supported_multiple_external_subnet_type: Optional[str] = None,
tenant_id: Optional[str] = None,
vpc_type: Optional[str] = None) -> VpcV2func GetVpcV2(ctx *Context, name string, id IDInput, state *VpcV2State, opts ...ResourceOption) (*VpcV2, error)public static VpcV2 Get(string name, Input<string> id, VpcV2State? state, CustomResourceOptions? opts = null)public static VpcV2 get(String name, Output<String> id, VpcV2State state, CustomResourceOptions options)resources: existingVpcV2: type: nutanix:VpcV2 get: id: ${id}import {
to = nutanix_vpc_v2.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state VpcV2State
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state VpcV2State
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state VpcV2State
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state VpcV2State
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Common
Dhcp List<PiersOptions Karsenbarg. Nutanix. Inputs. Vpc V2Common Dhcp Option> - List of DHCP options to be configured.
- Description string
- Description of the VPC.
- Ext
Id string - the vpc uuid.
- External
Routing stringDomain Reference - External routing domain associated with this route table
- External
Subnets List<PiersKarsenbarg. Nutanix. Inputs. Vpc V2External Subnet> - List of external subnets that the VPC is attached to.
- Externally
Routable List<PiersPrefixes Karsenbarg. Nutanix. Inputs. Vpc V2Externally Routable Prefix> - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- Kubernetes
Clusters List<PiersKarsenbarg. Nutanix. Inputs. Vpc V2Kubernetes Cluster> - List of Kubernetes clusters associated with the VPC.
- Links
List<Piers
Karsenbarg. Nutanix. Inputs. Vpc V2Link> - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- Metadatas
List<Piers
Karsenbarg. Nutanix. Inputs. Vpc V2Metadata> - The vpc kind metadata.
- Name string
- Name of the VPC.
- Project
Ext stringId - External identifier of the project associated with the VPC.
- Scope string
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - List<string>
- List of project external identifiers with which the VPC is shared.
- Should
Advertise boolConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- Snat
Ips List<PiersKarsenbarg. Nutanix. Inputs. Vpc V2Snat Ip> - Supported
Multiple stringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - Tenant
Id string - A globally unique identifier that represents the tenant that owns this entity.
- Vpc
Type string - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- Common
Dhcp []VpcOptions V2Common Dhcp Option Args - List of DHCP options to be configured.
- Description string
- Description of the VPC.
- Ext
Id string - the vpc uuid.
- External
Routing stringDomain Reference - External routing domain associated with this route table
- External
Subnets []VpcV2External Subnet Args - List of external subnets that the VPC is attached to.
- Externally
Routable []VpcPrefixes V2Externally Routable Prefix Args - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- Kubernetes
Clusters []VpcV2Kubernetes Cluster Args - List of Kubernetes clusters associated with the VPC.
- Links
[]Vpc
V2Link Args - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- Metadatas
[]Vpc
V2Metadata Args - The vpc kind metadata.
- Name string
- Name of the VPC.
- Project
Ext stringId - External identifier of the project associated with the VPC.
- Scope string
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - []string
- List of project external identifiers with which the VPC is shared.
- Should
Advertise boolConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- Snat
Ips []VpcV2Snat Ip Args - Supported
Multiple stringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - Tenant
Id string - A globally unique identifier that represents the tenant that owns this entity.
- Vpc
Type string - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common_
dhcp_ list(object)options - List of DHCP options to be configured.
- description string
- Description of the VPC.
- ext_
id string - the vpc uuid.
- external_
routing_ stringdomain_ reference - External routing domain associated with this route table
- external_
subnets list(object) - List of external subnets that the VPC is attached to.
- externally_
routable_ list(object)prefixes - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes_
clusters list(object) - List of Kubernetes clusters associated with the VPC.
- links list(object)
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- metadatas list(object)
- The vpc kind metadata.
- name string
- Name of the VPC.
- project_
ext_ stringid - External identifier of the project associated with the VPC.
- scope string
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - list(string)
- List of project external identifiers with which the VPC is shared.
- should_
advertise_ boolconnected_ subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- snat_
ips list(object) - supported_
multiple_ stringexternal_ subnet_ type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - tenant_
id string - A globally unique identifier that represents the tenant that owns this entity.
- vpc_
type string - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common
Dhcp List<VpcOptions V2Common Dhcp Option> - List of DHCP options to be configured.
- description String
- Description of the VPC.
- ext
Id String - the vpc uuid.
- external
Routing StringDomain Reference - External routing domain associated with this route table
- external
Subnets List<VpcV2External Subnet> - List of external subnets that the VPC is attached to.
- externally
Routable List<VpcPrefixes V2Externally Routable Prefix> - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes
Clusters List<VpcV2Kubernetes Cluster> - List of Kubernetes clusters associated with the VPC.
- links
List<Vpc
V2Link> - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- metadatas
List<Vpc
V2Metadata> - The vpc kind metadata.
- name String
- Name of the VPC.
- project
Ext StringId - External identifier of the project associated with the VPC.
- scope String
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - List<String>
- List of project external identifiers with which the VPC is shared.
- should
Advertise BooleanConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- snat
Ips List<VpcV2Snat Ip> - supported
Multiple StringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - tenant
Id String - A globally unique identifier that represents the tenant that owns this entity.
- vpc
Type String - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common
Dhcp VpcOptions V2Common Dhcp Option[] - List of DHCP options to be configured.
- description string
- Description of the VPC.
- ext
Id string - the vpc uuid.
- external
Routing stringDomain Reference - External routing domain associated with this route table
- external
Subnets VpcV2External Subnet[] - List of external subnets that the VPC is attached to.
- externally
Routable VpcPrefixes V2Externally Routable Prefix[] - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes
Clusters VpcV2Kubernetes Cluster[] - List of Kubernetes clusters associated with the VPC.
- links
Vpc
V2Link[] - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- metadatas
Vpc
V2Metadata[] - The vpc kind metadata.
- name string
- Name of the VPC.
- project
Ext stringId - External identifier of the project associated with the VPC.
- scope string
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - string[]
- List of project external identifiers with which the VPC is shared.
- should
Advertise booleanConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- snat
Ips VpcV2Snat Ip[] - supported
Multiple stringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - tenant
Id string - A globally unique identifier that represents the tenant that owns this entity.
- vpc
Type string - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common_
dhcp_ Sequence[Vpcoptions V2Common Dhcp Option Args] - List of DHCP options to be configured.
- description str
- Description of the VPC.
- ext_
id str - the vpc uuid.
- external_
routing_ strdomain_ reference - External routing domain associated with this route table
- external_
subnets Sequence[VpcV2External Subnet Args] - List of external subnets that the VPC is attached to.
- externally_
routable_ Sequence[Vpcprefixes V2Externally Routable Prefix Args] - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes_
clusters Sequence[VpcV2Kubernetes Cluster Args] - List of Kubernetes clusters associated with the VPC.
- links
Sequence[Vpc
V2Link Args] - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- metadatas
Sequence[Vpc
V2Metadata Args] - The vpc kind metadata.
- name str
- Name of the VPC.
- project_
ext_ strid - External identifier of the project associated with the VPC.
- scope str
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - Sequence[str]
- List of project external identifiers with which the VPC is shared.
- should_
advertise_ boolconnected_ subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- snat_
ips Sequence[VpcV2Snat Ip Args] - supported_
multiple_ strexternal_ subnet_ type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - tenant_
id str - A globally unique identifier that represents the tenant that owns this entity.
- vpc_
type str - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
- common
Dhcp List<Property Map>Options - List of DHCP options to be configured.
- description String
- Description of the VPC.
- ext
Id String - the vpc uuid.
- external
Routing StringDomain Reference - External routing domain associated with this route table
- external
Subnets List<Property Map> - List of external subnets that the VPC is attached to.
- externally
Routable List<Property Map>Prefixes - CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT.
- kubernetes
Clusters List<Property Map> - List of Kubernetes clusters associated with the VPC.
- links List<Property Map>
- A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
- metadatas List<Property Map>
- The vpc kind metadata.
- name String
- Name of the VPC.
- project
Ext StringId - External identifier of the project associated with the VPC.
- scope String
- VPC scope. Valid values:
VMS,CONTAINERS,VMS_AND_CONTAINERS. - List<String>
- List of project external identifiers with which the VPC is shared.
- should
Advertise BooleanConnected Subnets - When set to True, the system advertises all connected subnet prefixes that are subsets of the VPC's externally routable prefixes (ERPs), instead of the VPC ERPs themselves.
- snat
Ips List<Property Map> - supported
Multiple StringExternal Subnet Type - Type of multiple external subnet support. Valid values:
NONE,ONLY_NONAT,ONLY_NAT,ALL. - tenant
Id String - A globally unique identifier that represents the tenant that owns this entity.
- vpc
Type String - Type of VPC. Acceptable values are "REGULAR" , "TRANSIT".
Supporting Types
VpcV2CommonDhcpOption, VpcV2CommonDhcpOptionArgs
- Domain
Name List<PiersServers Karsenbarg. Nutanix. Inputs. Vpc V2Common Dhcp Option Domain Name Server> - List of Domain Name Server addresses
domain_name_servers.ipv4:(Optional) Reference to address configurationdomain_name_servers.ipv6: (Optional) Reference to address configuration
- Domain
Name []VpcServers V2Common Dhcp Option Domain Name Server - List of Domain Name Server addresses
domain_name_servers.ipv4:(Optional) Reference to address configurationdomain_name_servers.ipv6: (Optional) Reference to address configuration
- domain_
name_ list(object)servers - List of Domain Name Server addresses
domain_name_servers.ipv4:(Optional) Reference to address configurationdomain_name_servers.ipv6: (Optional) Reference to address configuration
- domain
Name List<VpcServers V2Common Dhcp Option Domain Name Server> - List of Domain Name Server addresses
domain_name_servers.ipv4:(Optional) Reference to address configurationdomain_name_servers.ipv6: (Optional) Reference to address configuration
- domain
Name VpcServers V2Common Dhcp Option Domain Name Server[] - List of Domain Name Server addresses
domain_name_servers.ipv4:(Optional) Reference to address configurationdomain_name_servers.ipv6: (Optional) Reference to address configuration
- domain_
name_ Sequence[Vpcservers V2Common Dhcp Option Domain Name Server] - List of Domain Name Server addresses
domain_name_servers.ipv4:(Optional) Reference to address configurationdomain_name_servers.ipv6: (Optional) Reference to address configuration
- domain
Name List<Property Map>Servers - List of Domain Name Server addresses
domain_name_servers.ipv4:(Optional) Reference to address configurationdomain_name_servers.ipv6: (Optional) Reference to address configuration
VpcV2CommonDhcpOptionDomainNameServer, VpcV2CommonDhcpOptionDomainNameServerArgs
VpcV2CommonDhcpOptionDomainNameServerIpv4, VpcV2CommonDhcpOptionDomainNameServerIpv4Args
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2CommonDhcpOptionDomainNameServerIpv6, VpcV2CommonDhcpOptionDomainNameServerIpv6Args
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2ExternalSubnet, VpcV2ExternalSubnetArgs
- Subnet
Reference string - External subnet reference.
- Active
Gateway intCount - Active
Gateway List<PiersNodes Karsenbarg. Nutanix. Inputs. Vpc V2External Subnet Active Gateway Node> - Maximum number of active gateway nodes for the VPC external subnet association.
- External
Ips List<PiersKarsenbarg. Nutanix. Inputs. Vpc V2External Subnet External Ip> - 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.
- Active
Gateway intCount - Active
Gateway []VpcNodes V2External Subnet Active Gateway Node - Maximum number of active gateway nodes for the VPC external subnet association.
- External
Ips []VpcV2External Subnet External Ip - 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 []string - List of gateway nodes that can be used for external connectivity.
- subnet_
reference string - External subnet reference.
- active_
gateway_ numbercount - active_
gateway_ list(object)nodes - Maximum number of active gateway nodes for the VPC external subnet association.
- 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.
- active
Gateway IntegerCount - active
Gateway List<VpcNodes V2External Subnet Active Gateway Node> - Maximum number of active gateway nodes for the VPC external subnet association.
- external
Ips List<VpcV2External Subnet External Ip> - 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.
- active
Gateway numberCount - active
Gateway VpcNodes V2External Subnet Active Gateway Node[] - Maximum number of active gateway nodes for the VPC external subnet association.
- external
Ips VpcV2External Subnet External Ip[] - 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 string[] - List of gateway nodes that can be used for external connectivity.
- subnet_
reference str - External subnet reference.
- active_
gateway_ intcount - active_
gateway_ Sequence[Vpcnodes V2External Subnet Active Gateway Node] - Maximum number of active gateway nodes for the VPC external subnet association.
- external_
ips Sequence[VpcV2External Subnet External Ip] - 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 String - External subnet reference.
- active
Gateway NumberCount - active
Gateway List<Property Map>Nodes - Maximum number of active gateway nodes for the VPC external subnet association.
- external
Ips 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.
- gateway
Nodes List<String> - List of gateway nodes that can be used for external connectivity.
VpcV2ExternalSubnetActiveGatewayNode, VpcV2ExternalSubnetActiveGatewayNodeArgs
VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddress, VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressArgs
VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv4, VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv4Args
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv6, VpcV2ExternalSubnetActiveGatewayNodeNodeIpAddressIpv6Args
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2ExternalSubnetExternalIp, VpcV2ExternalSubnetExternalIpArgs
- Ipv4s
List<Piers
Karsenbarg. Nutanix. Inputs. Vpc V2External Subnet External Ip Ipv4> - Reference to address configuration
- Ipv6s
List<Piers
Karsenbarg. Nutanix. Inputs. Vpc V2External Subnet External Ip Ipv6> - Reference to address configuration
- Ipv4s
[]Vpc
V2External Subnet External Ip Ipv4 - Reference to address configuration
- Ipv6s
[]Vpc
V2External Subnet External Ip Ipv6 - Reference to address configuration
- ipv4s list(object)
- Reference to address configuration
- ipv6s list(object)
- Reference to address configuration
- ipv4s
List<Vpc
V2External Subnet External Ip Ipv4> - Reference to address configuration
- ipv6s
List<Vpc
V2External Subnet External Ip Ipv6> - Reference to address configuration
- ipv4s
Vpc
V2External Subnet External Ip Ipv4[] - Reference to address configuration
- ipv6s
Vpc
V2External Subnet External Ip Ipv6[] - Reference to address configuration
- ipv4s
Sequence[Vpc
V2External Subnet External Ip Ipv4] - Reference to address configuration
- ipv6s
Sequence[Vpc
V2External Subnet External Ip Ipv6] - Reference to address configuration
- ipv4s List<Property Map>
- Reference to address configuration
- ipv6s List<Property Map>
- Reference to address configuration
VpcV2ExternalSubnetExternalIpIpv4, VpcV2ExternalSubnetExternalIpIpv4Args
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2ExternalSubnetExternalIpIpv6, VpcV2ExternalSubnetExternalIpIpv6Args
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2ExternallyRoutablePrefix, VpcV2ExternallyRoutablePrefixArgs
- Ipv4s
List<Piers
Karsenbarg. Nutanix. Inputs. Vpc V2Externally Routable Prefix Ipv4> - IP V4 Configuration
ipv4.ip: (Required) Reference to address configurationipv4.prefix_length: (Required) The prefix length of the network
- Ipv6s
List<Piers
Karsenbarg. Nutanix. Inputs. Vpc V2Externally Routable Prefix Ipv6> - IP V6 Configuration
ipv6.ip: (Required) Reference to address configurationipv6.prefix_length: (Required) The prefix length of the network
- Ipv4s
[]Vpc
V2Externally Routable Prefix Ipv4 - IP V4 Configuration
ipv4.ip: (Required) Reference to address configurationipv4.prefix_length: (Required) The prefix length of the network
- Ipv6s
[]Vpc
V2Externally Routable Prefix Ipv6 - IP V6 Configuration
ipv6.ip: (Required) Reference to address configurationipv6.prefix_length: (Required) The prefix length of the network
- ipv4s list(object)
- IP V4 Configuration
ipv4.ip: (Required) Reference to address configurationipv4.prefix_length: (Required) The prefix length of the network
- ipv6s list(object)
- IP V6 Configuration
ipv6.ip: (Required) Reference to address configurationipv6.prefix_length: (Required) The prefix length of the network
- ipv4s
List<Vpc
V2Externally Routable Prefix Ipv4> - IP V4 Configuration
ipv4.ip: (Required) Reference to address configurationipv4.prefix_length: (Required) The prefix length of the network
- ipv6s
List<Vpc
V2Externally Routable Prefix Ipv6> - IP V6 Configuration
ipv6.ip: (Required) Reference to address configurationipv6.prefix_length: (Required) The prefix length of the network
- ipv4s
Vpc
V2Externally Routable Prefix Ipv4[] - IP V4 Configuration
ipv4.ip: (Required) Reference to address configurationipv4.prefix_length: (Required) The prefix length of the network
- ipv6s
Vpc
V2Externally Routable Prefix Ipv6[] - IP V6 Configuration
ipv6.ip: (Required) Reference to address configurationipv6.prefix_length: (Required) The prefix length of the network
- ipv4s
Sequence[Vpc
V2Externally Routable Prefix Ipv4] - IP V4 Configuration
ipv4.ip: (Required) Reference to address configurationipv4.prefix_length: (Required) The prefix length of the network
- ipv6s
Sequence[Vpc
V2Externally Routable Prefix Ipv6] - IP V6 Configuration
ipv6.ip: (Required) Reference to address configurationipv6.prefix_length: (Required) The prefix length of the network
- ipv4s List<Property Map>
- IP V4 Configuration
ipv4.ip: (Required) Reference to address configurationipv4.prefix_length: (Required) The prefix length of the network
- ipv6s List<Property Map>
- IP V6 Configuration
ipv6.ip: (Required) Reference to address configurationipv6.prefix_length: (Required) The prefix length of the network
VpcV2ExternallyRoutablePrefixIpv4, VpcV2ExternallyRoutablePrefixIpv4Args
- prefix_
length number - ips list(object)
VpcV2ExternallyRoutablePrefixIpv4Ip, VpcV2ExternallyRoutablePrefixIpv4IpArgs
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2ExternallyRoutablePrefixIpv6, VpcV2ExternallyRoutablePrefixIpv6Args
- prefix_
length number - ips list(object)
VpcV2ExternallyRoutablePrefixIpv6Ip, VpcV2ExternallyRoutablePrefixIpv6IpArgs
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2KubernetesCluster, VpcV2KubernetesClusterArgs
- Ext
Id string - ExtID of the Kubernetes cluster.
- Gateway
Nodes PiersSelector Karsenbarg. Nutanix. Inputs. Vpc V2Kubernetes Cluster Gateway Nodes Selector - Selector used to identify gateway node candidates within the Kubernetes cluster.
- Namespace
Selector PiersKarsenbarg. Nutanix. Inputs. Vpc V2Kubernetes Cluster Namespace Selector - Selector used to identify namespaces within the Kubernetes cluster.
- Pod
Network PiersKarsenbarg. Nutanix. Inputs. Vpc V2Kubernetes Cluster Pod Network - Pod network of the Kubernetes cluster.
- Ext
Id string - ExtID of the Kubernetes cluster.
- Gateway
Nodes VpcSelector V2Kubernetes Cluster Gateway Nodes Selector - Selector used to identify gateway node candidates within the Kubernetes cluster.
- Namespace
Selector VpcV2Kubernetes Cluster Namespace Selector - Selector used to identify namespaces within the Kubernetes cluster.
- Pod
Network VpcV2Kubernetes Cluster Pod Network - Pod network of the Kubernetes cluster.
- ext_
id string - ExtID of the Kubernetes cluster.
- gateway_
nodes_ objectselector - Selector used to identify gateway node candidates within the Kubernetes cluster.
- namespace_
selector object - Selector used to identify namespaces within the Kubernetes cluster.
- pod_
network object - Pod network of the Kubernetes cluster.
- ext
Id String - ExtID of the Kubernetes cluster.
- gateway
Nodes VpcSelector V2Kubernetes Cluster Gateway Nodes Selector - Selector used to identify gateway node candidates within the Kubernetes cluster.
- namespace
Selector VpcV2Kubernetes Cluster Namespace Selector - Selector used to identify namespaces within the Kubernetes cluster.
- pod
Network VpcV2Kubernetes Cluster Pod Network - Pod network of the Kubernetes cluster.
- ext
Id string - ExtID of the Kubernetes cluster.
- gateway
Nodes VpcSelector V2Kubernetes Cluster Gateway Nodes Selector - Selector used to identify gateway node candidates within the Kubernetes cluster.
- namespace
Selector VpcV2Kubernetes Cluster Namespace Selector - Selector used to identify namespaces within the Kubernetes cluster.
- pod
Network VpcV2Kubernetes Cluster Pod Network - Pod network of the Kubernetes cluster.
- ext_
id str - ExtID of the Kubernetes cluster.
- gateway_
nodes_ Vpcselector V2Kubernetes Cluster Gateway Nodes Selector - Selector used to identify gateway node candidates within the Kubernetes cluster.
- namespace_
selector VpcV2Kubernetes Cluster Namespace Selector - Selector used to identify namespaces within the Kubernetes cluster.
- pod_
network VpcV2Kubernetes Cluster Pod Network - Pod network of the Kubernetes cluster.
- ext
Id String - ExtID of the Kubernetes cluster.
- gateway
Nodes Property MapSelector - Selector used to identify gateway node candidates within the Kubernetes cluster.
- namespace
Selector Property Map - Selector used to identify namespaces within the Kubernetes cluster.
- pod
Network Property Map - Pod network of the Kubernetes cluster.
VpcV2KubernetesClusterGatewayNodesSelector, VpcV2KubernetesClusterGatewayNodesSelectorArgs
- Match
Labels List<PiersKarsenbarg. Nutanix. Inputs. Vpc V2Kubernetes Cluster Gateway Nodes Selector Match Label> - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- Match
Labels []VpcV2Kubernetes Cluster Gateway Nodes Selector Match Label - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match_
labels list(object) - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match
Labels List<VpcV2Kubernetes Cluster Gateway Nodes Selector Match Label> - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match
Labels VpcV2Kubernetes Cluster Gateway Nodes Selector Match Label[] - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match_
labels Sequence[VpcV2Kubernetes Cluster Gateway Nodes Selector Match Label] - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match
Labels List<Property Map> - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
VpcV2KubernetesClusterGatewayNodesSelectorMatchLabel, VpcV2KubernetesClusterGatewayNodesSelectorMatchLabelArgs
VpcV2KubernetesClusterNamespaceSelector, VpcV2KubernetesClusterNamespaceSelectorArgs
- Match
Labels List<PiersKarsenbarg. Nutanix. Inputs. Vpc V2Kubernetes Cluster Namespace Selector Match Label> - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- Match
Labels []VpcV2Kubernetes Cluster Namespace Selector Match Label - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match_
labels list(object) - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match
Labels List<VpcV2Kubernetes Cluster Namespace Selector Match Label> - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match
Labels VpcV2Kubernetes Cluster Namespace Selector Match Label[] - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match_
labels Sequence[VpcV2Kubernetes Cluster Namespace Selector Match Label] - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
- match
Labels List<Property Map> - Labels (key-value pairs) used to select entities.
match_labels.name: (Optional) The key of the label.match_labels.value: (Optional) The value of the label.
VpcV2KubernetesClusterNamespaceSelectorMatchLabel, VpcV2KubernetesClusterNamespaceSelectorMatchLabelArgs
VpcV2KubernetesClusterPodNetwork, VpcV2KubernetesClusterPodNetworkArgs
- Cidrs
List<Piers
Karsenbarg. Nutanix. Inputs. Vpc V2Kubernetes Cluster Pod Network Cidr> - CIDR of the pod network (IPSubnet).
cidr.ipv4: (Optional) IPv4 Subnet Configuration.cidr.ipv6: (Optional) IPv6 Subnet Configuration.
- Host
Slice int - Host slice of the pod network. Default value is 24.
- Cidrs
[]Vpc
V2Kubernetes Cluster Pod Network Cidr - CIDR of the pod network (IPSubnet).
cidr.ipv4: (Optional) IPv4 Subnet Configuration.cidr.ipv6: (Optional) IPv6 Subnet Configuration.
- Host
Slice int - Host slice of the pod network. Default value is 24.
- cidrs list(object)
- CIDR of the pod network (IPSubnet).
cidr.ipv4: (Optional) IPv4 Subnet Configuration.cidr.ipv6: (Optional) IPv6 Subnet Configuration.
- host_
slice number - Host slice of the pod network. Default value is 24.
- cidrs
List<Vpc
V2Kubernetes Cluster Pod Network Cidr> - CIDR of the pod network (IPSubnet).
cidr.ipv4: (Optional) IPv4 Subnet Configuration.cidr.ipv6: (Optional) IPv6 Subnet Configuration.
- host
Slice Integer - Host slice of the pod network. Default value is 24.
- cidrs
Vpc
V2Kubernetes Cluster Pod Network Cidr[] - CIDR of the pod network (IPSubnet).
cidr.ipv4: (Optional) IPv4 Subnet Configuration.cidr.ipv6: (Optional) IPv6 Subnet Configuration.
- host
Slice number - Host slice of the pod network. Default value is 24.
- cidrs
Sequence[Vpc
V2Kubernetes Cluster Pod Network Cidr] - CIDR of the pod network (IPSubnet).
cidr.ipv4: (Optional) IPv4 Subnet Configuration.cidr.ipv6: (Optional) IPv6 Subnet Configuration.
- host_
slice int - Host slice of the pod network. Default value is 24.
- cidrs List<Property Map>
- CIDR of the pod network (IPSubnet).
cidr.ipv4: (Optional) IPv4 Subnet Configuration.cidr.ipv6: (Optional) IPv6 Subnet Configuration.
- host
Slice Number - Host slice of the pod network. Default value is 24.
VpcV2KubernetesClusterPodNetworkCidr, VpcV2KubernetesClusterPodNetworkCidrArgs
VpcV2KubernetesClusterPodNetworkCidrIpv4, VpcV2KubernetesClusterPodNetworkCidrIpv4Args
- ip object
- prefix_
length number
- ip Property Map
- prefix
Length Number
VpcV2KubernetesClusterPodNetworkCidrIpv4Ip, VpcV2KubernetesClusterPodNetworkCidrIpv4IpArgs
- Value string
- Prefix
Length int
- Value string
- Prefix
Length int
- value string
- prefix_
length number
- value String
- prefix
Length Integer
- value string
- prefix
Length number
- value str
- prefix_
length int
- value String
- prefix
Length Number
VpcV2KubernetesClusterPodNetworkCidrIpv6, VpcV2KubernetesClusterPodNetworkCidrIpv6Args
- ip object
- prefix_
length number
- ip Property Map
- prefix
Length Number
VpcV2KubernetesClusterPodNetworkCidrIpv6Ip, VpcV2KubernetesClusterPodNetworkCidrIpv6IpArgs
- Value string
- Prefix
Length int
- Value string
- Prefix
Length int
- value string
- prefix_
length number
- value String
- prefix
Length Integer
- value string
- prefix
Length number
- value str
- prefix_
length int
- value String
- prefix
Length Number
VpcV2Link, VpcV2LinkArgs
VpcV2Metadata, VpcV2MetadataArgs
- Category
Ids List<string> - Owner
Reference stringId - Owner
User stringName - Project
Name string - Project
Reference stringId
- Category
Ids []string - Owner
Reference stringId - Owner
User stringName - Project
Name string - Project
Reference stringId
- category_
ids list(string) - owner_
reference_ stringid - owner_
user_ stringname - project_
name string - project_
reference_ stringid
- category
Ids List<String> - owner
Reference StringId - owner
User StringName - project
Name String - project
Reference StringId
- category
Ids string[] - owner
Reference stringId - owner
User stringName - project
Name string - project
Reference stringId
- category_
ids Sequence[str] - owner_
reference_ strid - owner_
user_ strname - project_
name str - project_
reference_ strid
- category
Ids List<String> - owner
Reference StringId - owner
User StringName - project
Name String - project
Reference StringId
VpcV2SnatIp, VpcV2SnatIpArgs
VpcV2SnatIpIpv4, VpcV2SnatIpIpv4Args
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
VpcV2SnatIpIpv6, VpcV2SnatIpIpv6Args
- Prefix
Length int - Value string
- Prefix
Length int - Value string
- prefix_
length number - value string
- prefix
Length Integer - value String
- prefix
Length number - value string
- prefix_
length int - value str
- prefix
Length Number - value String
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
Nutanixpublished on Tuesday, Nov 17, 2026 by Piers Karsenbarg