DescribeRestoreDBInstanceList
Queries the backup and restoration instances of a MongoDB instance within the last 7 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 per page. |
30 |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bp114f14849d**** |
| CreationTimeAfter |
string |
Yes |
The start time used to query instances. Only instances created after this time are returned. Specify the time in the yyyy-MM-ddTHH:00:00Z format. The time must be in UTC. Note
|
2024-07-24T14:00:00Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of instances returned in the query result. |
5 |
| RequestId |
string |
The request ID. |
1AF0AD89-ED4F-44AD-B65F-BFC1D5Cxxxxx |
| PageSize |
integer |
The number of entries per page. |
30 |
| PageNumber |
integer |
The page number. |
1 |
| DBInstances |
object |
||
| DBInstance |
array<object> |
The list of instance information. |
|
|
object |
The list of instance information. |
||
| CreationTime |
string |
The time when the instance was created. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is in UTC. |
2022-01-02T07:43:59Z |
| LockMode |
string |
The lock state of the instance. Valid values:
|
Unlock |
| EngineVersion |
string |
The database engine version. Valid values:
|
4.2 |
| DBInstanceDescription |
string |
The description or remark of the instance. |
Test database |
| DBInstanceType |
string |
The instance type. Valid values:
|
replicate |
| DBInstanceStatus |
string |
The instance status. For more information, see Instance statuses. |
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 |
Indicates 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": "Test database",
"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.