You can call ListClusterOperation operation to query the actions that are taken on a cluster.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes ListClusterOperation

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

ClusterId String Yes C-F32FB31D8295****

The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

ServiceName String No YARN

The service name.

Status String No SUCCESS

The status of the action.

PageNumber Integer No 1

The number of the page to return.

PageSize Integer No 100

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
ClusterOperationList Array of ClusterOperation

The actions that are performed in the cluster.

Comment String Create cluster

The comment for the action.

Duration String 500

The duration of the action.

OperationId String 1111

The ID of the operation.

OperationName String CREATE

The name of the action.

Percentage String 100

The progress (%) of the action.

StartTime String 1543312720000

The time when the action started.

Status String SUCCESS

The status of the action.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 100

The number of entries returned on each page.

RequestId String DF202AC2-5D5D-4288-B608-B7B1595B5C7C

The ID of the request.

TotalCount Integer 1

The total number of entries returned.


Sample requests

&<common request parameters>

Sample success responses

XML format

                  <Comment>Create cluster</Comment>

JSON Syntax

     {"ClusterOperationList":{"ClusterOperation":[{"Status":"SUCCESS","Comment":"Create cluster","Percentage":"100","OperationName":"CREATE","OperationId":"41027","StartTime":"1543312720000","Duration":"303"}]},"TotalCount":1,"PageSize":10,"RequestId":"FB29CC76-D7DC-4A08-AE96-E1F96F9FFC4E","PageNumber":1}