You can call this operation to specify a cluster and query the member hosts that you can add to the whitelist. You can only add hosts to the whitelist in the cluster setting after adding the cluster to a project. Only gateway hosts and master hosts are supported.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListFlowClusterAllHosts

The operation that you want to perform. Set the value to ListFlowClusterAllHosts.

ClusterId String Yes C-F32FB31D82954C64

The ID of the cluster.

ProjectId String Yes FP-3535FE0BE5224A47

The ID of the project.

RegionId String Yes cn-hangzhou

The ID of the region where your project resides.

Response parameters

Parameter Type Example Description

The list of hosts that can be added to the whitelist in the specified cluster.


The information of the host.

Cpu Integer 4

The number of vCPUs of the host.

HostId String 119555

The ID of the host.

HostInstanceId String i-bp1agi4417dx08sig82j

The ID of the ECS instance.

HostName String emr-header-1.cluster-500159692

The name of the host.

InstanceType String ecs.n4.xlarge

The type of the ECS instance.

Memory Integer 8

The memory of the host. Unit: GB.

PrivateIp String

The internal IP address of the host.

PublicIp String

The public IP address of the host.

Role String CORE

The role of the host.

SerialNumber String 6dc097b0-5e92-4e08-a49e-37c26c78cf9f

The serial number of the host.

Status String STARTING

The status of the host.

Type String VM

The type of the host.

RequestId String 2E429517-6A50-4082-9A30-47755CE9F9A5

The ID of the request.


Sample requests

/? ClusterId=C-F32FB31D82954C64
&<Common request parameters>

Sample success responses

XML format

			      <PublicIp>47. **. ***. ***</PublicIp>
			      <PrivateIp>192. ***. ***. ***</PrivateIp>

JSON format

				"PublicIp":"47. **. ***. ***",
				"PrivateIp":"192. ***. ***. ***",

Error codes

For a list of error codes, visit the API Error Center.