Queries the types of Operation and Maintenance tasks and the number of tasks of each type for an ApsaraDB for MongoDB instance.
Operation description
This operation is no longer updated and will be unavailable.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DescribeActiveOperationTaskType |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IsHistory |
integer |
No |
Specifies whether to return historical O&M tasks. Valid values:
|
0 |
| ResourceGroupId |
string |
No |
The resource group ID. You can call the DescribeSecurityGroupConfiguration operation to query the resource group ID. |
rg-acfmyiu4ekp**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C7EE83BF-7BA8-5087-BAC9-ED85ED54**** |
| TypeList |
array<object> |
The O&M tasks. |
|
|
object |
|||
| TaskType |
string |
The type of the task. Valid values:
|
rds_apsaradb_upgrade |
| TaskTypeInfoEn |
string |
The task type in English. |
rds_apsaradb_upgrade |
| TaskTypeInfoZh |
string |
The task type in Chinese. |
小版本升级 |
| Count |
integer |
The number of pending tasks. |
1 |
Examples
Success response
JSON format
{
"RequestId": "C7EE83BF-7BA8-5087-BAC9-ED85ED54****",
"TypeList": [
{
"TaskType": "rds_apsaradb_upgrade",
"TaskTypeInfoEn": "rds_apsaradb_upgrade",
"TaskTypeInfoZh": "小版本升级",
"Count": 1
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.