Skip to main content

deleted_backup_instances

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

Overview

Namedeleted_backup_instances
TypeResource
Idazure.data_protection.deleted_backup_instances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource Id represents the complete path to the resource.
namestringResource name associated with the resource.
propertiesobjectDeletedBackupInstanceResource properties
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringResource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, vaultName, backupInstanceNameGets a deleted backup instance with name in a backup vault
listselectsubscriptionId, resourceGroupName, vaultNameGets deleted backup instances belonging to a backup vault
undeleteexecsubscriptionId, resourceGroupName, vaultName, backupInstanceName

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
backupInstanceNamestringThe name of the deleted backup instance
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
vaultNamestringThe name of the backup vault.

SELECT examples

Gets a deleted backup instance with name in a backup vault

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_protection.deleted_backup_instances
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vaultName = '{{ vaultName }}' -- required
AND backupInstanceName = '{{ backupInstanceName }}' -- required
;

Lifecycle Methods

OK

EXEC azure.data_protection.deleted_backup_instances.undelete 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@vaultName='{{ vaultName }}' --required,
@backupInstanceName='{{ backupInstanceName }}' --required
;