Skip to main content

backup_protection_containers

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

Overview

Namebackup_protection_containers
TypeResource
Idazure.recovery_services_backup.backup_protection_containers

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectBase class for container with backup items. Containers with specific workloads are derived from this class.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
listSELECTresourceGroupName, subscriptionId, vaultNameLists the containers registered to Recovery Services Vault.

SELECT examples

Lists the containers registered to Recovery Services Vault.

SELECT
id,
name,
properties,
type
FROM azure.recovery_services_backup.backup_protection_containers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';