Obtains a resource group list.

Debugging

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

POST /pop/v5/resource/reg_group_list HTTPS|HTTP

Request Parameters

Response parameters

Parameter Type Example Description
Code Integer 200

The returned code.

Message String success

The returned message.

RequestId String b197-40ab-9155-7ca7

The ID of the request.

ResourceGroupList Array

For more information, see ResGroupEntity to define a resource group.

ResGroupEntity
AdminUserId String 1172745866080237

The PK of the user.

CreateTime Long 1557890594376

The time when the VSwitch was created.

Description String QqLZDA3pBZ

Resource Group description.

Id Long 8592

The ID of the region returned.

Name String TIa2LGixyD

Resource Group Name.

RegionId Boolean cn-qingdao

Region ID.

SlbList Array

SLB instance List.

SlbEntity
Address String b197-40ab-9155-7ca7

The IP address allocated to the SLB instance returned.

AddressType String IPv4

Address type.

Expired Boolean true

Indicates whether the returned VPC has expired.

GroupId Integer 641897243

The ID of the application for which the instance group was created.

NetworkType String 2

Network type.

RegionId Boolean cn-beijing

The ID of the region where the returned SLB instance is located.

SlbId String SlbId

SLB unique identifier.

SlbName String slbname

The name of the SLB instance returned.

SlbStatus String status

The state of the SLB instance returned.

UserId String 641897243

The ID of the user who created the returned SLB instance.

VpcId String 641897243

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

VswitchId String 641897243

The ID of the VSwitch.

UpdateTime Long 641897243

The time when the returned instance group was updated.

ecsList Array

The list of GTM instances involved in the disaster recovery plan.

EcsEntity
Cpu Integer 2

The total number of CPUs in the cluster that was queried.

Description String ""

Description

EcuEntity Struct

ECU entity

AvailableCpu Integer 1

Available CPUs

AvailableMem Integer 200

The amount of available memory in the ECU returned. Unit: MB

Cpu Integer 2

Total CPU cores

CreateTime Long 641897243

The time when the VSwitch was created.

DockerEnv Boolean true

Indicates whether Docker is installed.

EcuId String 641897243

The unique ID of an ECU. You can run the following command in an ECS instance:dmidecode.

HeartbeatTime Long 641897243

The heartbeat time of the ECU.

InstanceId String 641897243

Instance ID

IpAddr String 192.XX.XX.12

The intranet IP address of the ECU.

Mem Integer 200

The total amount of memory in the ECU returned. Unit: MB

Name String name

The name of the organization.

Online Boolean true

Indicates whether the ECU is available.

RegionId Boolean cn-beijing

The ID of the region.

UpdateTime Long 641897243

The time when the application monitoring job was updated.

UserId String 641897243

Associated user ID

VpcId String 641897243

VPC ID

ZoneId String 641897243

The ID of the region.

Eip String 641897243

Elastic IP

Expired Boolean true

Indicates whether the returned SLB instance has expired.

GroupId String ""

The ID of the Enterprise Distributed Application Service (EDAS) resource group bound to the SLB instance returned.

HostName String ""

The hostname of the server.

InnerIp String ""

The internal IP address.

InstanceId String ""

The ID of the instance.

InstanceId String ""

The ID of the instance.

Instance name String ""

Instance Name

Mem Integer 1

Total Memory (MB)

PrivateIp String ""

Private IP address

PublicIp String ""

The public IP address.

RegionId Boolean ""

The ID of the region where the returned SLB instance is located.

SerialNum String ""

Serial number.

SgId String ""

The ID of the security group.

Status String ""

instance status

UserId String ""

User Account

VpcEntity Struct

VPC-connected instance

Cidrblock String ""

The IPv4 CIDR block of the vSwitch.

Description String ""

Description

EcsNum Integer 1

Instance Name

Expired Boolean true

Indicates whether the returned VPC has expired.

RegionId Boolean ""

The ID of the region where the returned VPC is located.

Status String ""

instance status

UserId String ""

The ID of the user who created the returned SLB instance.

VpcId String ""

The ID of the VPC returned.

VpcName String ""

The name of the VPC returned.

VpcId String ""

The ID of the VPC returned.

ZoneId String ""

The ID of the zone where the ECU is located.

Examples

Sample requests

POST /pop/v5/resource/reg_group_list HTTP/1.1
Common request headers

Sample success responses

XML format

<Message>success</Message>
<ResourceGroupList>
    <ResGroupEntity>
        <Name>TIa2LGixyD</Name>
        <AdminUserId>1172745866080237</AdminUserId>
        <Description>QqLZDA3pBZ</Description>
        <ecsList>
        </ecsList>
        <RegionId>cn-qingdao</RegionId>
        <CreateTime>1557890594376</CreateTime>
        <UpdateTime>1557890594376</UpdateTime>
        <Id>8592</Id>
        <SlbList>
        </SlbList>
    </ResGroupEntity>
    <ResGroupEntity>
        <Name>qingdaoTestR2019070410584956</Name>
        <AdminUserId>1172745866080237</AdminUserId>
        <Description>qingdaoTestR2019070410584956</Description>
        <ecsList>
        </ecsList>
        <RegionId>cn-qingdao</RegionId>
        <CreateTime>1562209129522</CreateTime>
        <UpdateTime>1562209129522</UpdateTime>
        <Id>8965</Id>
        <SlbList>
        </SlbList>
    </ResGroupEntity>
    <ResGroupEntity>
        <Name>luybtest</Name>
        <AdminUserId>edas_****_test@aliyun-****.com</AdminUserId>
        <Description>1234</Description>
        <ecsList>
        </ecsList>
        <RegionId>cn-hangzhou</RegionId>
        <CreateTime>1566182756912</CreateTime>
        <UpdateTime>1566182756912</UpdateTime>
        <Id>10171</Id>
        <SlbList>
        </SlbList>
    </ResGroupEntity>
    <ResGroupEntity>
        <Name>aaa</Name>
        <AdminUserId>edas_****_test@aliyun-****.com</AdminUserId>
        <Description>bbbb</Description>
        <ecsList>
        </ecsList>
        <RegionId>cn-hangzhou</RegionId>
        <CreateTime>1567476421973</CreateTime>
        <UpdateTime>1567476421973</UpdateTime>
        <Id>10551</Id>
        <SlbList>
        </SlbList>
    </ResGroupEntity>
    <ResGroupEntity>
        <Name>dankun</Name>
        <AdminUserId>edas_****_test@aliyun-****.com</AdminUserId>
        <Description>1233434</Description>
        <ecsList>
        </ecsList>
        <RegionId>cn-qingdao</RegionId>
        <CreateTime>1567476519506</CreateTime>
        <UpdateTime>1567476519506</UpdateTime>
        <Id>10552</Id>
        <SlbList>
        </SlbList>
    </ResGroupEntity>
</ResourceGroupList>
<Code>200</Code>

JSON format

{
    "Message": "success",
    "ResourceGroupList": {
        "ResGroupEntity": [
            {
                "Name": "TIa2LGixyD",
                "AdminUserId": "1172745866080237",
                "Description": "QqLZDA3pBZ",
                "ecsList": {
                    "EcsEntity": []
                },
                "RegionId": "cn-qingdao",
                "CreateTime": 1557890594376,
                "UpdateTime": 1557890594376,
                "Id": 8592,
                "SlbList": {
                    "SlbEntity": []
                }
            },
            {
                "Name": "qingdaoTestR2019070410584956",
                "AdminUserId": "1172745866080237",
                "Description": "qingdaoTestR2019070410584956",
                "ecsList": {
                    "EcsEntity": []
                },
                "RegionId": "cn-qingdao",
                "CreateTime": 1562209129522,
                "UpdateTime": 1562209129522,
                "Id": 8965,
                "SlbList": {
                    "SlbEntity": []
                }
            },
            {
                "Name": "luybtest",
                "AdminUserId": "edas_****_test@aliyun-****.com",
                "Description": "1234",
                "ecsList": {
                    "EcsEntity": []
                },
                "RegionId": "cn-hangzhou",
                "CreateTime": 1566182756912,
                "UpdateTime": 1566182756912,
                "Id": 10171,
                "SlbList": {
                    "SlbEntity": []
                }
            },
            {
                "Name": "aaa",
                "AdminUserId": "edas_****_test@aliyun-****.com",
                "Description": "bbbb",
                "ecsList": {
                    "EcsEntity": []
                },
                "RegionId": "cn-hangzhou",
                "CreateTime": 1567476421973,
                "UpdateTime": 1567476421973,
                "Id": 10551,
                "SlbList": {
                    "SlbEntity": []
                }
            },
            {
                "Name": "dankun",
                "AdminUserId": "edas_****_test@aliyun-****.com",
                "Description": "1233434",
                "ecsList": {
                    "EcsEntity": []
                },
                "RegionId": "cn-qingdao",
                "CreateTime": 1567476519506,
                "UpdateTime": 1567476519506,
                "Id": 10552,
                "SlbList": {
                    "SlbEntity": []
                }
            }
        ]
    },
    "Code": 200
}

Error code

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