edit-icon download-icon

ListResourceGroupRequest

Last Updated: Nov 16, 2018

Function

Returns a list of resource groups.

Request URL

/pop/v5/resource/reg_group_list

Request method

POST

Request parameters

None.

Response parameters

Parameter Type Description
Code Integer Code
Message String Message
ResourceGroupList List<ResGroupEntity> For details, see the definition of resource group list in ResGroupEntity.

ResGroupEntity

Parameter Type Description
Id Long Unique ID
Name String Name of a resource group
Description String Description of the resource group
RegionId String ID of the region where the resource group is located
EcsList List&lt;EcsEntity&gt; For details, see the definition of EcsEntity.
SlbList List&lt;SlbEntity&gt; For details, see the definition of SlbEntity.

SlbEntity

Parameter Type Description
SlbId String Unique ID of the SLB instance
SlbName Integer Name of the SLB instance
RegionId Boolean Region ID
UserId String User ID
Address String IP address
SlbStatus Integer Status of the SLB instance
AddressType Boolean Address type
VswitchId String Switch ID
VpcId String VPC ID
NetworkType Integer Network type
GroupId String Group ID
Expired Boolean Expiration status

EcsEntity

Parameter Type Description
InstanceId String Instance ID
InstanceName String Instance name
Description String Description
Status String Instance status
PublicIp String Internet IP address
InnerIp String Intranet IP address
PrivateIp String Private IP address
Eip String Elastic IP address
SerialNum String Serial number
Cpu Integer Total number of CPU cores
Mem Integer Total memory, in MB
Expired Boolean Expiration status
UserId String User account
RegionId String Region ID
ZoneId String Zone ID
SgId String Security group ID
VpcId String VPC ID
GroupId Long ID of the EDAS resource group
Ecu EcuEntity For details, see EcuEntity.
Vpc VpcEntity For details, see VpcEntity.

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

VpcEntity

Parameter Type Description
VpcId String Unique ID of a VPC
VpcName String VPC name
RegionId String ID of the region where the VPC is located
UserId String User ID
Expired Boolean Expiration status
EcsNum Integer Number of associated ECS instances
Thank you! We've received your feedback.