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 |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
|
sql
|
path | True |
string |
SQL pool name |
|
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
|
workspace
|
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 |
OK |
|
| Other Status Codes |
Examples
Get a list of restore points of a SQL Analytics pool
Sample request
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 |
|---|---|
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Restore |
Database restore points. |
|
Restore |
A list of long term retention backups. |
|
Restore |
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 |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
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 (date-time) |
The earliest time to which this database can be restored |
| properties.restorePointCreationDate |
string (date-time) |
The time the backup was taken |
| properties.restorePointLabel |
string |
The label of restore point for backup request by user |
| properties.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 |
Array of results. |
RestorePointType
The type of restore point
| Value | Description |
|---|---|
| CONTINUOUS | |
| DISCRETE |