All Products
Search
Document Center

Elastic High Performance Computing:ListNodes

Last Updated:Jan 14, 2026

Queries the nodes of an Elastic High Performance Computing (E-HPC) 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
ehpc:ListNodeslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringNo

The cluster ID. You can call the ListClusters operation to query the cluster ID.

ehpc-hz-FYUr32****
HostnamesarrayNo

The hostnames of the compute nodes that you want to query.

stringNo

The hostname.

compute000
PrivateIpAddressarrayNo

The IP addresses of the compute nodes that you want to query.

stringNo

The Virtual Private Cloud (VPC) IP address of the compute node.

172.16.**.**
PageNumberintegerNo

The page number of the page to return.

1
PageSizeintegerNo

The number of entries per page.

1
SequencestringNo

Specifies whether the results are sorted in ascending or descending order. Valid values:

  • Forward: ascending
  • Backward: descending

Default value: Forward.

Forward
SortBystringNo

The sorting method of the node list. Valid values:

  • AddedTime: sorts the nodes by the time that they were added.
  • HostName: sorts the nodes by their hostnames.

Default value: addedtime.

AddedTime
QueueNamesarrayNo

The queues to which the nodes belong.

stringNo

The queue name.

comp
StatusarrayNo

The states of the compute nodes to be queried.

stringNo

The state of the compute node. Valid values:

  • uninit: The node is being installed.
  • initing: The node is being initialized.
  • running: The node is running.
  • releasing: The node is being released.
  • stopped: The node is stopped.
  • exception: The node has run into an exception.
  • untracking: The node is not added to the cluster.
running

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

PageSizeinteger

The number of entries per page.

1
RequestIdstring

The request ID.

89A1AC0F-4A6C-4F3D-98F9-BEF9A823****
PageNumberinteger

The page number.

1
TotalCountinteger

The total number of entries returned.

1
Nodesarray<object>

The information about the nodes.

NodeInfoobject

The information about the node.

VpcIdstring

The VPC ID.

vpc-bp1gnu8br4ay7beb2w****
Statusstring

The node state. Valid values:

  • uninit: The node is being installed.
  • initing: The node is being initialized.
  • running: The node is running.
  • releasing: The node is being released.
  • stopped: The node is stopped.
  • exception: The node has run into an exception.
  • untracking: The node is not added to the cluster.
running
HtEnabledboolean

Indicates whether hyper-threading is enabled.

true
Hostnamestring

The hostname of the node.

edas.cn-shanghai.aliyuncs.com
InstanceTypestring

The instance type of the node.

ecs.c5.large
PublicIpAddressstring

The public IP address of the node.

172.16.**.**
SpotStrategystring

The bidding policy of the node. Valid values:

  • NoSpot: The instances of the compute node are pay-as-you-go instances.
  • SpotWithPriceLimit: The instances are created as preemptible instances with a user-defined maximum hourly price.
  • SpotAsPriceGo: The node is a preemptible instance for which the market price at the time of purchase is automatically used as the bidding price.
NoSpot
VSwitchIdstring

The vSwitch ID of the node.

vsw-bp1e47optm9g58zcu****
IpAddressstring

The VPC IP address of the node.

172.16.**.**
ExpiredTimestring

The time when the node expires.

2020-06-09T06:22:02.000Z
ZoneIdstring

The zone ID of the node.

cn-hangzhou-b
AddTimestring

The time when the node was created.

2020-06-09T06:22:02.000Z
ImageIdstring

The image ID of the node.

centos_7_06_64_20G_alibase_20190711.vhd
Idstring

The instance ID of the node.

i-bp15707mys2rsy0j****
TotalResourcesobject

The hardware configurations of the node.

Gpuinteger

The number of GPUs.

0
Cpuinteger

The number of vCPUs.

1
Memoryinteger

The amount of memory. Unit: GiB.

1024
StateInSchedstring

The node state in the scheduler.

active
QueueNamestring

The name of the queue to which the node belongs.

autoque3
KeepAliveboolean

Indicates whether deletion protection is enabled for the node. Valid values:

  • true
  • false
true
DeploymentSetIdstring

The deployment set ID.

ds-8vbe4av4gededlqg****

Examples

Sample success responses

JSONformat

{
  "PageSize": 1,
  "RequestId": "89A1AC0F-4A6C-4F3D-98F9-BEF9A823****",
  "PageNumber": 1,
  "TotalCount": 1,
  "Nodes": [
    {
      "VpcId": "vpc-bp1gnu8br4ay7beb2w****",
      "Status": "running",
      "HtEnabled": true,
      "Hostname": "edas.cn-shanghai.aliyuncs.com",
      "InstanceType": "ecs.c5.large",
      "PublicIpAddress": "172.16.**.**",
      "SpotStrategy": "NoSpot",
      "VSwitchId": "vsw-bp1e47optm9g58zcu****",
      "IpAddress": "172.16.**.**",
      "ExpiredTime": "2020-06-09T06:22:02.000Z",
      "ZoneId": "cn-hangzhou-b",
      "AddTime": "2020-06-09T06:22:02.000Z",
      "ImageId": "centos_7_06_64_20G_alibase_20190711.vhd",
      "Id": "i-bp15707mys2rsy0j****",
      "TotalResources": {
        "Gpu": 0,
        "Cpu": 1,
        "Memory": 1024
      },
      "StateInSched": "active",
      "QueueName": "autoque3",
      "KeepAlive": true,
      "DeploymentSetId": "ds-8vbe4av4gededlqg****"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-12-04The response structure of the API has changedView Change Details