@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.45 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The operation to get the restore point.
*
* Uses Azure REST API version 2024-11-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 function getRestorePoint(args: GetRestorePointArgs, opts?: pulumi.InvokeOptions): Promise<GetRestorePointResult>;
export interface GetRestorePointArgs {
/**
* The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.
*/
expand?: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the restore point collection.
*/
restorePointCollectionName: string;
/**
* The name of the restore point.
*/
restorePointName: string;
}
/**
* Restore Point details.
*/
export interface GetRestorePointResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: 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?: string;
/**
* 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?: outputs.compute.ApiEntityReferenceResponse[];
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The restore point instance view.
*/
readonly instanceView: outputs.compute.RestorePointInstanceViewResponse;
/**
* The name of the resource
*/
readonly name: string;
/**
* Gets the provisioning state of the restore point.
*/
readonly provisioningState: string;
/**
* Gets the details of the VM captured at the time of the restore point creation.
*/
readonly sourceMetadata?: outputs.compute.RestorePointSourceMetadataResponse;
/**
* Resource Id of the source restore point from which a copy needs to be created.
*/
readonly sourceRestorePoint?: outputs.compute.ApiEntityReferenceResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.compute.SystemDataResponse;
/**
* Gets the creation time of the restore point.
*/
readonly timeCreated?: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* The operation to get the restore point.
*
* Uses Azure REST API version 2024-11-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 function getRestorePointOutput(args: GetRestorePointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRestorePointResult>;
export interface GetRestorePointOutputArgs {
/**
* The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.
*/
expand?: pulumi.Input<string>;
/**
* 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>;
}