You need to enable JavaScript to run this app.
导航
DescribeRecoverableTime
最近更新时间:2024.08.01 11:45:49首次发布时间:2023.07.26 13:58:16

调用 DescribeRecoverableTime 接口查询实例备份可恢复的时间范围。

请求类型

同步请求。

请求参数

名称类型是否必选示例值描述

InstanceId

String

vedbm-gzwdsf9b****

实例 ID。

说明

您可以调用 DescribeDBInstances 接口查询实例 ID。

返回参数

名称类型示例值描述
RecoverableTimeInfoArray of RecoverableTimeInfo请参见返回示例实例可恢复的时间范围,为空表示实例目前不可恢复。详细信息,请参见 RecoverableTimeInfo

请求示例

POST /?Action=DescribeRecoverableTime&Version=2022-01-01 HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: vedbm.volcengineapi.com
X-Date: 20220614T114308Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20220614/cn-beijing/vedbm/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c645****

{
    "InstanceId": "vedbm-gzwdsf9b****"
}

返回示例

正常返回示例

{
    "ResponseMetadata": {
        "RequestId": "20230719152754EFE6CEA0AC4725D6FDA6",
        "Action": "DescribeRecoverableTime",
        "Version": "2022-01-01",
        "Service": "vedbm",
        "Region": "cn-beijing"
    },
    "Result": {
        "RecoverableTimeInfo": [
            {
                "EarliestRecoverableTime": "2023-07-14T03:47:31Z",
                "LatestRecoverableTime": "2023-07-19T07:21:09Z"
            }
        ]
    }
}

错误码

更多详情,请参见错误码