All Products
Search
Document Center

Platform For AI:ListNodeGroups

Last Updated:Jul 25, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Queries node groups in a cluster.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
eflo:ListNodeGroupslist
*Cluster
acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NodeGroupIdstringNo

The node group ID.

ng-ec3c96ff0aa4c60d
NextTokenstringNo

The token that is used in the next request to retrieve a new page of results.

a3f2224a5ec7224116c4f5246120abe4
ClusterIdstringNo

The cluster ID.

i119982311660892626523
MaxResultsintegerNo

The number of entries per page. Maximum value: 100.

Default value:

• If you do not configure this parameter or if you set this parameter to a value less than 20, the default value is 20.

• If you set this parameter to a value greater than 100, the default value is 100.

20

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

887FA855-89F4-5DB3-B305-C5879EC480E6
NextTokenstring

The token that is used in the next request to retrieve a new page of results.

563d42ae0b17572449ec8c97f7f66069
Groupsarray<object>

The node groups.

Groupsobject
GroupNamestring

The group name.

backend-group
Descriptionstring

The description.

created by ga2_prepare
NodeCountlong

The number of nodes.

2
ZoneIdstring

The zone ID.

cn-shenzhen-c
ClusterIdstring

The cluster ID.

i113952461729854708648
VirtualGpuEnabledboolean

Whether to enable gpu virtualization or not

false
CreateTimestring

The creation time.

2024-02-27T13:16:31.599
MachineTypestring

The instance type.

efg1.nvga1n
GroupIdstring

The group ID.

238276221
ImageNamestring

The image name.

CentOS_7.9_x86_64_FULL_20221110
FileSystemMountEnabledboolean

Indicates whether file storage mounting is supported.

False
ImageIdstring

The image ID.

i194015071707321240258
UpdateTimestring

The update time.

2023-09-22T00:03:05.114
ClusterNamestring

The cluster name.

wzq-exclusivelite-71

Examples

Sample success responses

JSONformat

{
  "RequestId": "887FA855-89F4-5DB3-B305-C5879EC480E6",
  "NextToken": "563d42ae0b17572449ec8c97f7f66069",
  "Groups": [
    {
      "GroupName": "backend-group",
      "Description": "created by ga2_prepare",
      "NodeCount": 2,
      "ZoneId": "cn-shenzhen-c",
      "ClusterId": "i113952461729854708648",
      "VirtualGpuEnabled": false,
      "CreateTime": "2024-02-27T13:16:31.599",
      "MachineType": "efg1.nvga1n",
      "GroupId": 238276221,
      "ImageName": "CentOS_7.9_x86_64_FULL_20221110",
      "FileSystemMountEnabled": true,
      "ImageId": "i194015071707321240258",
      "UpdateTime": "2023-09-22T00:03:05.114",
      "ClusterName": "wzq-exclusivelite-71"
    }
  ]
}

Error codes

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