Skip to main content

restorable_dropped_managed_databases

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

Overview

Namerestorable_dropped_managed_databases
TypeResource
Idazure.sql.restorable_dropped_managed_databases

Fields

NameDatatypeDescription
creation_datetextfield from the properties object
database_nametextfield from the properties object
deletion_datetextfield from the properties object
earliest_restore_datetextfield from the properties object
locationtextResource location.
managedInstanceNametextfield from the properties object
resourceGroupNametextfield from the properties object
restorableDroppedDatabaseIdtextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagedInstanceName, resourceGroupName, restorableDroppedDatabaseId, subscriptionIdGets a restorable dropped managed database.

SELECT examples

Gets a restorable dropped managed database.

SELECT
creation_date,
database_name,
deletion_date,
earliest_restore_date,
location,
managedInstanceName,
resourceGroupName,
restorableDroppedDatabaseId,
subscriptionId,
tags
FROM azure.sql.vw_restorable_dropped_managed_databases
WHERE managedInstanceName = '{{ managedInstanceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND restorableDroppedDatabaseId = '{{ restorableDroppedDatabaseId }}'
AND subscriptionId = '{{ subscriptionId }}';