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
idstringResource Id
namestringResource Name
locationstringResource Location
propertiesobjectThe custom data.
typestringResource Type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceName, resourceGroupName, subscriptionId, fabricName, protectionContainerName, protectableItemNameapi-versionThe operation to get the details of a protectable item.
list_by_replication_protection_containersselectresourceName, resourceGroupName, subscriptionId, fabricName, protectionContainerNameapi-version, $filter, $take, $skipTokenLists 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
fabricNamestringFabric name.
protectableItemNamestringProtectable item name.
protectionContainerNamestringProtection container name.
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
resourceNamestringThe name of the recovery services vault.
subscriptionIdstringThe subscription Id.
$filterstringOData filter options.
$skipTokenstringskipToken OData query parameter.
$takestringtake OData query parameter.
api-versionstringClient Api Version.

SELECT examples

The operation to get the details of a protectable item.

SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.replication_protectable_items
WHERE resourceName = '{{ resourceName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND fabricName = '{{ fabricName }}' -- required
AND protectionContainerName = '{{ protectionContainerName }}' -- required
AND protectableItemName = '{{ protectableItemName }}' -- required
AND api-version = '{{ api-version }}'
;