edit-icon download-icon

ListResourceGroupRequest

Last Updated: Jan 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 Response code
Message String Response message
ResGroupEntityPageResult List For more information, 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 For more information, see EcsEntity.
SlbList List For more information, see SlbEntity.

SlbEntity

Parameter Type Description
SlbId String Unique ID
SlbName Integer Name of a Server Load Balancer instance
RegionId Boolean Region ID
UserId String User ID
Address String IP address
SlbStatus Integer Status of Server Load Balancer
AddressType Boolean Address type
VswitchId String Switch ID
VpcId String VPC ID
NetworkType Integer Network type
ListernerPorts Boolean Number of the listening ports
PortsProtocal String Port protocol
BackendServers String A list of backend service IP addresses, which are delimited with commas (,).
GroupId String Group ID
Expired Boolean Survival 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 (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 more information, see EcuEntity.
Vpc VpcEntity For more information, see VpcEntity.

EcuEntity

Parameter Type Description
EcuId String Unique ID of an ECU instance, which can be obtained by running dmidecode on ECS
Online Boolean If the ECU instance is online or not
DockerEnv Boolean If Docker is installed for the ECU instance or not
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 ECU instance is located
RegionId String ID of the region where the ECU 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 Survival status
EcsNum Integer Number of associated ECS instances
Thank you! We've received your feedback.