All Products
Search
Document Center

Enterprise Distributed Application Service:ListResourceGroup

Last Updated:Oct 26, 2026

Retrieves a list of resource groups.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

edas:ListResourceGroup

list

*All Resource

*

None None

Request syntax

POST /pop/v5/resource/reg_group_list HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

No request parameters.

Response elements

Element

Type

Description

Example

object

The API response.

Code

integer

The API status code or POP error code.

200

Message

string

The additional information.

success

RequestId

string

The request ID.

b197-40ab-9155-****

ResourceGroupList

object

ResGroupEntity

array<object>

The list of resource groups. For more information, see the ResGroupEntity definition.

array<object>

The resource group object.

UpdateTime

integer

The update timestamp.

1573281040827

Description

string

The description of the resource group.

QqLZDA3pBZ

AdminUserId

string

The user UID.

****@aliyun.com

CreateTime

integer

The creation timestamp.

1557890594376

Name

string

The name of the resource group.

TIa2LGixyD

Id

integer

The ID of the resource group.

8592

RegionId

string

The region ID.

cn-qingdao

ecsList

object

EcsEntity

array<object>

The list of instances.

array<object>

The instance object.

VpcId

string

The unique identifier of the VPC.

vpc-bp13evu4aayj2t1er****

SgId

string

The security group ID.

sg-m5eajgzn6b8sg9mv****

Status

string

The instance status. Valid values:

  • Pending: creating

  • Running: running

  • Starting: starting

  • Stopping: stopping

  • Stopped: stopped

Running

PrivateIp

string

The private IP address.

192.168.xx.xxx

Expired

boolean

Indicates whether the instance has expired. Valid values:

  • true: The instance has expired.

  • false: The instance has not expired.

true

UserId

string

The user account.

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

HostName

string

The hostname.

iZm5e853hvvrodnvqus****

InstanceId

string

The instance ID.

i-m5e853hvvrodnvqu****

Mem

integer

The total memory size. Unit: MB.

1

RegionId

string

The region ID.

ch-hangzhou

Cpu

integer

The total number of CPU cores.

2

InnerIp

string

The internal IP address.

192.168.xx.xxx

GroupId

string

The EDAS resource group ID.

64189****

Eip

string

The elastic IP address.

192.168.xxx.xx

Description

string

The description.

test

InstanceName

string

The instance name.

betabjmixcoud_01

ZoneId

string

The zone ID.

cn-qingdao-h

SerialNum

string

The serial number.

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

PublicIp

string

The public IP address.

192.168.xx.xxx

EcuEntity

object

The ECU entity.

VpcId

string

The VPC ID.

vpc-2ze1ram356umxs598****

UpdateTime

integer

The update timestamp.

1573281040827

IpAddr

string

The internal IP address of the ECU.

192.168.xxx.xx

AvailableCpu

integer

The available CPU.

1

CreateTime

integer

The creation timestamp.

1557890594376

UserId

string

The associated user ID.

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

InstanceId

string

The instance ID.

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

Mem

integer

The total memory size. Unit: MB.

200

RegionId

string

The region ID.

cn-beijing

EcuId

string

The unique identifier of the ECU. You can obtain this ID by running the dmidecode command on the ECS instance.

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

Cpu

integer

The total number of CPU cores.

2

DockerEnv

boolean

Indicates whether Docker is installed. Valid values:

  • true: Docker is installed.

  • false: Docker is not installed.

true

Online

boolean

Indicates whether the ECU is online. Valid values:

  • true: The ECU is online.

  • false: The ECU is offline.

true

AvailableMem

integer

The available memory.

200

ZoneId

string

The zone ID.

cn-beijing-b

Name

string

The ECU name.

test

HeartbeatTime

integer

The UNIX timestamp of the last heartbeat detection.

1573281040819

VpcEntity

object

The VPC-connected instance.

Status

string

The instance status.

Running

VpcName

string

The VPC name.

test

VpcId

string

The unique identifier of the VPC.

vpc-bp13evu42t1er****

Description

string

The description.

""

Expired

boolean

Indicates whether the VPC has expired. Valid values:

  • true: The VPC has expired.

  • false: The VPC has not expired.

true

Cidrblock

string

The IPv4 CIDR block of the vSwitch.

192.168.xx.xxx

UserId

string

The user ID.

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

EcsNum

integer

The number of instances.

1

RegionId

string

The region.

cn-qingdao

SlbList

object

SlbEntity

array<object>

The list of SLB instances.

object

The SLB object.

SlbId

string

The unique identifier of the SLB instance.

lb-2zebf1fpbpkc7dnro****

VpcId

string

The VPC ID.

vpc-m5e666n89m2bx8jar****

VswitchId

string

The vSwitch ID.

vsw-mktkxkhah14****

Expired

boolean

Indicates whether the VPC has expired. Valid values:

  • true: The VPC has expired.

  • false: The VPC has not expired.

true

UserId

string

The user UID.

****@aliyun.com

AddressType

string

The address type. Valid values:

  • Internet: public network address

  • Intranet: private network address

Intranet

NetworkType

string

The network type. Valid values:

  • classic network

  • VPC

vpc

RegionId

string

The region ID.

cn-beijing

GroupId

integer

The group ID.

64189****

Address

string

The IP address.

192.168.xxx.xx

SlbName

string

The SLB name.

a9315af59b4cd11e9a18c00163e1****

SlbStatus

string

The SLB status.

active

Examples

Success response

JSON format

{
  "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

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.