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

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectProtectable Container Class.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
listSELECTfabricName, resourceGroupName, subscriptionId, vaultNameLists the containers that can be registered to Recovery Services Vault.

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 fabricName = '{{ fabricName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';