Obtains the states of multiple instances.


  • The states of all instances are returned. For more information, see Instance states
  • You can also call this operation to obtain the instance list.


You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Name Type Required Example Description
RegionId String Yes cn-hangzhou

The region ID of the instance. You can call the DescribeRegions operation to view the latest region list.

Action String No DescribeInstanceStatus

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

ClusterId String No cls-clusterid1

The ID of the cluster to which the instance belongs.

Note This parameter will be removed in the future. We recommend that you use other parameters to ensure compatibility.
PageNumber Integer No 1

The page number. This value starts from 1.

Default value: 1.

PageSize Integer No 10

The number of rows per page. Valid values: 1 to 50.

Default value: 10

ZoneId String No cn-hangzhou-d

The zone ID of the instance.

Response parameters

Name Type Example Description

The returned instance state information. It is an array that consists of InstanceStatusSetType data.

 └InstanceId String i-instance1

The ID of the instance.

 └Status String Running

The state of the instance.

PageNumber Integer 1

The page number.

PageSize Integer 10

The number of rows per page.

RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The request ID.

TotalCount Integer 2

The total number of instances.


Sample request

&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

View error codes