recovery_points
Creates, updates, deletes, gets or lists a recovery_points
resource.
Overview
Name | recovery_points |
Type | Resource |
Id | azure.recovery_services_backup.recovery_points |
Fields
- vw_recovery_points
- recovery_points
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the resource |
containerName | text | field from the properties object |
fabricName | text | field from the properties object |
object_type | text | field from the properties object |
protectedItemName | text | field from the properties object |
recoveryPointId | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
vaultName | text | field from the properties object |
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 |
properties | object | Base class for backup copies. Workload-specific backup copies are derived from this class. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | containerName, fabricName, protectedItemName, recoveryPointId, resourceGroupName, subscriptionId, vaultName | Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous operation. |
To know the status of the operation, call the GetProtectedItemOperationResult API. | |||
list | SELECT | containerName, fabricName, protectedItemName, resourceGroupName, subscriptionId, vaultName | Lists the backup copies for the backed up item. |
SELECT
examples
Lists the backup copies for the backed up item.
- vw_recovery_points
- recovery_points
SELECT
id,
name,
containerName,
fabricName,
object_type,
protectedItemName,
recoveryPointId,
resourceGroupName,
subscriptionId,
type,
vaultName
FROM azure.recovery_services_backup.vw_recovery_points
WHERE containerName = '{{ containerName }}'
AND fabricName = '{{ fabricName }}'
AND protectedItemName = '{{ protectedItemName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';
SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.recovery_points
WHERE containerName = '{{ containerName }}'
AND fabricName = '{{ fabricName }}'
AND protectedItemName = '{{ protectedItemName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';