你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Sql Pool Restore Points - List

获取 SQL 池备份信息

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

URI 参数

名称 必需 类型 说明
resourceGroupName
path True

string

资源组的名称。 此名称不区分大小写。

sqlPoolName
path True

string

SQL 池名称

subscriptionId
path True

string

目标订阅的 ID。

workspaceName
path True

string

工作区的名称。

api-version
query True

string

要用于此操作的 API 版本。

响应

名称 类型 说明
200 OK

RestorePointListResult

确定

Other Status Codes

ErrorResponse

示例

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"
      }
    }
  ]
}

定义

名称 说明
ErrorAdditionalInfo

资源管理错误附加信息。

ErrorDetail

错误详细信息。

ErrorResponse

错误响应

RestorePoint

数据库还原点。

RestorePointListResult

长期保留备份的列表。

RestorePointType

还原点的类型

ErrorAdditionalInfo

资源管理错误附加信息。

名称 类型 说明
info

object

其他信息。

type

string

其他信息类型。

ErrorDetail

错误详细信息。

名称 类型 说明
additionalInfo

ErrorAdditionalInfo[]

错误附加信息。

code

string

错误代码。

details

ErrorDetail[]

错误详细信息。

message

string

错误消息。

target

string

错误目标。

ErrorResponse

错误响应

名称 类型 说明
error

ErrorDetail

错误对象。

RestorePoint

数据库还原点。

名称 类型 说明
id

string

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

资源位置。

name

string

资源的名称

properties.earliestRestoreDate

string

此数据库可以还原到的最早时间

properties.restorePointCreationDate

string

备份的时间

properties.restorePointLabel

string

用户备份请求的还原点标签

properties.restorePointType

RestorePointType

还原点的类型

type

string

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

RestorePointListResult

长期保留备份的列表。

名称 类型 说明
nextLink

string

用于检索下一页结果的链接。

value

RestorePoint[]

结果数组。

RestorePointType

还原点的类型

名称 类型 说明
CONTINUOUS

string

DISCRETE

string