Queries ApsaraDB for MongoDB instances whose backups are restored within seven days.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeRestoreDBInstanceList |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries returned per page. |
30 |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bp114f14849d**** |
| CreationTimeAfter |
string |
Yes |
Find instances created after the specified time, formatted as yyyy-MM-ddTHH:00:00Z (UTC time). Note
|
2024-07-24T14:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The number of instances in the query results. |
5 |
| RequestId |
string |
The request ID. |
1AF0AD89-ED4F-44AD-B65F-BFC1D5Cxxxxx |
| PageSize |
integer |
The number of entries returned per page. |
30 |
| PageNumber |
integer |
The page number. |
1 |
| DBInstances |
object |
||
| DBInstance |
array<object> |
DB instances list. |
|
|
object |
DB instances list. |
||
| CreationTime |
string |
The time of instance creation, formatted as yyyy-MM-ddTHH:00:00Z (UTC time). |
2022-01-02T07:43:59Z |
| LockMode |
string |
The locked state of the instance, value description:
|
Unlock |
| EngineVersion |
string |
The database engine version of the instance. Valid values:
|
4.2 |
| DBInstanceDescription |
string |
The description of the instance. |
测试数据库 |
| DBInstanceType |
string |
The architecture of the instance. Valid values:
|
replicate |
| DBInstanceStatus |
string |
The status of the instance. For more information, see Instance states. |
Running |
| RegionId |
string |
The region ID of the instance. |
cn-hangzhou |
| ZoneId |
string |
The zone ID of the instance. |
cn-hangzhou-g |
| DBInstanceId |
string |
The instance ID. |
dds-bp12c5b040dc**** |
| IsDeleted |
integer |
Specifies whether the instance is deleted. Valid values:
|
0 |
Examples
Success response
JSON format
{
"TotalCount": 5,
"RequestId": "1AF0AD89-ED4F-44AD-B65F-BFC1D5Cxxxxx",
"PageSize": 30,
"PageNumber": 1,
"DBInstances": {
"DBInstance": [
{
"CreationTime": "2022-01-02T07:43:59Z",
"LockMode": "Unlock",
"EngineVersion": "4.2",
"DBInstanceDescription": "测试数据库",
"DBInstanceType": "replicate",
"DBInstanceStatus": "Running",
"RegionId": "cn-hangzhou",
"ZoneId": "cn-hangzhou-g",
"DBInstanceId": "dds-bp12c5b040dc****",
"IsDeleted": 0
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter %s is not valid. | The specified parameter %s is not valid. |
| 400 | InvalidDBInstanceId.NotFound | Specified instance does not exist. | Instance not found. Refresh the page to check whether the instance has been released. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.