Skip to main content

migration_recovery_points

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

Overview

Namemigration_recovery_points
TypeResource
Idazure.recovery_services_site_recovery.migration_recovery_points

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
locationstringResource Location.
recoveryPointTimestring (date-time)The recovery point time.
recoveryPointTypestringThe recovery point type. Known values are: "NotSpecified", "ApplicationConsistent", and "CrashConsistent". (NotSpecified, ApplicationConsistent, CrashConsistent)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, resource_name, fabric_name, protection_container_name, migration_item_name, migration_recovery_point_name, subscription_idGets a recovery point for a migration item. Gets a recovery point for a migration item.
list_by_replication_migration_itemsselectresource_group_name, resource_name, fabric_name, protection_container_name, migration_item_name, subscription_idGets the recovery points for a migration item. Gets the recovery points for a migration 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
fabric_namestringFabric name. Required.
migration_item_namestringMigration item name. Required.
migration_recovery_point_namestringThe migration recovery point name. Required.
protection_container_namestringProtection container name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringThe name of the Vault. Required.
subscription_idstring

SELECT examples

Gets a recovery point for a migration item. Gets a recovery point for a migration item.

SELECT
id,
name,
location,
recoveryPointTime,
recoveryPointType,
systemData,
type
FROM azure.recovery_services_site_recovery.migration_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 migration_item_name = '{{ migration_item_name }}' -- required
AND migration_recovery_point_name = '{{ migration_recovery_point_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;