import * as pulumi from "@pulumi/pulumi"; /** * Performs Guest OS actions on given template. It Initiates, Completes and Cancels the Guest OS operation. * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const example_1 = new nutanix.TemplateGuestOsActionsV2("example-1", { * extId: "ab520e1d-4950-1db1-917f-a9e2ea35b8e3", * action: "initiate", * versionId: "c2c249b0-98a0-43fa-9ff6-dcde578d3936", * }); * const example_2 = new nutanix.TemplateGuestOsActionsV2("example-2", { * extId: "8a938cc5-282b-48c4-81be-de22de145d07", * action: "complete", * versionName: "version_name", * versionDescription: "version desc", * isActiveVersion: "true", * }); * const example_3 = new nutanix.TemplateGuestOsActionsV2("example-3", { * extId: "1cefd0f5-6d38-4c9b-a07c-bdd2db004224", * action: "cancel", * }); * ``` * */ export declare class TemplateGuestOsActionsV2 extends pulumi.CustomResource { /** * Get an existing TemplateGuestOsActionsV2 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?: TemplateGuestOsActionsV2State, opts?: pulumi.CustomResourceOptions): TemplateGuestOsActionsV2; /** * Returns true if the given object is an instance of TemplateGuestOsActionsV2. 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 TemplateGuestOsActionsV2; /** * Actions to be performed. Acceptable values are "initiate", "complete", "cancel" . */ readonly action: pulumi.Output; /** * The identifier of a Template. */ readonly extId: pulumi.Output; /** * Specify whether to mark the Template Version as active or not. The newly created Version during Template Creation, Updating or Guest OS Updating is set to Active by default unless specified otherwise. Default is true. Only applicable with `complete` action. * * * See detailed information in [Nutanix Template Guest OS Action Initiate V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/initiateGuestUpdate). * See detailed information in [Nutanix Template Guest OS Action Complete V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/completeGuestUpdate). * See detailed information in [Nutanix Template Guest OS Action Cancel V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/cancelGuestUpdate). */ readonly isActiveVersion: pulumi.Output; /** * The user defined description of a Template Version. (Required) Only applicable with `complete` action. */ readonly versionDescription: pulumi.Output; /** * The identifier of a Template Version. Only applicable with `Initiate` action. */ readonly versionId: pulumi.Output; /** * The user defined name of a Template Version. Only applicable with `complete` action. */ readonly versionName: pulumi.Output; /** * Create a TemplateGuestOsActionsV2 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: TemplateGuestOsActionsV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TemplateGuestOsActionsV2 resources. */ export interface TemplateGuestOsActionsV2State { /** * Actions to be performed. Acceptable values are "initiate", "complete", "cancel" . */ action?: pulumi.Input; /** * The identifier of a Template. */ extId?: pulumi.Input; /** * Specify whether to mark the Template Version as active or not. The newly created Version during Template Creation, Updating or Guest OS Updating is set to Active by default unless specified otherwise. Default is true. Only applicable with `complete` action. * * * See detailed information in [Nutanix Template Guest OS Action Initiate V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/initiateGuestUpdate). * See detailed information in [Nutanix Template Guest OS Action Complete V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/completeGuestUpdate). * See detailed information in [Nutanix Template Guest OS Action Cancel V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/cancelGuestUpdate). */ isActiveVersion?: pulumi.Input; /** * The user defined description of a Template Version. (Required) Only applicable with `complete` action. */ versionDescription?: pulumi.Input; /** * The identifier of a Template Version. Only applicable with `Initiate` action. */ versionId?: pulumi.Input; /** * The user defined name of a Template Version. Only applicable with `complete` action. */ versionName?: pulumi.Input; } /** * The set of arguments for constructing a TemplateGuestOsActionsV2 resource. */ export interface TemplateGuestOsActionsV2Args { /** * Actions to be performed. Acceptable values are "initiate", "complete", "cancel" . */ action: pulumi.Input; /** * The identifier of a Template. */ extId: pulumi.Input; /** * Specify whether to mark the Template Version as active or not. The newly created Version during Template Creation, Updating or Guest OS Updating is set to Active by default unless specified otherwise. Default is true. Only applicable with `complete` action. * * * See detailed information in [Nutanix Template Guest OS Action Initiate V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/initiateGuestUpdate). * See detailed information in [Nutanix Template Guest OS Action Complete V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/completeGuestUpdate). * See detailed information in [Nutanix Template Guest OS Action Cancel V4](https://developers.nutanix.com/api-reference?namespace=vmm&version=v4.2#tag/Templates/operation/cancelGuestUpdate). */ isActiveVersion?: pulumi.Input; /** * The user defined description of a Template Version. (Required) Only applicable with `complete` action. */ versionDescription?: pulumi.Input; /** * The identifier of a Template Version. Only applicable with `Initiate` action. */ versionId?: pulumi.Input; /** * The user defined name of a Template Version. Only applicable with `complete` action. */ versionName?: pulumi.Input; } //# sourceMappingURL=templateGuestOsActionsV2.d.ts.map