调用 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" } ] } }