edit-icon download-icon

ListEcuByRegionRequest

Last Updated: Nov 16, 2018

Function

Returns an instance list according to the specified region ID.

Request URL

/pop/v5/resource/ecu_list

Request method

GET

Request parameters

Parameter Type Required? Description
logicalRegionId String No ID of the logical region (regionId is replaced by this parameter after it is set.)
act String Yes This parameter is invariably set to "pop-query".

Response parameters

Parameter Type Description
Code Integer Code
Message String Message
EcuEntityList List<EcuEntity> For details, see EcuEntity.

EcuEntity

Parameter Type Description
EcuId String Unique ID of the ECU instance, which can be obtained by running dmidecode on the ECS instance
Online Boolean Indicates whether the ECU instance is online
DockerEnv Boolean Indicates whether Docker is installed
CreateTime long Creation time
UpdateTime long Update time
HeartbeatTime long Heartbeat time
UserId String Associated user ID
IpAddr String Intranet IP address of the ECU instance
Name String Name
ZoneId String ID of the zone where the instance is located
RegionId String ID of the region where the instance is located
InstanceId String Instance ID
VpcId String VPC ID
AvailableCpu Integer Available CPU
AvailableMem Integer Available memory
Cpu Integer Total number of CPUs
Mem Integer Total memory
Thank you! We've received your feedback.