Query Node Group Information Under the Cluster
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ListNodeGroups |
list |
*Cluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NodeGroupId |
string |
No |
The node group ID. |
ng-ec3c96ff0aa4c60d |
| NextToken |
string |
No |
The token that is used in the next request to retrieve a new page of results. |
a3f2224a5ec7224116c4f5246120abe4 |
| ClusterId |
string |
No |
The cluster ID. |
i119982311660892626523 |
| MaxResults |
integer |
No |
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 elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
887FA855-89F4-5DB3-B305-C5879EC480E6 |
| NextToken |
string |
The token that is used in the next request to retrieve a new page of results. |
563d42ae0b17572449ec8c97f7f66069 |
| Groups |
array<object> |
The node groups. |
|
|
object |
|||
| ClusterId |
string |
The cluster ID. |
i113952461729854708648 |
| ClusterName |
string |
The cluster name. |
wzq-exclusivelite-71 |
| CreateTime |
string |
The creation time. |
2024-02-27T13:16:31.599 |
| Description |
string |
The description. |
created by ga2_prepare |
| GroupId |
string |
The group ID. |
238276221 |
| GroupName |
string |
The group name. |
backend-group |
| ImageId |
string |
The image ID. |
i194015071707321240258 |
| ImageName |
string |
The image name. |
CentOS_7.9_x86_64_FULL_20221110 |
| MachineType |
string |
The instance type. |
efg1.nvga1n |
| NodeCount |
integer |
The number of nodes. |
2 |
| UpdateTime |
string |
The update time. |
2023-09-22T00:03:05.114 |
| ZoneId |
string |
The zone ID. |
cn-shenzhen-c |
| FileSystemMountEnabled |
boolean |
Indicates whether file storage mounting is supported. |
|
| VirtualGpuEnabled |
boolean |
Whether to enable gpu virtualization or not |
false |
Examples
Success response
JSON format
{
"RequestId": "887FA855-89F4-5DB3-B305-C5879EC480E6",
"NextToken": "563d42ae0b17572449ec8c97f7f66069",
"Groups": [
{
"ClusterId": "i113952461729854708648",
"ClusterName": "wzq-exclusivelite-71",
"CreateTime": "2024-02-27T13:16:31.599",
"Description": "created by ga2_prepare",
"GroupId": "238276221",
"GroupName": "backend-group",
"ImageId": "i194015071707321240258",
"ImageName": "CentOS_7.9_x86_64_FULL_20221110",
"MachineType": "efg1.nvga1n",
"NodeCount": 2,
"UpdateTime": "2023-09-22T00:03:05.114",
"ZoneId": "cn-shenzhen-c",
"FileSystemMountEnabled": false,
"VirtualGpuEnabled": false
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.