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

Sql Pool Restore Points - Get

获取还原点。

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

URI 参数

名称 必需 类型 说明
resourceGroupName
path True

string

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

restorePointName
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

RestorePoint

已成功返回还原点。

Other Status Codes

错误响应: ***

  • 400 FeatureDisabledOnSelectedEdition - 用户尝试使用在当前数据库版本上禁用的功能。

  • 400 BackupNotAllowedOnDeactivatedDatabase - 无法在已停用的数据库上创建还原点。

  • 400 RestorePointLimitReached - 无法创建还原点,因为数据库将超出允许的还原点配额。

  • 400 RestorePointAttemptToDeleteSystemBackup - 无法删除系统还原点。

  • 404 DatabaseRestorePointNotFound - 找不到数据库还原点。

  • 404 SubscriptionDoesNotHaveServer - 找不到请求的服务器

  • 404 DatabaseDoesNotExist - 用户指定了此服务器实例上不存在的数据库名称。

  • 408 DatabaseRestorePointTimedOut - 创建数据库还原点失败。

示例

Gets a Sql pool restore point.

Sample Request

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

Sample Response

{
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testws/sqlPools/testpool/restorePoints/131546477590000000",
  "name": "131546477590000000",
  "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints",
  "location": "japaneast",
  "properties": {
    "restorePointType": "DISCRETE",
    "restorePointCreationDate": "2017-03-10T08:00:00.000Z",
    "restorePointLabel": "mylabel"
  }
}

定义

名称 说明
RestorePoint

数据库还原点。

RestorePointType

还原点的类型

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”

RestorePointType

还原点的类型

名称 类型 说明
CONTINUOUS

string

DISCRETE

string