Retrieves a count of pending events for various task types.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DescribePendingMaintenanceActions |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| IsHistory |
integer |
No |
Specifies whether to return historical tasks. Valid values:
Default value: 0. |
1 |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-************ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
314127C2-B6C1-4F58-B1F6-E6B645****** |
| TypeList |
array<object> |
The details of pending events. |
|
|
object |
|||
| TaskType |
string |
The task type of the pending event. Valid values:
|
DatabaseSoftwareUpgrading |
| Count |
integer |
The number of pending events. |
1 |
Examples
Success response
JSON format
{
"RequestId": "314127C2-B6C1-4F58-B1F6-E6B645******",
"TypeList": [
{
"TaskType": "DatabaseSoftwareUpgrading",
"Count": 1
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequiredParam.NotFound | Required input param is not found. | The specified parameter does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.