replication_protectable_items
Creates, updates, deletes, gets or lists a replication_protectable_items
resource.
Overview
Name | replication_protectable_items |
Type | Resource |
Id | azure.recovery_services_site_recovery.replication_protectable_items |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_replication_protection_containers
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | The custom data. |
type | string | Resource Type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | The custom data. |
type | string | Resource Type |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceName , resourceGroupName , subscriptionId , fabricName , protectionContainerName , protectableItemName | api-version | The operation to get the details of a protectable item. |
list_by_replication_protection_containers | select | resourceName , resourceGroupName , subscriptionId , fabricName , protectionContainerName | api-version , $filter , $take , $skipToken | 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.
Name | Datatype | Description |
---|---|---|
fabricName | string | Fabric name. |
protectableItemName | string | Protectable item name. |
protectionContainerName | string | Protection container name. |
resourceGroupName | string | The name of the resource group where the recovery services vault is present. |
resourceName | string | The name of the recovery services vault. |
subscriptionId | string | The subscription Id. |
$filter | string | OData filter options. |
$skipToken | string | skipToken OData query parameter. |
$take | string | take OData query parameter. |
api-version | string | Client Api Version. |
SELECT
examples
- get
- list_by_replication_protection_containers
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 }}'
;
Lists the protectable items in a protection container.
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 api-version = '{{ api-version }}'
AND $filter = '{{ $filter }}'
AND $take = '{{ $take }}'
AND $skipToken = '{{ $skipToken }}'
;