recovery_points
Creates, updates, deletes, gets or lists a recovery_points resource.
Overview
| Name | recovery_points |
| Type | Resource |
| Id | azure.data_replication.recovery_points |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the Id of the resource. |
name | string | Gets or sets the name of the resource. |
properties | object | Recovery point model properties. |
systemData | object | System data required to be defined for Azure resources. |
type | string | Gets or sets the type of the resource. |
| Name | Datatype | Description |
|---|---|---|
id | string | Gets or sets the Id of the resource. |
name | string | Gets or sets the name of the resource. |
properties | object | Recovery point model properties. |
systemData | object | System data required to be defined for Azure resources. |
type | string | Gets or sets the type of the resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, vaultName, protectedItemName, recoveryPointName | Gets the details of the recovery point of a protected item. | |
list | select | subscriptionId, resourceGroupName, vaultName, protectedItemName | Gets 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.
| Name | Datatype | Description |
|---|---|---|
protectedItemName | string | The protected item name. |
recoveryPointName | string | The recovery point name. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
vaultName | string | The vault name. |
SELECT examples
- get
- list
Gets the details of the recovery point of a protected item.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_replication.recovery_points
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vaultName = '{{ vaultName }}' -- required
AND protectedItemName = '{{ protectedItemName }}' -- required
AND recoveryPointName = '{{ recoveryPointName }}' -- required
;
Gets the list of recovery points of the given protected item.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_replication.recovery_points
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vaultName = '{{ vaultName }}' -- required
AND protectedItemName = '{{ protectedItemName }}' -- required
;