import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Nutanix Virtual Machine resource to Create a virtual machine clone. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const vm_list = nutanix.getVirtualMachinesV2({}); * const vm1 = new nutanix.VmCloneV2("vm1", { * vmExtId: output(vm_list.then(vm_list => vm_list.vms?.[0]?.data?.extId)).apply(x =>String(x)), * name: "test-dou", * numCoresPerSocket: 1, * numSockets: 1, * memorySizeMib: 2048, * }); * ``` * */ export declare class VmCloneV2 extends pulumi.CustomResource { /** * Get an existing VmCloneV2 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?: VmCloneV2State, opts?: pulumi.CustomResourceOptions): VmCloneV2; /** * Returns true if the given object is an instance of VmCloneV2. 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 VmCloneV2; readonly apcConfigs: pulumi.Output; readonly biosUuid: pulumi.Output; /** * - (Optional) Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order. */ readonly bootConfigs: pulumi.Output; readonly categories: pulumi.Output; readonly cdRoms: pulumi.Output; readonly clusters: pulumi.Output; readonly createTime: pulumi.Output; readonly description: pulumi.Output; readonly disks: pulumi.Output; readonly enabledCpuFeatures: pulumi.Output; readonly extId: pulumi.Output; readonly generationUuid: pulumi.Output; readonly gpuses: pulumi.Output; /** * - (Optional) Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call. */ readonly guestCustomizations: pulumi.Output; readonly guestTools: pulumi.Output; readonly hardwareClockTimezone: pulumi.Output; readonly hosts: pulumi.Output; readonly isAgentVm: pulumi.Output; readonly isBrandingEnabled: pulumi.Output; readonly isCpuHotplugEnabled: pulumi.Output; readonly isCpuPassthroughEnabled: pulumi.Output; readonly isGpuConsoleEnabled: pulumi.Output; readonly isMemoryOvercommitEnabled: pulumi.Output; readonly isScsiControllerEnabled: pulumi.Output; readonly isVcpuHardPinningEnabled: pulumi.Output; readonly isVgaConsoleEnabled: pulumi.Output; readonly links: pulumi.Output; readonly machineType: pulumi.Output; readonly memorySizeBytes: pulumi.Output; /** * - (Optional) The name for the vm. */ readonly name: pulumi.Output; /** * - (Optional) NICs attached to the VM. */ readonly nics: pulumi.Output; /** * - (Optional) Number of cores per socket. */ readonly numCoresPerSocket: pulumi.Output; readonly numNumaNodes: pulumi.Output; /** * - (Optional) Number of vCPU sockets. */ readonly numSockets: pulumi.Output; /** * - (Optional) Number of threads per core. */ readonly numThreadsPerCore: pulumi.Output; readonly ownershipInfos: pulumi.Output; readonly powerState: pulumi.Output; readonly protectionPolicyStates: pulumi.Output; readonly protectionType: pulumi.Output; readonly serialPorts: pulumi.Output; readonly sources: pulumi.Output; readonly storageConfigs: pulumi.Output; readonly tenantId: pulumi.Output; readonly updateTime: pulumi.Output; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ readonly vmExtId: pulumi.Output; readonly vtpmConfigs: pulumi.Output; /** * Create a VmCloneV2 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: VmCloneV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VmCloneV2 resources. */ export interface VmCloneV2State { apcConfigs?: pulumi.Input[] | undefined>; biosUuid?: pulumi.Input; /** * - (Optional) Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order. */ bootConfigs?: pulumi.Input[] | undefined>; categories?: pulumi.Input[] | undefined>; cdRoms?: pulumi.Input[] | undefined>; clusters?: pulumi.Input[] | undefined>; createTime?: pulumi.Input; description?: pulumi.Input; disks?: pulumi.Input[] | undefined>; enabledCpuFeatures?: pulumi.Input[] | undefined>; extId?: pulumi.Input; generationUuid?: pulumi.Input; gpuses?: pulumi.Input[] | undefined>; /** * - (Optional) Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call. */ guestCustomizations?: pulumi.Input[] | undefined>; guestTools?: pulumi.Input[] | undefined>; hardwareClockTimezone?: pulumi.Input; hosts?: pulumi.Input[] | undefined>; isAgentVm?: pulumi.Input; isBrandingEnabled?: pulumi.Input; isCpuHotplugEnabled?: pulumi.Input; isCpuPassthroughEnabled?: pulumi.Input; isGpuConsoleEnabled?: pulumi.Input; isMemoryOvercommitEnabled?: pulumi.Input; isScsiControllerEnabled?: pulumi.Input; isVcpuHardPinningEnabled?: pulumi.Input; isVgaConsoleEnabled?: pulumi.Input; links?: pulumi.Input[] | undefined>; machineType?: pulumi.Input; memorySizeBytes?: pulumi.Input; /** * - (Optional) The name for the vm. */ name?: pulumi.Input; /** * - (Optional) NICs attached to the VM. */ nics?: pulumi.Input[] | undefined>; /** * - (Optional) Number of cores per socket. */ numCoresPerSocket?: pulumi.Input; numNumaNodes?: pulumi.Input; /** * - (Optional) Number of vCPU sockets. */ numSockets?: pulumi.Input; /** * - (Optional) Number of threads per core. */ numThreadsPerCore?: pulumi.Input; ownershipInfos?: pulumi.Input[] | undefined>; powerState?: pulumi.Input; protectionPolicyStates?: pulumi.Input[] | undefined>; protectionType?: pulumi.Input; serialPorts?: pulumi.Input[] | undefined>; sources?: pulumi.Input[] | undefined>; storageConfigs?: pulumi.Input[] | undefined>; tenantId?: pulumi.Input; updateTime?: pulumi.Input; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ vmExtId?: pulumi.Input; vtpmConfigs?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a VmCloneV2 resource. */ export interface VmCloneV2Args { /** * - (Optional) Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order. */ bootConfigs?: pulumi.Input[] | undefined>; /** * - (Optional) Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call. */ guestCustomizations?: pulumi.Input[] | undefined>; memorySizeBytes?: pulumi.Input; /** * - (Optional) The name for the vm. */ name?: pulumi.Input; /** * - (Optional) NICs attached to the VM. */ nics?: pulumi.Input[] | undefined>; /** * - (Optional) Number of cores per socket. */ numCoresPerSocket?: pulumi.Input; /** * - (Optional) Number of vCPU sockets. */ numSockets?: pulumi.Input; /** * - (Optional) Number of threads per core. */ numThreadsPerCore?: pulumi.Input; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ vmExtId: pulumi.Input; } //# sourceMappingURL=vmCloneV2.d.ts.map