Share via


WorkspaceManagedSqlServerRecoverableSqlPools 2 - List

Get list of recoverable sql pools for the server.
Get list of recoverable sql pools for workspace managed sql server.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlPools?api-version=2021-06-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

minLength: 1

The ID of the target subscription.

workspaceName
path True

string

The name of the workspace.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

RecoverableSqlPoolListResult

OK

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.

  • 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.

  • 500 InternalServerError - Something went wrong.

Examples

List recoverable sql pools for the server

Sample request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/recoverableSqlPools?api-version=2021-06-01

Sample response

{
  "value": [
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/recoverableSqlpools/recoverableSqlpools-1235",
      "name": "recoverableSqlpools-1235",
      "type": "Microsoft.Synapse/workspaces/recoverableSqlpools",
      "properties": {
        "edition": "Standard",
        "serviceLevelObjective": "S0",
        "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z",
        "elasticPoolName": null
      }
    },
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/recoverableSqlpools/recoverableSqlpools-9231",
      "name": "recoverableSqlpools-9231",
      "type": "Microsoft.Synapse/workspaces/recoverableSqlpools",
      "properties": {
        "edition": "Premium",
        "serviceLevelObjective": "P1",
        "lastAvailableBackupDate": "2017-05-26T03:20:31.78Z",
        "elasticPoolName": null
      }
    },
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/recoverableSqlpools/recoverableSqlpools-0342",
      "name": "recoverableSqlpools-0342",
      "type": "Microsoft.Synapse/workspaces/recoverableSqlpools",
      "properties": {
        "edition": "Basic",
        "serviceLevelObjective": "Basic",
        "lastAvailableBackupDate": "2017-05-24T02:06:18.78Z",
        "elasticPoolName": null
      }
    }
  ]
}

Definitions

Name Description
RecoverableSqlPool

A recoverable sql pool

RecoverableSqlPoolListResult

The response to a list recoverable sql pools request

RecoverableSqlPool

A recoverable sql pool

Name Type 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

properties.edition

string

The edition of the database

properties.elasticPoolName

string

The elastic pool name of the database

properties.lastAvailableBackupDate

string (date-time)

The last available backup date of the database (ISO8601 format)

properties.serviceLevelObjective

string

The service level objective name of the database

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

RecoverableSqlPoolListResult

The response to a list recoverable sql pools request

Name Type Description
nextLink

string

Link to retrieve next page of results.

value

RecoverableSqlPool[]

A list of recoverable sql pool