DescribeNodeGroup

Updated at:

Queries node groups.

Operation description

Queries the details of a supernode.

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

eflo:DescribeNodeGroup

get

*Cluster

acs:eflo:{#regionId}:{#accountId}:cluster/{#ClusterId}

None None

Request parameters

Parameter

Type

Required

Description

Example

NodeGroupId

string

Yes

The node group ID.

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 node group description.

lingjun alinux node group

NodeGroupName

string

The node group name.

test-ack

NodeCount

string

The number of nodes.

1

ClusterId

string

The cluster ID.

i111987311754895199538

NodeGroupId

string

The node group ID.

i120982301752461697971

CreateTime

string

The creation time. The time is in ISO 8601 format.

2025-07-07T17:19:42.980000

MachineType

string

The machine type.

efg2.NH2cn

ImageId

string

The image ID.

i190720111752146430748

UpdateTime

string

The update time. The time is in ISO 8601 format.

2025-08-20T11:18:11.164000

ClusterName

string

The cluster name.

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:

  • Premium performance disk: 20 to 500.

  • ESSD:
    • PL0: 1 to 2048.

    • PL1: 20 to 2048.

    • PL2: 461 to 2048.

    • PL3: 1261 to 2048.

  • ESSD AutoPL: 1 to 2048.

  • Other cloud disk types: 20 to 2048.

Default value: max{20, size of the image specified by the parameter ImageId}.

1024

PerformanceLevel

string

The performance level (PL) of the ESSD used as the system cloud disk. Valid values:

  • PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.

  • PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.

PL0

Category

string

The category of the cloud disk.

system

FileSystemMountEnabled

boolean

Indicates whether file storage mounting is supported.

True

VirtualGpuEnabled

boolean

Indicates whether GPU virtualization slicing is supported.

False

KeyPairName

string

The name of the key pair.

k8s-key

LoginType

string

Valid values: • password: The group supports only password-based logon. • keypair: The group supports only key pair-based logon. • both: The group supports both password-based and key pair-based logon.

If the value 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 RAM API ListRoles 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"
  },
  "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.