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 Usage * * ### vpc creation with external subnet name * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const vpc = new nutanix.Vpc("vpc", { * name: "testtNew-1", * externalSubnetReferenceNames: [ * "test-Ext1", * "test-ext2", * ], * commonDomainNameServerIpLists: [ * { * ip: "8.8.8.8", * }, * { * ip: "8.8.8.9", * }, * ], * externallyRoutablePrefixLists: [{ * ip: "192.43.0.0", * prefixLength: 16, * }], * }); * ``` * * * ### vpc creation with external subnet uuid * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const vpc = new nutanix.Vpc("vpc", { * name: "testtNew-1", * externalSubnetReferenceUuids: [""], * commonDomainNameServerIpLists: [{ * ip: "8.8.8.8", * }], * externallyRoutablePrefixLists: [ * { * ip: "192.43.0.0", * prefixLength: 16, * }, * { * ip: "192.42.0.0", * prefixLength: 16, * }, * ], * }); * ``` * */ export declare class Vpc extends pulumi.CustomResource { /** * Get an existing Vpc 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?: VpcState, opts?: pulumi.CustomResourceOptions): Vpc; /** * Returns true if the given object is an instance of Vpc. 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 Vpc; /** * The version of the API. */ readonly apiVersion: pulumi.Output; /** * List of domain name server IPs. */ readonly commonDomainNameServerIpLists: pulumi.Output; /** * Status of List of external subnets attached to this VPC */ readonly externalSubnetListStatuses: pulumi.Output; /** * List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid. */ readonly externalSubnetReferenceNames: pulumi.Output; /** * List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name. */ readonly externalSubnetReferenceUuids: pulumi.Output; /** * List Externally Routable IP Addresses. Required when external subnet with NoNAT is used. */ readonly externallyRoutablePrefixLists: pulumi.Output; /** * The vpc kind metadata. */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; /** * The name for the VPC. */ readonly name: pulumi.Output; /** * Create a Vpc 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?: VpcArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Vpc resources. */ export interface VpcState { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * List of domain name server IPs. */ commonDomainNameServerIpLists?: pulumi.Input[] | undefined>; /** * Status of List of external subnets attached to this VPC */ externalSubnetListStatuses?: pulumi.Input[] | undefined>; /** * List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid. */ externalSubnetReferenceNames?: pulumi.Input[] | undefined>; /** * List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name. */ externalSubnetReferenceUuids?: pulumi.Input[] | undefined>; /** * List Externally Routable IP Addresses. Required when external subnet with NoNAT is used. */ externallyRoutablePrefixLists?: pulumi.Input[] | undefined>; /** * The vpc kind metadata. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The name for the VPC. */ name?: pulumi.Input; } /** * The set of arguments for constructing a Vpc resource. */ export interface VpcArgs { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * List of domain name server IPs. */ commonDomainNameServerIpLists?: pulumi.Input[] | undefined>; /** * List of external subnets name attached to this VPC. Should not be used with external_subnet_reference_uuid. */ externalSubnetReferenceNames?: pulumi.Input[] | undefined>; /** * List of external subnets uuid attached to this VPC. Should not be used with external_subnet_reference_name. */ externalSubnetReferenceUuids?: pulumi.Input[] | undefined>; /** * List Externally Routable IP Addresses. Required when external subnet with NoNAT is used. */ externallyRoutablePrefixLists?: pulumi.Input[] | undefined>; /** * The name for the VPC. */ name?: pulumi.Input; } //# sourceMappingURL=vpc.d.ts.map