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

Recovery Points - List

返回保管库中 DataSource 的恢复点列表。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints?api-version=2021-01-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints?api-version=2021-01-01&$filter={$filter}&$skipToken={$skipToken}

URI 参数

Name In Required Type Description
backupInstanceName
path True
  • string

备份实例的名称

resourceGroupName
path True
  • string

备份保管库所在的资源组的名称。

subscriptionId
path True
  • string

订阅 ID。

vaultName
path True
  • string

备份保管库的名称。

api-version
query True
  • string

客户端 API 版本。

$filter
query
  • string

OData 筛选器选项。

$skipToken
query
  • string

skipToken 筛选器。

响应

Name Type Description
200 OK

OK

Other Status Codes

描述操作失败原因的错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 模拟用户帐户。

示例

List Recovery Points in a Vault

Sample Request

GET https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/recoveryPoints?api-version=2021-01-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25",
      "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5e35",
      "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints",
      "properties": {
        "objectType": "AzureBackupDiscreteRecoveryPoint",
        "recoveryPointTime": "2019-03-01T13:00:00Z",
        "recoveryPointType": "Full",
        "friendlyName": "panbha4",
        "recoveryPointDataStoresDetails": [
          {
            "id": "0ff03512-b333-4509-a6c7-12164c8b1dce",
            "type": "Snapshot",
            "creationTime": "2019-03-01T13:00:00Z",
            "metaData": "123456"
          },
          {
            "id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1",
            "type": "BackupStorage",
            "creationTime": "2019-03-01T13:00:00Z",
            "metaData": "123456"
          }
        ]
      }
    },
    {
      "id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25",
      "name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25",
      "type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints",
      "properties": {
        "objectType": "AzureBackupDiscreteRecoveryPoint",
        "recoveryPointTime": "2019-03-01T13:00:00Z",
        "recoveryPointType": "Full",
        "friendlyName": "panbha4",
        "recoveryPointDataStoresDetails": [
          {
            "id": "808cfd30-722e-4bab-85f6-4a9d01ffc6f2",
            "type": "Snapshot",
            "creationTime": "2019-03-01T13:00:00Z",
            "metaData": "123456"
          },
          {
            "id": "798cfd30-722e-4bab-85f6-4a9d01ffc6f3",
            "type": "BackupStorage",
            "creationTime": "2019-03-01T13:00:00Z",
            "metaData": "123456"
          }
        ]
      }
    }
  ]
}

定义

AzureBackupDiscreteRecoveryPoint

AzureBackupDiscreteRecoveryPoint

AzureBackupRecoveryPointResource

AzureBackupRecoveryPointResource

AzureBackupRecoveryPointResourceList

AzureBackupRecoveryPointResourceList

CloudError

CloudError

createdByType

创建资源的标识的类型。

Error

资源管理错误响应。

ErrorAdditionalInfo

资源管理错误附加信息。

RecoveryPointDataStoreDetails

RecoveryPointDataStoreDetails

RehydrationStatus
systemData

与创建和上次修改资源相关的元数据。

AzureBackupDiscreteRecoveryPoint

AzureBackupDiscreteRecoveryPoint

Name Type Description
friendlyName
  • string
objectType string:
policyName
  • string
policyVersion
  • string
recoveryPointDataStoresDetails

RecoveryPointDataStoreDetails
RecoveryPoint 数据存储详细信息

recoveryPointId
  • string
recoveryPointTime
  • string
recoveryPointType
  • string
retentionTagName
  • string
retentionTagVersion
  • string

AzureBackupRecoveryPointResource

AzureBackupRecoveryPointResource

Name Type Description
id
  • string

资源 ID 表示资源的完整路径。

name
  • string

与资源关联的资源名称。

properties AzureBackupRecoveryPoint:

AzureBackupRecoveryPoint
AzureBackupRecoveryPointResource 属性

systemData

与创建和上次修改资源相关的元数据。

type
  • string

资源类型表示命名空间/ResourceType/ResourceType/...

AzureBackupRecoveryPointResourceList

AzureBackupRecoveryPointResourceList

Name Type Description
nextLink
  • string

用于提取下一页资源的 URI。 调用 ListNext () 提取下一页的资源。

value

资源列表。

CloudError

CloudError

Name Type Description
error

资源管理错误响应。

createdByType

创建资源的标识的类型。

Name Type Description
Application
  • string
Key
  • string
ManagedIdentity
  • string
User
  • string

Error

资源管理错误响应。

Name Type Description
additionalInfo

错误附加信息。

code
  • string

错误代码。

details

错误详细信息。

message
  • string

错误消息。

target
  • string

错误目标。

ErrorAdditionalInfo

资源管理错误附加信息。

Name Type Description
info
  • object

其他信息。

type
  • string

其他信息类型。

RecoveryPointDataStoreDetails

RecoveryPointDataStoreDetails

Name Type Description
creationTime
  • string
expiryTime
  • string
id
  • string
metaData
  • string
rehydrationExpiryTime
  • string
rehydrationStatus
state
  • string
type
  • string
visible
  • boolean

RehydrationStatus

Name Type Description
COMPLETED
  • string
CREATE_IN_PROGRESS
  • string
DELETED
  • string
DELETE_IN_PROGRESS
  • string
FAILED
  • string

systemData

与创建和上次修改资源相关的元数据。

Name Type Description
createdAt
  • string

资源创建时间戳 (UTC) 。

createdBy
  • string

创建资源的标识。

createdByType

创建资源的标识的类型。

lastModifiedAt
  • string

上次修改资源的标识的类型。

lastModifiedBy
  • string

上次修改资源的标识。

lastModifiedByType

上次修改资源的标识的类型。