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
propertiesobjectWorkloadProtectableItemResource properties
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
listselectvaultName, resourceGroupName, subscriptionIdapi-version, $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
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
subscriptionIdstringThe subscription Id.
vaultNamestringThe name of the recovery services vault.
$filterstringOData filter options.
$skipTokenstringskipToken Filter.
api-versionstringClient Api Version.

SELECT examples

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

SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.backup_protectable_items
WHERE vaultName = '{{ vaultName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
AND $filter = '{{ $filter }}'
AND $skipToken = '{{ $skipToken }}'
;