Skip to main content

deleted_backup_vaults

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

Overview

Namedeleted_backup_vaults
TypeResource
Idazure.data_protection.deleted_backup_vaults

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.
bcdrSecurityLevelstringSecurity Level of Backup Vault. Known values are: "Poor", "Fair", "Good", "Excellent", and "NotSupported". (Poor, Fair, Good, Excellent, NotSupported)
featureSettingsobjectFeature Settings.
isVaultProtectedByResourceGuardbooleanIs vault protected by resource guard.
monitoringSettingsobjectMonitoring Settings.
originalBackupVaultIdstringResource Id of the original backup vault. Required.
originalBackupVaultNamestringResource name of the original backup vault. Required.
originalBackupVaultResourcePathstringResource path of the original backup vault. Required.
provisioningStatestringProvisioning state of the BackupVault resource. Known values are: "Failed", "Provisioning", "Succeeded", "Unknown", and "Updating". (Failed, Provisioning, Succeeded, Unknown, Updating)
replicatedRegionsarrayList of replicated regions for Backup Vault.
resourceDeletionInfoobjectDeletion info for the tracked resource (Backup Vault). Required.
resourceGuardOperationRequestsarrayResourceGuardOperationRequests on which LAC check will be performed.
resourceMoveDetailsobjectResource move details for backup vault.
resourceMoveStatestringResource move state for backup vault. Known values are: "Unknown", "InProgress", "PrepareFailed", "CommitFailed", "Failed", "PrepareTimedout", "CommitTimedout", "CriticalFailure", "PartialSuccess", and "MoveSucceeded". (Unknown, InProgress, PrepareFailed, CommitFailed, Failed, PrepareTimedout, CommitTimedout, CriticalFailure, PartialSuccess, MoveSucceeded)
secureScorestringSecure Score of Backup Vault. Known values are: "None", "Minimum", "Adequate", "Maximum", and "NotSupported". (None, Minimum, Adequate, Maximum, NotSupported)
securitySettingsobjectSecurity Settings.
storageSettingsarrayStorage Settings.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
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
getselectlocation, deleted_vault_name, subscription_idGets a deleted backup vault.
list_by_locationselectlocation, subscription_idLists deleted backup vaults by location.

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
deleted_vault_namestringThe name of the DeletedBackupVaultResource. Required.
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Gets a deleted backup vault.

SELECT
id,
name,
bcdrSecurityLevel,
featureSettings,
isVaultProtectedByResourceGuard,
monitoringSettings,
originalBackupVaultId,
originalBackupVaultName,
originalBackupVaultResourcePath,
provisioningState,
replicatedRegions,
resourceDeletionInfo,
resourceGuardOperationRequests,
resourceMoveDetails,
resourceMoveState,
secureScore,
securitySettings,
storageSettings,
systemData,
type
FROM azure.data_protection.deleted_backup_vaults
WHERE location = '{{ location }}' -- required
AND deleted_vault_name = '{{ deleted_vault_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;