You need to enable JavaScript to run this app.
导航
DescribeRecoverableTime
最近更新时间:2023.12.14 14:40:08首次发布时间:2023.02.02 17:41:21

调用 DescribeRecoverableTime 接口查看可恢复时间范围。

请求类型

同步请求。

请求参数

名称类型是否必选示例值描述
InstanceIdStringmysql-h441603c****实例 ID。
RestoreTypeStringTABLE_LEVEL恢复方案,取值为 TABLE_LEVEL,恢复到库表级。
BackupRegionStringcn-shanghai备份所在的地域。默认值为实例所在地域。

返回参数

名称类型示例值描述

RecoverableTimeInfo

Array of RecoverableTimeInfoObject

[
{
    "EarliestRecoverableTime": "2023-01-10T14:27:44.000Z",
    "LatestRecoverableTime": "2023-01-11T06:05:14.093Z"
}
]

实例可恢复的时间段(+0800),为空表示实例目前不可恢复。

请求示例

POST /?Action=DescribeRecoverableTime&Version=2022-01-01 HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: rds.volcengineapi.com
X-Date: 20211202T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZjMzY/20211202/cn-beijing/rds_mysql/request, SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645aff88

{
    "InstanceId": "mysql-ce48081d****",
    "RestoreType": "TABLE_LEVEL"
}

返回示例

正常返回示例

{
    "ResponseMetadata": {
        "RequestId": "202301111405138FCE5A0097D88059AC62",
        "Action": "DescribeRecoverableTime",
        "Version": "2022-01-01",
        "Service": "rds_mysql",
        "Region": "cn-beijing"
    },
    "Result": {
        "RecoverableTimeInfo": [
            {
                "EarliestRecoverableTime": "2023-01-10T14:27:44.000Z",
                "LatestRecoverableTime": "2023-01-11T06:05:14.093Z"
            }
        ]
    }
}

错误码

更多详情,请参见错误码