Skip to main content

sql_pool_operations

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

Overview

Namesql_pool_operations
TypeResource
Idazure.synapse.sql_pool_operations

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.
databaseNamestringThe name of the Sql pool the operation is being performed on.
descriptionstringThe operation description.
errorCodeintegerThe operation error code.
errorDescriptionstringThe operation error description.
errorSeverityintegerThe operation error severity.
estimatedCompletionTimestring (date-time)The estimated completion time of the operation.
isCancellablebooleanWhether the operation can be cancelled.
isUserErrorbooleanWhether or not the error is a user error.
operationstringThe name of operation.
operationFriendlyNamestringThe friendly name of operation.
percentCompleteintegerThe percentage of the operation completed.
serverNamestringThe name of the server.
startTimestring (date-time)The operation start time.
statestringThe operation state. Known values are: "Pending", "InProgress", "Succeeded", "Failed", "CancelInProgress", and "Cancelled".
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
listselectresource_group_name, workspace_name, sql_pool_name, subscription_idGets 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.

NameDatatypeDescription
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
sql_pool_namestringSQL pool name. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

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
;