ListClusterNodes

Updated at:

Queries the nodes in a cluster.

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:ListClusterNodes

get

*Cluster

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

None None

Request parameters

Parameter

Type

Required

Description

Example

ClusterId

string

Yes

The cluster ID.

i15b480fbd2fcdbc2869cd80

NextToken

string

No

The pagination token. Set this to the NextToken value from the previous response to retrieve the next page.

AAAAAdQ3Z+oPlg49gsr2y8jb6wY=

MaxResults

integer

No

The maximum number of entries per page. Default value: 20.

20

NodeGroupId

string

No

The node group ID.

ng-ec3c96ff0aa4c60d

Tags

array<object>

No

The tags for filtering nodes.

object

No

A tag, which consists of a key and a value.

Key

string

No

The key of the tag.

my_key

Value

string

No

The value of the tag.

my_value

ResourceGroupId

string

No

The resource group ID.

rg-ksld39333ss

OperatingStates

array

No

The operating states for filtering nodes.

string

No

The node status.

Extending

Response elements

Element

Type

Description

Example

object

Response parameters

RequestId

string

The request ID.

2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB

NextToken

string

The pagination token for the next page. An empty value indicates no more results.

AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR

Nodes

array<object>

The list of nodes.

array<object>

Details of the node.

CreateTime

string

The creation time.

2026-02-02T11:27:07

ExpiredTime

string

The expiration time of the node.

2026-03-03T00:00:00

Hostname

string

The hostname.

72432f80-273e-11ed-b57a-acde48001122

ImageId

string

The image ID.

i190297201669099844192

MachineType

string

The machine type.

cn-wulanchabu-b11

NodeGroupId

string

The node group ID.

ng-e9b74f4d450cf18d

NodeGroupName

string

The node group name.

emr_master

NodeId

string

The node ID.

e01-cn-2r42tmj4z02

Sn

string

The serial number (SN) of the node.

sn_tOuUk

ZoneId

string

The availability zone ID.

cn-hangzhou-b

Networks

array<object>

Network details.

object

Details of a network interface.

BondName

string

The name of the network interface.

bond0

Ip

string

The IP address of the node in the VPC.

192.168.22.2

SubnetId

string

The subnet ID.

subnet-fwekrvg9

VpdId

string

The ID of the VPC to which the network interface belongs.

vpd-eoiy88ju

HpnZone

string

The ID of the HPN zone.

A1

VpcId

string

The ID of the VPC where the node is located.

vpc-f8zcet5mwerafyqlrhyoi

VSwitchId

string

The vSwitch ID.

vsw-0jlohur7nhbxd1ttyq8p8

OperatingState

string

The status of the node.

Valid values:

  • Extending :

    Scaling out

  • UnusedNodeStopped :

    The unused node is stopped.

  • UnusedNodeStopping :

    The unused node is stopping.

  • Unused :

    Unused

  • Using :

    In use

  • ReleaseLocking :

    Pending release

  • Operating :

    Operating

  • Cutting :

    Scaling in

  • ClusterNodeStopped :

    Cluster node stopped

  • UnusedNodeRecovering :

    The unused node is recovering.

  • ClusterNodeStopping :

    The cluster node is stopping.

  • ClusterNodeRecovering :

    The cluster node is recovering.

  • Replacing :

    Replacing

Extending

Tags

array<object>

The list of tags attached to the node.

object

A tag, which consists of a key-value pair.

Key

string

The tag key.

alarm_xdc

Value

string

The tag value.

true

TaskId

string

The task ID.

i-skkdsdl83ksxxs3

CommodityCode

string

The code that identifies the cloud product or service.

bccluster_eflocomputing_public_cn(表示灵骏中国站包年包月)、bccluster_eflocomputing_public_intl(表示灵骏国际站包年包月)

ImageName

string

The image name.

Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230

FileSystemMountEnabled

boolean

Indicates whether the node supports file storage mounting.

False

HyperNodeId

string

The hyper node ID.

e01-cn-2r42tmj4z02

NodeType

string

The type of the node.

standard

Examples

Success response

JSON format

{
  "RequestId": "2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB",
  "NextToken": "AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR",
  "Nodes": [
    {
      "CreateTime": "2026-02-02T11:27:07",
      "ExpiredTime": "2026-03-03T00:00:00",
      "Hostname": "72432f80-273e-11ed-b57a-acde48001122",
      "ImageId": "i190297201669099844192",
      "MachineType": "cn-wulanchabu-b11",
      "NodeGroupId": "ng-e9b74f4d450cf18d",
      "NodeGroupName": "emr_master",
      "NodeId": "e01-cn-2r42tmj4z02",
      "Sn": "sn_tOuUk",
      "ZoneId": "cn-hangzhou-b",
      "Networks": [
        {
          "BondName": "bond0",
          "Ip": "192.168.22.2",
          "SubnetId": "subnet-fwekrvg9",
          "VpdId": "vpd-eoiy88ju"
        }
      ],
      "HpnZone": "A1",
      "VpcId": "vpc-f8zcet5mwerafyqlrhyoi",
      "VSwitchId": "vsw-0jlohur7nhbxd1ttyq8p8",
      "OperatingState": "Extending",
      "Tags": [
        {
          "Key": "alarm_xdc",
          "Value": "true"
        }
      ],
      "TaskId": "i-skkdsdl83ksxxs3",
      "CommodityCode": "bccluster_eflocomputing_public_cn(表示灵骏中国站包年包月)、bccluster_eflocomputing_public_intl(表示灵骏国际站包年包月) ",
      "ImageName": "Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230",
      "FileSystemMountEnabled": true,
      "HyperNodeId": "e01-cn-2r42tmj4z02",
      "NodeType": "standard"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.