import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Deploy one or more VMs from a Template. Number of VMs to be deployed and their corresponding VM configuration overrides can be provided. * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const deploy_temp = new nutanix.DeployTemplatesV2("deploy-temp", { * extId: "ab520e1d-4950-1db1-917f-a9e2ea35b8e3", * numberOfVms: 1, * clusterReference: "0005b6b8-7b3b-4b0b-8b3b-7b3b4b0b8b3b", * overrideVmConfigMaps: [{ * name: "example-tf-temp", * memorySizeBytes: 4294967296, * numSockets: 2, * numCoresPerSocket: 1, * numThreadsPerCore: 1, * }], * }); * ``` * */ export declare class DeployTemplatesV2 extends pulumi.CustomResource { /** * Get an existing DeployTemplatesV2 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?: DeployTemplatesV2State, opts?: pulumi.CustomResourceOptions): DeployTemplatesV2; /** * Returns true if the given object is an instance of DeployTemplatesV2. 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 DeployTemplatesV2; /** * The identifier of the Cluster where the VM(s) will be created using a Template. */ readonly clusterReference: pulumi.Output; /** * The identifier of a Template. */ readonly extId: pulumi.Output; /** * Number of VMs to be deployed. */ readonly numberOfVms: pulumi.Output; /** * The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization. */ readonly overrideVmConfigMaps: pulumi.Output; /** * The identifier of a Template Version. */ readonly versionId: pulumi.Output; /** * Create a DeployTemplatesV2 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: DeployTemplatesV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DeployTemplatesV2 resources. */ export interface DeployTemplatesV2State { /** * The identifier of the Cluster where the VM(s) will be created using a Template. */ clusterReference?: pulumi.Input; /** * The identifier of a Template. */ extId?: pulumi.Input; /** * Number of VMs to be deployed. */ numberOfVms?: pulumi.Input; /** * The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization. */ overrideVmConfigMaps?: pulumi.Input[] | undefined>; /** * The identifier of a Template Version. */ versionId?: pulumi.Input; } /** * The set of arguments for constructing a DeployTemplatesV2 resource. */ export interface DeployTemplatesV2Args { /** * The identifier of the Cluster where the VM(s) will be created using a Template. */ clusterReference: pulumi.Input; /** * The identifier of a Template. */ extId: pulumi.Input; /** * Number of VMs to be deployed. */ numberOfVms: pulumi.Input; /** * The map specifying the VM configuration overrides for each of the specified VM(s) to be created. The overrides can include the created VM Name, Configuration and Guest Customization. */ overrideVmConfigMaps?: pulumi.Input[] | undefined>; /** * The identifier of a Template Version. */ versionId?: pulumi.Input; } //# sourceMappingURL=deployTemplatesV2.d.ts.map