You need to enable JavaScript to run this app.
导航
DescribeRecoverableTime
最近更新时间:2024.12.13 12:00:08首次发布时间:2023.11.15 22:39:51

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

请求类型

同步请求。

请求参数

参数
类型
是否必选
示例值
描述
InstanceId
String
postgres-21a3333b****
实例 ID。

返回参数

参数
类型
示例值
描述
RecoverableTimeInfo
Object[]
2023-10-08T18:17:12.000Z
实例最早和最晚可恢复的时间(UTC 时间),为空表示实例目前不可恢复。

示例

请求示例

POST /?Action=DescribeRecoverableTime&Version=2022-01-01 HTTP/1.1
Content-Type: application/json
Host: open.volcengineapi.com
X-Date: 20231002T101010Z
Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_postgresql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458****
{
    "InstanceId": "postgres-ca7b7019****"
}

返回示例

{
    "ResponseMetadata": {
        "RequestId": "2023080411193413E74BF9DC0908069420",
        "Action": "DescribeRecoverableTime",
        "Version": "2022-01-01",
        "Service": "rds_postgresql",
        "Region": "cn-beijing"
    },
    "Result": {
        "RecoverableTimeInfo": [
            {
                "EarliestRecoverableTime": "2023-10-08T18:17:12.000Z",
                "LatestRecoverableTime": "2023-10-18T13:38:23.289Z"
            }
        ]
    }
}