Queries the recoverable time range of an ApsaraDB for MongoDB sharded cluster instance with disk storage.
Operation description
This operation applies only to sharded cluster instances that run MongoDB 4.4 or later and use Enhanced SSDs (ESSDs).
If an instance was created before October 19, 2023, you must call the TransferClusterBackup operation to switch it to the cluster backup mode. You can call this operation directly for instances that were created on or after October 19, 2023, or have already been switched to the cluster backup mode.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeClusterRecoverTime |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bp18f7d6b6a7**** |
| SrcRegion |
string |
No |
The region of the source instance for geo-redundancy. Note
|
cn-beijing |
| DestRegion |
string |
No |
The region where the geo-redundant backup set is located. Note
|
cn-hangzhou |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-xxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| RequestId |
string |
The request ID. |
60EEBD77-227C-5B39-86EA-D89163C5**** |
| RestoreRanges |
array<object> |
A list of cluster backups. Each backup includes the backup set for every node. |
|
|
object |
|||
| RestoreBeginTime |
string |
The beginning of the restorable time range. |
2023-10-16T19:33:20Z |
| RestoreEndTime |
string |
The end of the restorable time range. |
2023-10-16T19:43:20Z |
| RestoreType |
string |
The restoration method. Valid value:
|
PointInTime |
Examples
Success response
JSON format
{
"RequestId": "60EEBD77-227C-5B39-86EA-D89163C5****",
"RestoreRanges": [
{
"RestoreBeginTime": "2023-10-16T19:33:20Z",
"RestoreEndTime": "2023-10-16T19:43:20Z",
"RestoreType": "PointInTime"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.