Skip to main content

replication_protectable_items

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

Overview

Namereplication_protectable_items
TypeResource
Idazure.recovery_services_site_recovery.replication_protectable_items

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.
customDetailsobjectThe Replication provider custom settings.
friendlyNamestringThe name.
locationstringResource Location.
protectionReadinessErrorsarrayThe Current protection readiness errors.
protectionStatusstringThe protection status.
recoveryServicesProviderIdstringThe recovery provider ARM Id.
replicationProtectedItemIdstringThe ARM resource of protected items.
supportedReplicationProvidersarrayThe list of replication providers supported for the protectable item.
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, protectable_item_name, subscription_idGets the details of a protectable item. The operation to get the details of a protectable item.
list_by_replication_protection_containersselectresource_group_name, resource_name, fabric_name, protection_container_name, subscription_id$filter, $take, $skipTokenGets the list of protectable items. Lists the protectable items in a protection container.

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.
protectable_item_namestringProtectable item 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
$filterstringOData filter options. Default value is None.
$skipTokenstringskipToken OData query parameter. Default value is None.
$takestringtake OData query parameter. Default value is None.

SELECT examples

Gets the details of a protectable item. The operation to get the details of a protectable item.

SELECT
id,
name,
customDetails,
friendlyName,
location,
protectionReadinessErrors,
protectionStatus,
recoveryServicesProviderId,
replicationProtectedItemId,
supportedReplicationProviders,
systemData,
type
FROM azure.recovery_services_site_recovery.replication_protectable_items
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 protectable_item_name = '{{ protectable_item_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;