Skip to main content

restorable_dropped_sql_pools

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

Overview

Namerestorable_dropped_sql_pools
TypeResource
Idazure.synapse.restorable_dropped_sql_pools

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.
creationDatestring (date-time)The creation date of the database (ISO8601 format).
databaseNamestringThe name of the database.
deletionDatestring (date-time)The deletion date of the database (ISO8601 format).
earliestRestoreDatestring (date-time)The earliest restore date of the database (ISO8601 format).
editionstringThe edition of the database.
elasticPoolNamestringThe elastic pool name of the database.
locationstringThe geo-location where the resource lives.
maxSizeBytesstringThe max size in bytes of the database.
serviceLevelObjectivestringThe service level objective name of the database.
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
getselectresource_group_name, workspace_name, restorable_dropped_sql_pool_id, subscription_idGets a deleted sql pool that can be restored.
list_by_workspaceselectresource_group_name, workspace_name, subscription_idGets a list of deleted Sql pools that can be restored.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
restorable_dropped_sql_pool_idstringThe id of the deleted Sql Pool in the form of sqlPoolName,deletionTimeInFileTimeFormat. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

Gets a deleted sql pool that can be restored.

SELECT
id,
name,
creationDate,
databaseName,
deletionDate,
earliestRestoreDate,
edition,
elasticPoolName,
location,
maxSizeBytes,
serviceLevelObjective,
type
FROM azure.synapse.restorable_dropped_sql_pools
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND restorable_dropped_sql_pool_id = '{{ restorable_dropped_sql_pool_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;