Skip to main content

protectable_containers

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

Overview

Nameprotectable_containers
TypeResource
Idazure.recovery_services_backup.protectable_containers

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
propertiesobjectProtectableContainerResource 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, subscriptionId, fabricNameapi-version, $filterLists the containers that can be registered to Recovery Services Vault.

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
fabricNamestring
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.
api-versionstringClient Api Version.

SELECT examples

Lists the containers that can be registered to Recovery Services Vault.

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