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

NameDatatypeDescription
idtextResource Id
nametextResource Name
custom_detailstextfield from the properties object
fabricNametextfield from the properties object
friendly_nametextfield from the properties object
locationtextResource Location
protectableItemNametextfield from the properties object
protectionContainerNametextfield from the properties object
protection_readiness_errorstextfield from the properties object
protection_statustextfield from the properties object
recovery_services_provider_idtextfield from the properties object
replication_protected_item_idtextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object
supported_replication_providerstextfield from the properties object
typetextResource Type

Methods

NameAccessible byRequired ParamsDescription
getSELECTfabricName, protectableItemName, protectionContainerName, resourceGroupName, resourceName, subscriptionIdThe operation to get the details of a protectable item.
list_by_replication_protection_containersSELECTfabricName, protectionContainerName, resourceGroupName, resourceName, subscriptionIdLists the protectable items in a protection container.

SELECT examples

Lists the protectable items in a protection container.

SELECT
id,
name,
custom_details,
fabricName,
friendly_name,
location,
protectableItemName,
protectionContainerName,
protection_readiness_errors,
protection_status,
recovery_services_provider_id,
replication_protected_item_id,
resourceGroupName,
resourceName,
subscriptionId,
supported_replication_providers,
type
FROM azure.recovery_services_site_recovery.vw_replication_protectable_items
WHERE fabricName = '{{ fabricName }}'
AND protectionContainerName = '{{ protectionContainerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';