elastic_pool_operations
Creates, updates, deletes, gets or lists an elastic_pool_operations resource.
Overview
| Name | elastic_pool_operations |
| Type | Resource |
| Id | azure.sql.elastic_pool_operations |
Fields
The following fields are returned by SELECT queries:
- list_by_elastic_pool
The request for getting elastic pool operations has been executed successfully.
| Name | Datatype | Description |
|---|---|---|
properties | object | Resource properties. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_elastic_pool | select | resourceGroupName, serverName, elasticPoolName, subscriptionId | Gets a list of operations performed on the elastic pool. | |
cancel | exec | resourceGroupName, serverName, elasticPoolName, operationId, subscriptionId | Cancels the asynchronous operation on the elastic 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 |
|---|---|---|
elasticPoolName | string | |
operationId | string (uuid) | The operation identifier. |
resourceGroupName | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
serverName | string | The name of the server. |
subscriptionId | string | The subscription ID that identifies an Azure subscription. |
SELECT examples
- list_by_elastic_pool
Gets a list of operations performed on the elastic pool.
SELECT
properties
FROM azure.sql.elastic_pool_operations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
AND elasticPoolName = '{{ elasticPoolName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Lifecycle Methods
- cancel
Cancels the asynchronous operation on the elastic pool.
EXEC azure.sql.elastic_pool_operations.cancel
@resourceGroupName='{{ resourceGroupName }}' --required,
@serverName='{{ serverName }}' --required,
@elasticPoolName='{{ elasticPoolName }}' --required,
@operationId='{{ operationId }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
;