Queries the count of O&M events.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeActiveOperationTaskCount

The operation that you want to perform. Set the value to DescribeActiveOperationTaskCount.

RegionId String Yes cn-hangzhou

The region ID of the instances for which the requested O&M events are configured.

Product String No polarx

The name of the Alibaba Cloud service. Default value: polarx.

Category String No Category

This is a reserved parameter that you do not need to specify.

Response parameters

Parameter Type Example Description
RequestId String EC7E27FC-58F8-4722-89BB-D1B6D0971956

The ID of the request.

NeedPop Long 1

Indicates whether a pop-up is prompted.

  • 1: indicates that a pop-up is prompted.
  • 0: indicates that a pop-up is not prompted.
TaskCount Long 20

The count of the O&M events.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeActiveOperationTaskCount
&RegionId=cn-hangzhou
&Product=polarx
&Category=Category
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeActiveOperationTaskCountResponse>
    <RequestId>EC7E27FC-58F8-4722-89BB-D1B6D0971956</RequestId>
    <NeedPop>1</NeedPop>
    <TaskCount>20</TaskCount>
</DescribeActiveOperationTaskCountResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "EC7E27FC-58F8-4722-89BB-D1B6D0971956",
  "NeedPop" : 1,
  "TaskCount" : 20
}

Error codes

For a list of error codes, visit the API Error Center.