Queries the numbers of pending events in different types.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DescribePendingMaintenanceActions |
The operation that you want to perform. Set the value to DescribePendingMaintenanceActions. |
RegionId | String | No | cn-hangzhou |
The ID of the region. |
IsHistory | Integer | No | 1 |
Specifies whether to return the historical tasks. Valid values:
Default value: 0. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 314127C2-B6C1-4F58-B1F6-E6B645****** |
The ID of the request. |
TypeList | Array of Items |
The details of pending events. |
|
Count | Integer | 1 |
The number of pending events. |
TaskType | String | DatabaseSoftwareUpgrading |
The type of pending events. Valid values:
|
Examples
Sample requests
http(s)://polardb.aliyuncs.com/? Action=DescribePendingMaintenanceActions
&<Common request parameters>
Sample success responses
XML
format
<DescribePendingMaintenanceActionsResponse>
<RequestId>314127C2-B6C1-4F58-B1F6-E6B645******</RequestId>
<TypeList>
<TaskType>DatabaseSoftwareUpgrading</TaskType>
<Count>1</Count>
</TypeList>
</DescribePendingMaintenanceActionsResponse>
JSON
format
{
"RequestId": "314127C2-B6C1-4F58-B1F6-E6B645******",
"TypeList": [
{
"TaskType": "DatabaseSoftwareUpgrading",
"Count": 1
}
]
}
Error codes
For a list of error codes, visit the API Error Center.