Elastic Pool Operations - List By Elastic Pool
Gets a list of operations performed on the elastic pool.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/operations?api-version=2021-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
elastic
|
path | True |
string |
|
resource
|
path | True |
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. |
server
|
path | True |
string |
The name of the server. |
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request for getting elastic pool operations has been executed successfully. |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
List the elastic pool management operations
Sample request
Sample response
{
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtestgroup/providers/Microsoft.Sql/servers/sqlcrudtestserver/elasticPools/testpool/operations/11111111-1111-1111-1111-111111111111",
"name": "11111111-1111-1111-1111-111111111111",
"type": "Microsoft.Sql/servers/elasticPools/operations",
"properties": {
"elasticPoolName": "testpool",
"operation": "UPDATE",
"operationFriendlyName": "UPDATE",
"percentComplete": 100,
"serverName": "sqlcrudtestserver",
"startTime": "2017-10-30T09:10:08.1Z",
"state": "COMPLETED"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtestgroup/providers/Microsoft.Sql/servers/sqlcrudtestserver/elasticPools/testpool/operations/55555555-5555-5555-5555-555555555555",
"name": "55555555-5555-5555-5555-555555555555",
"type": "Microsoft.Sql/servers/elasticPools/operations",
"properties": {
"elasticPoolName": "testpool",
"operation": "UPDATE",
"operationFriendlyName": "UPDATE",
"percentComplete": 0,
"serverName": "sqlcrudtestserver",
"startTime": "2017-10-30T10:10:08.1Z",
"state": "IN_PROGRESS"
}
}
]
}
Definitions
Name | Description |
---|---|
Elastic |
A elastic pool operation. |
Elastic |
The response to a list elastic pool operations request |
ElasticPoolOperation
A elastic pool operation.
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
name |
string |
Resource name. |
properties.description |
string |
The operation description. |
properties.elasticPoolName |
string |
The name of the elastic pool the operation is being performed on. |
properties.errorCode |
integer |
The operation error code. |
properties.errorDescription |
string |
The operation error description. |
properties.errorSeverity |
integer |
The operation error severity. |
properties.estimatedCompletionTime |
string |
The estimated completion time of the operation. |
properties.isCancellable |
boolean |
Whether the operation can be cancelled. |
properties.isUserError |
boolean |
Whether or not the error is a user error. |
properties.operation |
string |
The name of operation. |
properties.operationFriendlyName |
string |
The friendly name of operation. |
properties.percentComplete |
integer |
The percentage of the operation completed. |
properties.serverName |
string |
The name of the server. |
properties.startTime |
string |
The operation start time. |
properties.state |
string |
The operation state. |
type |
string |
Resource type. |
ElasticPoolOperationListResult
The response to a list elastic pool operations request
Name | Type | Description |
---|---|---|
nextLink |
string |
Link to retrieve next page of results. |
value |
Array of results. |