All Products
Search
Document Center

Enterprise Distributed Application Service:ListResourceGroup

Last Updated:Mar 01, 2024

Queries resource groups.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /pop/v5/resource/reg_group_list

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

No request parameters.

Response parameters

ParameterTypeDescriptionExample
object

The content that is returned.

Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

b197-40ab-9155-****
ResourceGroupListobject []

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

UpdateTimelong

The time when the resource group was updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

1573281040827
Descriptionstring

The description of the resource group.

QqLZDA3pBZ
AdminUserIdstring

The UID of the Alibaba Cloud account.

****@aliyun.com
CreateTimelong

The time when the resource group was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

1557890594376
Namestring

The name of the resource group.

TIa2LGixyD
Idlong

The ID of the resource group.

8592
RegionIdstring

The ID of the region where the resource group belongs.

cn-qingdao
ecsListobject []

The Elastic Compute Service (ECS) instances.

VpcIdstring

The unique ID of the virtual private cloud (VPC).

vpc-bp13evu4aayj2t1er****
SgIdstring

The ID of the security group.

sg-m5eajgzn6b8sg9mv****
Statusstring

The status of the ECS instance. Valid values:

  • Pending: The ECS instance is being created.
  • Running: The ECS instance is running.
  • Starting: The ECS instance is being started.
  • Stopping: The ECS instance is being stopped.
  • Stopped: The ECS instance is stopped.
Running
PrivateIpstring

The private IP address of the ECS instance.

192.168.xx.xxx
Expiredboolean

Indicates whether the ECS instance has expired. Valid values:

  • true: The ECS instance has expired.
  • false: The ECS instance has not expired.
true
UserIdstring

The ID of the user account.

****_common_****@aliyun.com
HostNamestring

The name of the host.

iZm5e853hvvrodnvqus****
InstanceIdstring

The ID of the ECS instance.

i-m5e853hvvrodnvqu****
Meminteger

The total size of memory. Unit: MB.

1
RegionIdstring

The ID of the region.

ch-hangzhou
Cpuinteger

The total number of CPU cores.

2
InnerIpstring

The private IP address.

192.168.xx.xxx
GroupIdstring

The ID of the resource group in Enterprise Distributed Application Service (EDAS).

64189****
Eipstring

The elastic IP address (EIP).

192.168.xxx.xx
Descriptionstring

The description of the ECS instance.

test
InstanceNamestring

The name of the ECS instance.

betabjmixcoud_01
ZoneIdstring

The ID of the zone.

cn-qingdao-h
SerialNumstring

The serial number of the ECS instance.

98b480b8-458b-4ff3-84b9-cf7097c5****
PublicIpstring

The public IP address.

192.168.xx.xxx
EcuEntityobject

The elastic compute unit (ECU) that corresponds to the ECS instance.

VpcIdstring

The ID of the VPC.

vpc-2ze1ram356umxs598****
UpdateTimelong

The time when the ECU was updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

1573281040827
IpAddrstring

The private IP address of the ECU.

192.168.xxx.xx
AvailableCpuinteger

The number of available CPUs.

1
CreateTimelong

The time when the ECU was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

1557890594376
UserIdstring

The ID of the user associated with the ECU.

edas_****_test@aliyun-****.com
InstanceIdstring

The ID of the instance.

i-2zej4i2jdf*********
Meminteger

The total size of memory. Unit: MB.

200
RegionIdstring

The ID of the region.

cn-beijing
EcuIdstring

The unique ID of the elastic compute unit (ECU). You can run the dmidecode command on the ECS instance to query the ECU ID.

0de2ebdb-9490-4fc4-be41***************
Cpuinteger

The total number of CPU cores.

2
DockerEnvboolean

Indicates whether Docker is installed. Valid values:

  • true: Docker is installed.
  • false: Docker is not installed.
true
Onlineboolean

Indicates whether the ECU is online. Valid values:

  • true: The ECU is online.
  • false: The ECU is offline.
true
AvailableMeminteger

The size of the available memory.

200
ZoneIdstring

The ID of the zone.

cn-beijing-b
Namestring

The name of the ECU.

test
HeartbeatTimelong

The time when the last heartbeat detection was performed. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.

1573281040819
VpcEntityobject

The VPCs.

Statusstring

The status of the VPC.

Running
VpcNamestring

The name of the VPC.

test
VpcIdstring

The unique ID of the VPC.

vpc-bp13evu42t1er****
Descriptionstring

The description of the VPC.

""
Expiredboolean

Indicates whether the VPC has expired. Valid values:

  • true: The VPC has expired.
  • false: The VPC has not expired.
true
Cidrblockstring

The IPv4 CIDR block of the vSwitch.

192.168.xx.xxx
UserIdstring

The ID of the user.

****_common_****@aliyun.com
EcsNuminteger

The number of ECS instances that run in the VPC.

1
RegionIdstring

The ID of the region.

cn-qingdao
SlbListobject []

The Server Load Balancer (SLB) instances.

SlbIdstring

The unique ID of the SLB instance.

lb-2zebf1fpbpkc7dnro****
VpcIdstring

The ID of the VPC.

vpc-m5e666n89m2bx8jar****
VswitchIdstring

The ID of the vSwitch.

vsw-mktkxkhah14****
Expiredboolean

Indicates whether the SLB instance has expired. Valid values:

  • true: The SLB instance has expired.
  • false: The SLB instance has not expired.
true
UserIdstring

The UID of the Alibaba Cloud account.

****@aliyun.com
AddressTypestring

The type of the IP address of the SLB instance. Valid values:

  • Internet: Users can connect to the SLB instance over the Internet.
  • Intranet: Users can connect to the SLB instance over the internal network.
Intranet
NetworkTypestring

The network type of the SLB instance. Valid values:

  • Classic network
  • VPC
vpc
RegionIdstring

The ID of the region.

cn-beijing
GroupIdinteger

The ID of the group to which the SLB instance belongs.

64189****
Addressstring

The IP address of the SLB instance.

192.168.xxx.xx
SlbNamestring

The name of the SLB instance.

a9315af59b4cd11e9a18c00163e1****
SlbStatusstring

The status of the SLB instance.

active

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "b197-40ab-9155-****",
  "ResourceGroupList": {
    "ResGroupEntity": [
      {
        "UpdateTime": 1573281040827,
        "Description": "QqLZDA3pBZ",
        "AdminUserId": "****@aliyun.com",
        "CreateTime": 1557890594376,
        "Name": "TIa2LGixyD",
        "Id": 8592,
        "RegionId": "cn-qingdao",
        "ecsList": {
          "EcsEntity": [
            {
              "VpcId": "vpc-bp13evu4aayj2t1er****",
              "SgId": "sg-m5eajgzn6b8sg9mv****",
              "Status": "Running",
              "PrivateIp": "192.168.xx.xxx",
              "Expired": true,
              "UserId": "****_common_****@aliyun.com",
              "HostName": "iZm5e853hvvrodnvqus****",
              "InstanceId": "i-m5e853hvvrodnvqu****",
              "Mem": 1,
              "RegionId": "ch-hangzhou",
              "Cpu": 2,
              "InnerIp": "192.168.xx.xxx",
              "GroupId": "64189****",
              "Eip": "192.168.xxx.xx",
              "Description": "test",
              "InstanceName": "betabjmixcoud_01",
              "ZoneId": "cn-qingdao-h",
              "SerialNum": "98b480b8-458b-4ff3-84b9-cf7097c5****",
              "PublicIp": "192.168.xx.xxx",
              "EcuEntity": {
                "VpcId": "vpc-2ze1ram356umxs598****",
                "UpdateTime": 1573281040827,
                "IpAddr": "192.168.xxx.xx",
                "AvailableCpu": 1,
                "CreateTime": 1557890594376,
                "UserId": "edas_****_test@aliyun-****.com",
                "InstanceId": "i-2zej4i2jdf*********",
                "Mem": 200,
                "RegionId": "cn-beijing ",
                "EcuId": "0de2ebdb-9490-4fc4-be41***************",
                "Cpu": 2,
                "DockerEnv": true,
                "Online": true,
                "AvailableMem": 200,
                "ZoneId": "cn-beijing-b",
                "Name": "test",
                "HeartbeatTime": 1573281040819
              },
              "VpcEntity": {
                "Status": "Running",
                "VpcName": "test",
                "VpcId": "vpc-bp13evu42t1er****",
                "Description": "\"\"",
                "Expired": true,
                "Cidrblock": "192.168.xx.xxx",
                "UserId": "****_common_****@aliyun.com",
                "EcsNum": 1,
                "RegionId": "cn-qingdao"
              }
            }
          ]
        },
        "SlbList": {
          "SlbEntity": [
            {
              "SlbId": "lb-2zebf1fpbpkc7dnro****",
              "VpcId": "vpc-m5e666n89m2bx8jar****",
              "VswitchId": "vsw-mktkxkhah14****",
              "Expired": true,
              "UserId": "****@aliyun.com",
              "AddressType": "Intranet",
              "NetworkType": "vpc",
              "RegionId": "cn-beijing",
              "GroupId": 0,
              "Address": "192.168.xxx.xx",
              "SlbName": "a9315af59b4cd11e9a18c00163e1****",
              "SlbStatus": "active"
            }
          ]
        }
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history