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 | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | The recovery point properties. |
type | string | Resource Type |
| Name | Datatype | Description |
|---|---|---|
id | string | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | The recovery point properties. |
type | string | Resource Type |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resourceName, resourceGroupName, subscriptionId, fabricName, protectionContainerName, replicatedProtectedItemName, recoveryPointName | api-version | Get the details of specified recovery point. |
list_by_replication_protected_items | select | resourceName, resourceGroupName, subscriptionId, fabricName, protectionContainerName, replicatedProtectedItemName | api-version | 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 |
|---|---|---|
fabricName | string | The fabric name. |
protectionContainerName | string | The protection container name. |
recoveryPointName | string | The recovery point name. |
replicatedProtectedItemName | string | The replication protected item name. |
resourceGroupName | string | The name of the resource group where the recovery services vault is present. |
resourceName | string | The name of the recovery services vault. |
subscriptionId | string | The subscription Id. |
api-version | string | Client Api Version. |
SELECT examples
- get
- list_by_replication_protected_items
Get the details of specified recovery point.
SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.recovery_points
WHERE resourceName = '{{ resourceName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND protectionContainerName = '{{ protectionContainerName }}' -- required
AND replicatedProtectedItemName = '{{ replicatedProtectedItemName }}' -- required
AND recoveryPointName = '{{ recoveryPointName }}' -- required
AND api-version = '{{ api-version }}'
;
Lists the available recovery points for a replication protected item.
SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.recovery_points
WHERE resourceName = '{{ resourceName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND protectionContainerName = '{{ protectionContainerName }}' -- required
AND replicatedProtectedItemName = '{{ replicatedProtectedItemName }}' -- required
AND api-version = '{{ api-version }}'
;