Skip to main content

recovery_point

Creates, updates, deletes, gets or lists a recovery_point resource.

Overview

Namerecovery_point
TypeResource
Idazure.recovery_services_data_replication.recovery_point

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
customPropertiesobjectRecovery point model custom properties. Required.
provisioningStatestringGets or sets the provisioning state of the recovery point item. Known values are: "Canceled", "Creating", "Deleting", "Deleted", "Failed", "Succeeded", and "Updating". (Canceled, Creating, Deleting, Deleted, Failed, Succeeded, Updating)
recoveryPointTimestring (date-time)Gets or sets the recovery point time. Required.
recoveryPointTypestringGets or sets the recovery point type. Required. Known values are: "ApplicationConsistent" and "CrashConsistent". (ApplicationConsistent, CrashConsistent)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, vault_name, protected_item_name, recovery_point_name, subscription_idGets the details of the recovery point of a protected item.
listselectresource_group_name, vault_name, protected_item_name, subscription_idGets the list of recovery points of the given protected item.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
protected_item_namestringThe protected item name. Required.
recovery_point_namestringThe recovery point name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vault_namestringThe vault name. Required.

SELECT examples

Gets the details of the recovery point of a protected item.

SELECT
id,
name,
customProperties,
provisioningState,
recoveryPointTime,
recoveryPointType,
systemData,
type
FROM azure.recovery_services_data_replication.recovery_point
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND vault_name = '{{ vault_name }}' -- required
AND protected_item_name = '{{ protected_item_name }}' -- required
AND recovery_point_name = '{{ recovery_point_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;