import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides Nutanix resource to create VPC. * * ## Example * * * ```typescript * 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", * }); * ``` * */ export declare class VpcV2 extends pulumi.CustomResource { /** * Get an existing VpcV2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VpcV2State, opts?: pulumi.CustomResourceOptions): VpcV2; /** * Returns true if the given object is an instance of VpcV2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VpcV2; /** * List of DHCP options to be configured. */ readonly commonDhcpOptions: pulumi.Output; /** * Description of the VPC. */ readonly description: pulumi.Output; /** * the vpc uuid. */ readonly extId: pulumi.Output; /** * External routing domain associated with this route table */ readonly externalRoutingDomainReference: pulumi.Output; /** * List of external subnets that the VPC is attached to. */ readonly externalSubnets: pulumi.Output; /** * CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT. */ readonly externallyRoutablePrefixes: pulumi.Output; /** * 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. */ readonly links: pulumi.Output; /** * The vpc kind metadata. */ readonly metadatas: pulumi.Output; /** * Name of the VPC. */ readonly name: pulumi.Output; readonly snatIps: pulumi.Output; /** * A globally unique identifier that represents the tenant that owns this entity. */ readonly tenantId: pulumi.Output; /** * Type of VPC. Acceptable values are "REGULAR" , "TRANSIT". */ readonly vpcType: pulumi.Output; /** * Create a VpcV2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: VpcV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VpcV2 resources. */ export interface VpcV2State { /** * List of DHCP options to be configured. */ commonDhcpOptions?: pulumi.Input[] | undefined>; /** * Description of the VPC. */ description?: pulumi.Input; /** * the vpc uuid. */ extId?: pulumi.Input; /** * External routing domain associated with this route table */ externalRoutingDomainReference?: pulumi.Input; /** * List of external subnets that the VPC is attached to. */ externalSubnets?: pulumi.Input[] | undefined>; /** * CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT. */ externallyRoutablePrefixes?: pulumi.Input[] | undefined>; /** * 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. */ links?: pulumi.Input[] | undefined>; /** * The vpc kind metadata. */ metadatas?: pulumi.Input[] | undefined>; /** * Name of the VPC. */ name?: pulumi.Input; snatIps?: pulumi.Input[] | undefined>; /** * A globally unique identifier that represents the tenant that owns this entity. */ tenantId?: pulumi.Input; /** * Type of VPC. Acceptable values are "REGULAR" , "TRANSIT". */ vpcType?: pulumi.Input; } /** * The set of arguments for constructing a VpcV2 resource. */ export interface VpcV2Args { /** * List of DHCP options to be configured. */ commonDhcpOptions?: pulumi.Input[] | undefined>; /** * Description of the VPC. */ description?: pulumi.Input; /** * External routing domain associated with this route table */ externalRoutingDomainReference?: pulumi.Input; /** * List of external subnets that the VPC is attached to. */ externalSubnets?: pulumi.Input[] | undefined>; /** * CIDR blocks from the VPC which can talk externally without performing NAT. This is applicable when connecting to external subnets which have disabled NAT. */ externallyRoutablePrefixes?: pulumi.Input[] | undefined>; /** * The vpc kind metadata. */ metadatas?: pulumi.Input[] | undefined>; /** * Name of the VPC. */ name?: pulumi.Input; /** * Type of VPC. Acceptable values are "REGULAR" , "TRANSIT". */ vpcType?: pulumi.Input; } //# sourceMappingURL=vpcV2.d.ts.map