Queries the nodes in a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ListClusterNodes |
get |
*Cluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The cluster ID. |
i15b480fbd2fcdbc2869cd80 |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. Set this parameter to the NextToken value that is returned from the last API call. |
AAAAAdQ3Z+oPlg49gsr2y8jb6wY= |
| MaxResults |
integer |
No |
The number of entries to return on each page. The default value is 20. |
20 |
| NodeGroupId |
string |
No |
The node group ID. |
ng-ec3c96ff0aa4c60d |
| Tags |
array<object> |
No |
The tags. |
|
|
object |
No |
The tags. |
||
| 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 |
A list of node statuses. |
|
|
string |
No |
The node status. |
Extending |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB |
| NextToken |
string |
The token to be used for the next query. If this parameter is empty, all results have been returned. |
AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR |
| Nodes |
array<object> |
The list of nodes. |
|
|
array<object> |
The node information. |
||
| CreateTime |
string |
The time when the node was created. |
1642472468000 |
| ExpiredTime |
string |
The expiration time of the machine. |
1762185600000 |
| Hostname |
string |
The hostname. |
72432f80-273e-11ed-b57a-acde48001122 |
| ImageId |
string |
The OS 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 machine. |
sn_tOuUk |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-b |
| Networks |
array<object> |
The network information. |
|
|
object |
The network information. |
||
| BondName |
string |
The name of the network interface on the machine. |
bond0 |
| Ip |
string |
The IP address of the machine in the virtual private cloud (VPC). |
192.168.22.2 |
| SubnetId |
string |
The subnet ID. |
subnet-fwekrvg9 |
| VpdId |
string |
The VPC ID. |
vpd-eoiy88ju |
| HpnZone |
string |
The cluster ID. |
A1 |
| VpcId |
string |
The VPC ID. |
vpc-f8zcet5mwerafyqlrhyoi |
| VSwitchId |
string |
The vSwitch ID. |
vsw-0jlohur7nhbxd1ttyq8p8 |
| OperatingState |
string |
The status of the node. Valid values:
|
Extending |
| Tags |
array<object> |
The tags. |
|
|
object |
The tag object. |
||
| Key |
string |
The tag key. |
alarm_xdc |
| Value |
string |
The tag value. |
true |
| TaskId |
string |
The task ID. |
i-skkdsdl83ksxxs3 |
| CommodityCode |
string |
The commodity code. |
bccluster_eflocomputing_public_cn |
| ImageName |
string |
The image name. |
Alinux3_x86_gu8xf_P_Host_D3_C7E3_550.127_Legacy_N_241230 |
| FileSystemMountEnabled |
boolean |
Indicates whether file storage mounting is supported. |
False |
| HyperNodeId |
string |
The hyper node ID. |
e01-cn-2r42tmj4z02 |
| NodeType |
string |
The node specifications. |
standard |
Examples
Success response
JSON format
{
"RequestId": "2BA76272-6608-5AEC-BBA8-B6F0D3D14CDB",
"NextToken": "AAAAAXW/ZB9TBvH+0ZK0phtCibQgQmu1RbqplAI6Velo2OKR",
"Nodes": [
{
"CreateTime": "1642472468000\n",
"ExpiredTime": "1762185600000",
"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",
"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.