Skip to main content

deleted_protection_containers

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

Overview

Namedeleted_protection_containers
TypeResource
Idazure.recovery_services_backup.deleted_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 soft deleted containers registered to Recovery Services Vault.

SELECT examples

Lists the soft deleted containers registered to Recovery Services Vault.

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