Sql Pool Restore Points - List

Get SQL pool backup information

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

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

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

sqlPoolName
path True

string

SQL pool name

subscriptionId
path True

string

The ID of the target subscription.

workspaceName
path True

string

The name of the workspace.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

RestorePointListResult

OK

Other Status Codes

ErrorResponse

Examples

Get a list of restore points of a SQL Analytics pool

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints?api-version=2021-06-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131546477590000000",
      "name": "131546477590000000",
      "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints",
      "location": "japaneast",
      "properties": {
        "restorePointType": "DISCRETE",
        "restorePointCreationDate": "2017-03-10T08:00:00.000Z",
        "restorePointLabel": "mylabel1"
      }
    },
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131553636140000000",
      "name": "131553636140000000",
      "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints",
      "location": "japaneast",
      "properties": {
        "restorePointType": "DISCRETE",
        "restorePointCreationDate": "2017-11-17T03:40:14Z",
        "restorePointLabel": "mylabel2"
      }
    },
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131553619750000000",
      "name": "131553619750000000",
      "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints",
      "location": "japaneast",
      "properties": {
        "restorePointType": "DISCRETE",
        "restorePointCreationDate": "2017-11-17T03:12:55Z"
      }
    }
  ]
}

Definitions

Name Description
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

RestorePoint

Database restore points.

RestorePointListResult

A list of long term retention backups.

RestorePointType

The type of restore point

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

RestorePoint

Database restore points.

Name Type Description
id

string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

Resource location.

name

string

The name of the resource

properties.earliestRestoreDate

string

The earliest time to which this database can be restored

properties.restorePointCreationDate

string

The time the backup was taken

properties.restorePointLabel

string

The label of restore point for backup request by user

properties.restorePointType

RestorePointType

The type of restore point

type

string

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

RestorePointListResult

A list of long term retention backups.

Name Type Description
nextLink

string

Link to retrieve next page of results.

value

RestorePoint[]

Array of results.

RestorePointType

The type of restore point

Name Type Description
CONTINUOUS

string

DISCRETE

string