import * as pulumi from "@pulumi/pulumi"; /** * Restore the specified protected resource from its state at the given timestamp on the given cluster. This is only relevant if the entity is protected in a minutely schedule at the given timestamp. * * ## Example 1: Restore Virtual Machine * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // create a category and a protection policy on the local site * // restore the protected virtual machine on the remote site * const rp_vm = new nutanix.RestoreProtectedResourceV2("rp-vm", { * extId: "d22529bb-f02d-4710-894b-d1de772d7832", * clusterExtId: "0005b6b1-1b16-4983-b5ff-204840f85e07", * }); * ``` * * * ## Example 2: Restore Volume Group * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // create a category , a protection policy and VG on the local site * // restore the protected volume group on the remote site * const rp_vg = new nutanix.RestoreProtectedResourceV2("rp-vg", { * extId: "246c651a-1b16-4983-b5ff-204840f85e07", * clusterExtId: "0005b6b1-1b16-4983-b5ff-204840f85e07", * }); * ``` * */ export declare class RestoreProtectedResourceV2 extends pulumi.CustomResource { /** * Get an existing RestoreProtectedResourceV2 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?: RestoreProtectedResourceV2State, opts?: pulumi.CustomResourceOptions): RestoreProtectedResourceV2; /** * Returns true if the given object is an instance of RestoreProtectedResourceV2. 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 RestoreProtectedResourceV2; /** * -(Required) The external identifier of the cluster on which the entity has valid restorable time ranges. The restored entity will be created on the same cluster. */ readonly clusterExtId: pulumi.Output; /** * -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource. */ readonly extId: pulumi.Output; /** * -(Optional) UTC date and time in ISO 8601 format representing the time from when the state of the entity should be restored. This needs to be a valid time within the restorable time range(s) for the protected resource. * * * See detailed information in [Nutanix Restore Protected Resource v4](https://developers.nutanix.com/api-reference?namespace=dataprotection&version=v4.3#tag/ProtectedResources/operation/restoreProtectedResource). */ readonly restoreTime: pulumi.Output; /** * Create a RestoreProtectedResourceV2 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: RestoreProtectedResourceV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RestoreProtectedResourceV2 resources. */ export interface RestoreProtectedResourceV2State { /** * -(Required) The external identifier of the cluster on which the entity has valid restorable time ranges. The restored entity will be created on the same cluster. */ clusterExtId?: pulumi.Input; /** * -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource. */ extId?: pulumi.Input; /** * -(Optional) UTC date and time in ISO 8601 format representing the time from when the state of the entity should be restored. This needs to be a valid time within the restorable time range(s) for the protected resource. * * * See detailed information in [Nutanix Restore Protected Resource v4](https://developers.nutanix.com/api-reference?namespace=dataprotection&version=v4.3#tag/ProtectedResources/operation/restoreProtectedResource). */ restoreTime?: pulumi.Input; } /** * The set of arguments for constructing a RestoreProtectedResourceV2 resource. */ export interface RestoreProtectedResourceV2Args { /** * -(Required) The external identifier of the cluster on which the entity has valid restorable time ranges. The restored entity will be created on the same cluster. */ clusterExtId: pulumi.Input; /** * -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource. */ extId: pulumi.Input; /** * -(Optional) UTC date and time in ISO 8601 format representing the time from when the state of the entity should be restored. This needs to be a valid time within the restorable time range(s) for the protected resource. * * * See detailed information in [Nutanix Restore Protected Resource v4](https://developers.nutanix.com/api-reference?namespace=dataprotection&version=v4.3#tag/ProtectedResources/operation/restoreProtectedResource). */ restoreTime?: pulumi.Input; } //# sourceMappingURL=restoreProtectedResourceV2.d.ts.map