Skip to main content

backup_protectable_items

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

Overview

Namebackup_protectable_items
TypeResource
Idazure.recovery_services_backup.backup_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.
backupManagementTypestringType of backup management to backup an item.
eTagstringOptional ETag.
friendlyNamestringFriendly name of the backup item.
locationstringResource location.
protectableItemTypestringType of the backup item. Required. Default value is None.
protectionStatestringState of the back up item. Known values are: "Invalid", "NotProtected", "Protecting", "Protected", and "ProtectionFailed". (Invalid, NotProtected, Protecting, Protected, ProtectionFailed)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
workloadTypestringType of workload for the backup management.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectvault_name, resource_group_name, subscription_id$filter, $skipTokenProvides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vault_namestringThe name of the recovery services vault. Required.
$filterstringOData filter options. Default value is None.
$skipTokenstringskipToken Filter. Default value is None.

SELECT examples

Provides a pageable list of protectable objects within your subscription according to the query filter and the pagination parameters.

SELECT
id,
name,
backupManagementType,
eTag,
friendlyName,
location,
protectableItemType,
protectionState,
systemData,
tags,
type,
workloadType
FROM azure.recovery_services_backup.backup_protectable_items
WHERE vault_name = '{{ vault_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND $skipToken = '{{ $skipToken }}'
;