You can call the ListFlowClusterAllHosts operation to query the list of hosts that can be set to the whitelist in the project settings for a given cluster. Currently, Master and Gateway nodes are supported.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes ListFlowClusterAllHosts

The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to ListFlowClusterAllHosts.

ClusterId String Yes C-F32FB31D8295****

The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster.

ProjectId String Yes FP-3535FE0BE522****

The ID of the project. You can call ListFlowProject View the ID of the project.

RegionId String Yes cn-hangzhou

The region ID. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

Response parameters

Parameter Type Example Description
HostList Array of Host

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

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 instance.

Memory Integer 8

Memory, in 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

&<common request parameters>

Sample success responses

XML format


JSON Syntax

    "RequestId": "2E429517-6A50-4082-9A30-47755CE9F9A5",
    "HostList": {
        "Host": [
                "Status": "STARTING",
                "Role": "MASTER",
                "SerialNumber": "738d0af9-6ca3-46dd-a973-bab70da4bf74",
                "PublicIp": "47.**.**.**",
                "PrivateIp": "192.**.**.**",
                "Memory": 8,
                "Cpu": 4,
                "HostInstanceId": "i-bp1agi4417dx08si****",
                "HostId": "119555",
                "HostName": "emr-header-1.cluster-50015****"