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
locationstringThe geo-location where the resource lives
propertiesobjectThe properties of a restorable dropped Sql pool

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, workspaceName, restorableDroppedSqlPoolIdGets a deleted sql pool that can be restored
list_by_workspaceselectsubscriptionId, resourceGroupName, workspaceNameGets 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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
restorableDroppedSqlPoolIdstringThe id of the deleted Sql Pool in the form of sqlPoolName,deletionTimeInFileTimeFormat
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

Gets a deleted sql pool that can be restored

SELECT
location,
properties
FROM azure.synapse.restorable_dropped_sql_pools
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND restorableDroppedSqlPoolId = '{{ restorableDroppedSqlPoolId }}' -- required
;