@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Restore Point details.
*
* Uses Azure REST API version 2024-11-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01.
*
* Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native compute [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class RestorePoint extends pulumi.CustomResource {
/**
* Get an existing RestorePoint 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 opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RestorePoint;
/**
* Returns true if the given object is an instance of RestorePoint. 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 RestorePoint;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.
*/
readonly consistencyMode: pulumi.Output<string | undefined>;
/**
* List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.
*/
readonly excludeDisks: pulumi.Output<outputs.compute.ApiEntityReferenceResponse[] | undefined>;
/**
* The restore point instance view.
*/
readonly instanceView: pulumi.Output<outputs.compute.RestorePointInstanceViewResponse>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* Gets the provisioning state of the restore point.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Gets the details of the VM captured at the time of the restore point creation.
*/
readonly sourceMetadata: pulumi.Output<outputs.compute.RestorePointSourceMetadataResponse | undefined>;
/**
* Resource Id of the source restore point from which a copy needs to be created.
*/
readonly sourceRestorePoint: pulumi.Output<outputs.compute.ApiEntityReferenceResponse | undefined>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.compute.SystemDataResponse>;
/**
* Gets the creation time of the restore point.
*/
readonly timeCreated: pulumi.Output<string | undefined>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a RestorePoint 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: RestorePointArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a RestorePoint resource.
*/
export interface RestorePointArgs {
/**
* ConsistencyMode of the RestorePoint. Can be specified in the input while creating a restore point. For now, only CrashConsistent is accepted as a valid input. Please refer to https://aka.ms/RestorePoints for more details.
*/
consistencyMode?: pulumi.Input<string | enums.compute.ConsistencyModeTypes>;
/**
* List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.
*/
excludeDisks?: pulumi.Input<pulumi.Input<inputs.compute.ApiEntityReferenceArgs>[]>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the restore point collection.
*/
restorePointCollectionName: pulumi.Input<string>;
/**
* The name of the restore point.
*/
restorePointName?: pulumi.Input<string>;
/**
* Gets the details of the VM captured at the time of the restore point creation.
*/
sourceMetadata?: pulumi.Input<inputs.compute.RestorePointSourceMetadataArgs>;
/**
* Resource Id of the source restore point from which a copy needs to be created.
*/
sourceRestorePoint?: pulumi.Input<inputs.compute.ApiEntityReferenceArgs>;
/**
* Gets the creation time of the restore point.
*/
timeCreated?: pulumi.Input<string>;
}