Skip to main content

recovery_points

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

Overview

Namerecovery_points
TypeResource
Idazure.recovery_services_site_recovery.recovery_points

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id
namestringResource Name
locationstringResource Location
propertiesobjectThe recovery point properties.
typestringResource Type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceName, resourceGroupName, subscriptionId, fabricName, protectionContainerName, replicatedProtectedItemName, recoveryPointNameapi-versionGet the details of specified recovery point.
list_by_replication_protected_itemsselectresourceName, resourceGroupName, subscriptionId, fabricName, protectionContainerName, replicatedProtectedItemNameapi-versionLists 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.

NameDatatypeDescription
fabricNamestringThe fabric name.
protectionContainerNamestringThe protection container name.
recoveryPointNamestringThe recovery point name.
replicatedProtectedItemNamestringThe replication protected item name.
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
resourceNamestringThe name of the recovery services vault.
subscriptionIdstringThe subscription Id.
api-versionstringClient Api Version.

SELECT examples

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 }}'
;