restorable_dropped_sql_pools
Creates, updates, deletes, gets or lists a restorable_dropped_sql_pools resource.
Overview
| Name | restorable_dropped_sql_pools |
| Type | Resource |
| Id | azure.synapse.restorable_dropped_sql_pools |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_workspace
| Name | Datatype | Description |
|---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The properties of a restorable dropped Sql pool |
| Name | Datatype | Description |
|---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The properties of a restorable dropped Sql pool |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, workspaceName, restorableDroppedSqlPoolId | Gets a deleted sql pool that can be restored | |
list_by_workspace | select | subscriptionId, resourceGroupName, workspaceName | Gets 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.
| Name | Datatype | Description |
|---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
restorableDroppedSqlPoolId | string | The id of the deleted Sql Pool in the form of sqlPoolName,deletionTimeInFileTimeFormat |
subscriptionId | string | The ID of the target subscription. |
workspaceName | string | The name of the workspace. |
SELECT examples
- get
- list_by_workspace
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
;
Gets a list of deleted Sql pools 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
;