recovery_points
Creates, updates, deletes, gets or lists a recovery_points resource.
Overview
| Name | recovery_points |
| Type | Resource |
| Id | azure.recovery_services_site_recovery.recovery_points |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_replication_protected_items
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
location | string | Resource Location. |
providerSpecificDetails | object | The provider specific details for the recovery point. |
recoveryPointTime | string (date-time) | The recovery point time. |
recoveryPointType | string | The recovery point type: ApplicationConsistent, CrashConsistent. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
location | string | Resource Location. |
providerSpecificDetails | object | The provider specific details for the recovery point. |
recoveryPointTime | string (date-time) | The recovery point time. |
recoveryPointType | string | The recovery point type: ApplicationConsistent, CrashConsistent. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, resource_name, fabric_name, protection_container_name, replicated_protected_item_name, recovery_point_name, subscription_id | Gets a recovery point. Get the details of specified recovery point. | |
list_by_replication_protected_items | select | resource_group_name, resource_name, fabric_name, protection_container_name, replicated_protected_item_name, subscription_id | Gets the list of recovery points for a replication protected item. Lists the available recovery points for a replication 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.
| Name | Datatype | Description |
|---|---|---|
fabric_name | string | Fabric name. Required. |
protection_container_name | string | Protection container name. Required. |
recovery_point_name | string | The recovery point name. Required. |
replicated_protected_item_name | string | Replication protected item name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
resource_name | string | The name of the Vault. Required. |
subscription_id | string |
SELECT examples
- get
- list_by_replication_protected_items
Gets a recovery point. Get the details of specified recovery point.
SELECT
id,
name,
location,
providerSpecificDetails,
recoveryPointTime,
recoveryPointType,
systemData,
type
FROM azure.recovery_services_site_recovery.recovery_points
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND fabric_name = '{{ fabric_name }}' -- required
AND protection_container_name = '{{ protection_container_name }}' -- required
AND replicated_protected_item_name = '{{ replicated_protected_item_name }}' -- required
AND recovery_point_name = '{{ recovery_point_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Gets the list of recovery points for a replication protected item. Lists the available recovery points for a replication protected item.
SELECT
id,
name,
location,
providerSpecificDetails,
recoveryPointTime,
recoveryPointType,
systemData,
type
FROM azure.recovery_services_site_recovery.recovery_points
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND fabric_name = '{{ fabric_name }}' -- required
AND protection_container_name = '{{ protection_container_name }}' -- required
AND replicated_protected_item_name = '{{ replicated_protected_item_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;