import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Deploys a VM from an OVA, allowing you to override the VM configuration if needed. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Deploy vm from ova * const test = new nutanix.OvaVmDeployV2("test", { * extId: "42e1fc04-8aa5-4572-8fa4-416f23767adb", * overrideVmConfig: { * name: "vm-from-ova", * memorySizeBytes: 8 * 1024 * 1024 * 1024, * nics: [{ * nicBackingInfo: { * virtualEthernetNic: { * isConnected: true, * }, * }, * nicNetworkInfo: { * virtualEthernetNicNetworkInfo: { * nicType: "NORMAL_NIC", * subnets: [{ * extId: "9bd6cbc2-a592-4728-ab89-473612f46b99", * }], * vlanMode: "TRUNK", * trunkedVlans: [1], * }, * }, * }], * disks: [{ * diskAddresses: [{ * busType: "SCSI", * index: 0, * }], * backingInfos: [{ * vmDisks: [{ * diskSizeBytes: 10 * 1024 * 1024 * 1024, * }], * }], * }], * }, * clusterLocationExtId: "639ed004-31a6-4ff6-b06e-825617292811", * }); * ``` * */ export declare class OvaVmDeployV2 extends pulumi.CustomResource { /** * Get an existing OvaVmDeployV2 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?: OvaVmDeployV2State, opts?: pulumi.CustomResourceOptions): OvaVmDeployV2; /** * Returns true if the given object is an instance of OvaVmDeployV2. 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 OvaVmDeployV2; /** * -(Required) Cluster identifier to deploy VM from OVA. This field is required when deploying an OVA and must be a part of the OVA location list. */ readonly clusterLocationExtId: pulumi.Output; /** * -(Required) The external identifier for an OVA. */ readonly extId: pulumi.Output; /** * -(Required) VM config override spec for OVA VM deploy endpoint */ readonly overrideVmConfig: pulumi.Output; /** * Create a OvaVmDeployV2 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: OvaVmDeployV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OvaVmDeployV2 resources. */ export interface OvaVmDeployV2State { /** * -(Required) Cluster identifier to deploy VM from OVA. This field is required when deploying an OVA and must be a part of the OVA location list. */ clusterLocationExtId?: pulumi.Input; /** * -(Required) The external identifier for an OVA. */ extId?: pulumi.Input; /** * -(Required) VM config override spec for OVA VM deploy endpoint */ overrideVmConfig?: pulumi.Input; } /** * The set of arguments for constructing a OvaVmDeployV2 resource. */ export interface OvaVmDeployV2Args { /** * -(Required) Cluster identifier to deploy VM from OVA. This field is required when deploying an OVA and must be a part of the OVA location list. */ clusterLocationExtId: pulumi.Input; /** * -(Required) The external identifier for an OVA. */ extId: pulumi.Input; /** * -(Required) VM config override spec for OVA VM deploy endpoint */ overrideVmConfig: pulumi.Input; } //# sourceMappingURL=ovaVmDeployV2.d.ts.map