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

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
propertiesobjectProtectionContainerResource 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
listselectsubscriptionId, resourceGroupName, vaultNameapi-version, $filterLists the soft deleted containers 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
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 soft deleted containers registered to Recovery Services Vault.

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