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 guest customization update. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const vm_list = nutanix.getVirtualMachinesV2({}); * const vm_gc_update = new nutanix.VmGcUpdateV2("vm-gc-update", { * extId: output(vm_list.then(vm_list => vm_list.vms?.[0]?.data?.extId)).apply(x =>String(x)), * configs: [{ * cloudInits: [{ * cloudInitScripts: [{ * userDatas: [{ * value: "IyEvYmluL2Jhc2gKZWNobyAiSGVsbG8gV29ybGQiCg==", * }], * }], * }], * }], * }); * ``` * */ export declare class VmGcUpdateV2 extends pulumi.CustomResource { /** * Get an existing VmGcUpdateV2 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?: VmGcUpdateV2State, opts?: pulumi.CustomResourceOptions): VmGcUpdateV2; /** * Returns true if the given object is an instance of VmGcUpdateV2. 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 VmGcUpdateV2; /** * - (Optional) The Nutanix Guest Tools customization settings. */ readonly configs: pulumi.Output; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ readonly extId: pulumi.Output; /** * Create a VmGcUpdateV2 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: VmGcUpdateV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VmGcUpdateV2 resources. */ export interface VmGcUpdateV2State { /** * - (Optional) The Nutanix Guest Tools customization settings. */ configs?: pulumi.Input[] | undefined>; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ extId?: pulumi.Input; } /** * The set of arguments for constructing a VmGcUpdateV2 resource. */ export interface VmGcUpdateV2Args { /** * - (Optional) The Nutanix Guest Tools customization settings. */ configs?: pulumi.Input[] | undefined>; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ extId: pulumi.Input; } //# sourceMappingURL=vmGcUpdateV2.d.ts.map