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
elasticPoolName
path True

string

resourceGroupName
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.

serverName
path True

string

The name of the server.

subscriptionId
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

ElasticPoolOperationListResult

The request for getting elastic pool operations has been executed successfully.

Other Status Codes

*** Error Responses: ***

  • 404 SubscriptionDoesNotHaveServer - The requested server was not found

  • 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.

  • 404 OperationIdNotFound - The operation with Id does not exist.

  • 404 OperationIdNotFound - The operation with Id does not exist.

  • 409 OperationCancelled - The operation has been cancelled by user.

  • 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.

  • 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.

  • 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.

  • 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.

  • 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.

Examples

List the elastic pool management operations

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtestgroup/providers/Microsoft.Sql/servers/sqlcrudtestserver/elasticPools/testpool/operations?api-version=2021-11-01

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
ElasticPoolOperation

A elastic pool operation.

ElasticPoolOperationListResult

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

ElasticPoolOperation[]

Array of results.