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. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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 The ID of the cluster.

RegionId String Yes cn-hangzhou

The ID of the region. You can call DescribeRegions View the latest Alibaba Cloud region list.

ServiceName String No YARN

The name of the service.

Status String No SUCCESS

The status of the task. Valid values:

  • SUCCESS: The image was built
  • WAITING: Waiting
  • READY: Preparing
  • IN_PROGRESS: In progress
  • COMPLETED: The job is completed
  • FAILED: The task failed
PageNumber Integer No 1

The number of the page to return.

PageSize Integer No 10

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 303

The duration of the action.

OperationId String 41027

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 10

The number of entries returned per page.

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

The ID of the request.

TotalCount Integer 1

The total number of entries that are returned.


Sample requests

&<common request parameters>

Sample success responses

XML format

                  <Comment>Create cluster</Comment>

JSON format

                "Comment":"Create cluster",