DescribeNodeGroup
Queries node groups.
Operation description
Queries the details of a supernode.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:DescribeNodeGroup |
get |
*Cluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NodeGroupId |
string |
Yes |
The ID of the node group. |
i128903591758597631635 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Id of the request |
83896080-59E3-5775-BDDC-8084691C3D96 |
| ImageName |
string |
The image name. |
Alinux3_x86_5.10.134-16.3_NV_RunC_D3_E3C7_570.133.20_V1.0_250428 |
| NodeGroupDescription |
string |
The description of the node group. |
lingjun alinux node group |
| NodeGroupName |
string |
The name of the node group. |
test-ack |
| NodeCount |
string |
The number of nodes. |
1 |
| ClusterId |
string |
The ID of the cluster. |
i111987311754895199538 |
| NodeGroupId |
string |
The ID of the node group. |
i120982301752461697971 |
| CreateTime |
string |
The creation time in ISO 8601 format. |
2025-07-07T17:19:42.980000 |
| MachineType |
string |
The machine type. |
efg2.NH2cn |
| ImageId |
string |
The ID of the image. |
i190720111752146430748 |
| UpdateTime |
string |
The update time in ISO 8601 format. |
2025-08-20T11:18:11.164000 |
| ClusterName |
string |
The name of the cluster. |
aliyun-basic-cluster |
| Az |
string |
The zone. |
cn-wulanchabu-a |
| UserData |
string |
The user-defined script. |
#!/bin/bash uptime echo "aaaaaaa" >> /tmp/tttest.sh |
| SystemDisk |
object |
The system cloud disk information. |
|
| Size |
integer |
The size of the system cloud disk. Unit: GiB. Valid values:
Default value: max{20, the size of the image specified by the ImageId parameter}. |
1024 |
| PerformanceLevel |
string |
The performance level of the ESSD used as the system cloud disk. Valid values:
|
PL0 |
| Category |
string |
The category of the cloud disk. |
system |
| Encrypted |
boolean |
Specifies whether the system cloud disk is encrypted. Valid values:
Default value: false. Important When you use a shared encrypted image to create a cloud disk based on an encrypted snapshot, you must set the Encrypted request parameter to true for the cloud disk. This ensures that the created cloud disk uses the key of the account that the image is shared with. Note
You cannot encrypt the system cloud disk when you create an instance in Hong Kong (China) Zone D or Singapore Zone A. |
false |
| KMSKeyId |
string |
The KMS key ID for the system cloud disk. If the Encrypted parameter is set to true but KMSKeyId is not specified, the default key is used for encryption, and the KMSKeyId value is returned after the instance is created.
|
2d504554-333a-47c8-8d98-de36a23a1a4f |
| FileSystemMountEnabled |
boolean |
Specifies whether file storage mounting is supported. |
True |
| VirtualGpuEnabled |
boolean |
Specifies whether GPU virtualization and partitioning are supported. |
False |
| KeyPairName |
string |
The name of the key pair. |
k8s-key |
| LoginType |
string |
Valid values:
If this parameter is empty, no logon method is configured for the group. |
password |
| RamRoleName |
string |
The name of the RAM role for the node. You can call the ListRoles operation of RAM to query the RAM roles that you have created. |
xianwen-test-ram-role |
Examples
Success response
JSON format
{
"RequestId": "83896080-59E3-5775-BDDC-8084691C3D96",
"ImageName": "Alinux3_x86_5.10.134-16.3_NV_RunC_D3_E3C7_570.133.20_V1.0_250428",
"NodeGroupDescription": "lingjun alinux node group",
"NodeGroupName": "test-ack",
"NodeCount": "1",
"ClusterId": "i111987311754895199538",
"NodeGroupId": "i120982301752461697971",
"CreateTime": "2025-07-07T17:19:42.980000",
"MachineType": "efg2.NH2cn",
"ImageId": "i190720111752146430748",
"UpdateTime": "2025-08-20T11:18:11.164000",
"ClusterName": "aliyun-basic-cluster",
"Az": "cn-wulanchabu-a",
"UserData": "#!/bin/bash\nuptime\necho \"aaaaaaa\" >> /tmp/tttest.sh",
"SystemDisk": {
"Size": 1024,
"PerformanceLevel": "PL0",
"Category": "system",
"Encrypted": false,
"KMSKeyId": "2d504554-333a-47c8-8d98-de36a23a1a4f"
},
"FileSystemMountEnabled": true,
"VirtualGpuEnabled": true,
"KeyPairName": "k8s-key",
"LoginType": "password",
"RamRoleName": "xianwen-test-ram-role"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.