You can use the ListEcuByRegion to obtain the instance list based on the specified region ID.


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 header

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

GET /pop/v5/resource/ecu_list HTTPS|HTTP

Request Parameters

Parameter Type Required Example Description
Act String Yes pop-query

Static field pop-query.

LogicalRegionId String No cn-beijing

The ID of the logical Region. The ID will be replaced with this parameter.

Response parameters

Parameter Type Example Description
Code Integer 200

The code.

EcuEntityList Array

For more information, see EcuEntity definitions.

AvailableCpu Integer 4

The available CPUs.

AvailableMem Integer 8192

The available memory.

Cpu Integer 0

The total number of CPU cores.

CreateTime Long 1572539283168

The time when the RAM role was created.

DockerEnv Boolean true

Indicates whether Docker is installed.

EcuId String c96c494 c-1b91-4456-bbb3-b5af****

The unique ID of an ECU. You can run dmidecode on the ECS instance to query the ECU ID.

HeartbeatTime Long 1572867865221

The heartbeat time.

InstanceId String i-2ze82h8f4zcn****

The ID of the instance.

IpAddr String

The intranet IP address of the ECU.

Mem Integer 0

The total memory.

Name String worker-k8s-for

The name of the volume.

Online Boolean false

Indicates whether the Security Center agent is connected.

RegionId Boolean cn-beijing

The ID of the region.

UpdateTime Long 1572867895575

The time when the application monitoring job was updated.

UserId String edas@aliyun-****.com

The ID of the associated user.

VpcId String vpc-2zew8mi6gqbo****

The ID of the VPC where the created cluster is located.

ZoneId String cn-beijing-a

The ID of the zone where the ECU is located.

Message String success

The returned message.

RequestId String 00000000-0000-0000-0000

The ID of the request.


Sample requests

GET /pop/v5/resource/ecu_list HTTP/1.1
Common request header
  "Act": "pop-query"

Sample success responses

XML format


JSON format

    "Message": "success",
    "Code": 200,
    "EcuEntityList": {
        "EcuEntity": [
                "AvailableMem": 8192,
                "Mem": 0,
                "AvailableCpu": 4,
                "InstanceId": "i-2ze82h8f4zcn449y****",
                "Online": false,
                "UpdateTime": 1572867895575,
                "UserId": "edas_****_test@aliyun-****.com",
                "ZoneId": "cn-beijing-a",
                "VpcId": "vpc-2zew8mi6gqbo5wf3r****",
                "IpAddr": "",
                "Name": "worker-k8s-for-cs",
                "Cpu": 0,
                "HeartbeatTime": 1572867865221,
                "CreateTime": 1572539283168,
                "RegionId": "cn-beijing",
                "EcuId": "c96c494c-1b91-4456-bbb3-b5afcd16****",
                "DockerEnv": true
                "AvailableMem": 2048,
                "Mem": 0,
                "AvailableCpu": 2,
                "InstanceId": "i-2zej4i2jdf3ntwh****",
                "Online": true,
                "UpdateTime": 1573281041150,
                "UserId": "edas_****_test@aliyun-****.com",
                "ZoneId": "cn-beijing-h",
                "VpcId": "vpc-2zef6ob8mrlzv8x3q****",
                "IpAddr": "",
                "Name": "product_test004",
                "Cpu": 0,
                "HeartbeatTime": 1573281041143,
                "CreateTime": 1573281041143,
                "RegionId": "cn-beijing",
                "EcuId": "cfe7f474-3861-453e-b236-887d4932****",
                "DockerEnv": false

Error code

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