sql_pool_operations
Creates, updates, deletes, gets or lists a sql_pool_operations resource.
Overview
| Name | sql_pool_operations |
| Type | Resource |
| Id | azure.synapse.sql_pool_operations |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
databaseName | string | The name of the Sql pool the operation is being performed on. |
description | string | The operation description. |
errorCode | integer | The operation error code. |
errorDescription | string | The operation error description. |
errorSeverity | integer | The operation error severity. |
estimatedCompletionTime | string (date-time) | The estimated completion time of the operation. |
isCancellable | boolean | Whether the operation can be cancelled. |
isUserError | boolean | Whether or not the error is a user error. |
operation | string | The name of operation. |
operationFriendlyName | string | The friendly name of operation. |
percentComplete | integer | The percentage of the operation completed. |
serverName | string | The name of the server. |
startTime | string (date-time) | The operation start time. |
state | string | The operation state. Known values are: "Pending", "InProgress", "Succeeded", "Failed", "CancelInProgress", and "Cancelled". |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resource_group_name, workspace_name, sql_pool_name, subscription_id | Gets a list of operations performed on the SQL pool. Gets a list of operations performed on the SQL pool. |
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 |
|---|---|---|
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
sql_pool_name | string | SQL pool name. Required. |
subscription_id | string | |
workspace_name | string | The name of the workspace. Required. |
SELECT examples
- list
Gets a list of operations performed on the SQL pool. Gets a list of operations performed on the SQL pool.
SELECT
id,
name,
databaseName,
description,
errorCode,
errorDescription,
errorSeverity,
estimatedCompletionTime,
isCancellable,
isUserError,
operation,
operationFriendlyName,
percentComplete,
serverName,
startTime,
state,
type
FROM azure.synapse.sql_pool_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND sql_pool_name = '{{ sql_pool_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;