getCloudHadoopInstanceList
  • PDF

getCloudHadoopInstanceList

  • PDF

It can be used in a VPC environment.

Summary

Search a list of Cloud Hadoop instances.

Request

Request parameters

Parameter name Requirement status Type Restrictions Description
regionCode No String - Region code
- You can decide the region where the list of Cloud Hadoop instances will be searched.
- You can obtain the regionCode through the getRegionList action.
- Default: Select the first region of the getRegionList search results
zoneCode No String - Zone code
- You can decide the zone in which the list of Cloud Hadoop instances will be searched.
- You can obtain the zoneCode through the getZoneList action.
vpcNo No String - VPC number
- You can decide the VPC in which the list of Cloud Hadoop instances will be searched.
- You can obtain the vpcNo through the getVpcList action.
subnetNo No String - Subnet number
- You can decide the subnet in which the list of Cloud Hadoop instances will be searched.
- You can obtain the SubnetNo through the getSubnetList action.
cloudHadoopClusterName No String - cloudHadoopClusterName
- You can filter your search with a Cloud Hadoop Cluster name.
- You can obtain the cloudHadoopClusterName through the getCloudHadoopInstanceList action.
cloudHadoopInstanceNoList No List<String> - List of Cloud Hadoop instance numbers
- You can filter your search with a Cloud Hadoop instance number.
- You can obtain the cloudHadoopInstanceNoList through the getCloudHadoopInstanceList action.
- ex) cloudHadoopInstanceNoList 1234 2345
cloudHadoopServerName No String - Cloud Hadoop server name
- You can filter your search with a Cloud Hadoop server name.
- You can obtain the cloudHadoopServerName through the getCloudHadoopInstanceList action.
cloudHadoopServerInstanceNoList No List<String> - List of Cloud Hadoop server instance numbers
- You can filter your search with a Cloud Hadoop server instance number.
- You can obtain the cloudHadoopServerInstanceNoList through the getCloudHadoopInstanceList action.
- ex) cloudHadoopServerInstanceNoList 1234 2345
pageNo No Integer Min: 0 - Page number of the paged results
- The results can be paged using pageNo and pageSize.
pageSize Conditional Integer Min: 1 - Each page size to be displayed when paging
- The results can be paged using pageNo and pageSize.
- Entering this info is required when pageNo is entered.
output No String - Format type for the response results
- Options : xml | json
- Default : json

Response

Response data type

  • CloudHadoopInstanceList type
CloudHadoopInstanceList extends CommonResponse
private Integer totalRows;
private List<CloudHadoopInstance> cloudHadoopInstanceList = new ArrayList<>();
CloudHadoopInstance
private String cloudHadoopInstanceNo;
private String cloudHadoopClusterName;
private String cloudHadoopInstanceStatusName;
private CommonCode cloudHadoopInstanceStatus;
private CommonCode cloudHadoopInstanceOperation;
private CloudHadoopClusterType cloudHadoopClusterType;
private CloudHadoopVersion cloudHadoopVersion;
private List<CloudHadoopAddOn> cloudHadoopAddOnList
private String ambariServerHost;
private String clusterDirectAccessAccount;
private String loginKey;
private String objectStorageBucket;
private String kdcRealm;
private String cloudHadoopImageProductCode;
private Boolean isHa;
private String domain;
private AccessControlGroupNoList accessControlGroupNoList;
private Date createDate;
private List<CloudHadoopServerInstance> cloudHadoopServerInstanceList;
CloudHadoopAddOn
private String code;
private String codeName;
CloudHadoopClusterType
private String code;
private String codeName;
CloudHadoopVersion
private String code;
private String codeName;
AccessControlGroupNoList
private List<String> accessControlGroupNoList = new ArrayList<>();
CloudHadoopServerInstance
private String cloudHadoopServerInstanceNo;
private String cloudHadoopServerName;
private String cloudHadoopServerInstanceStatusName;
private CommonCode cloudHadoopServerInstanceStatus;
private CommonCode cloudHadoopServerInstanceOperation;
private CommonCode cloudHadoopServerRole;
private String regionCode;
private String vpcNo;
private String subnetNo;
private Date createDate;
private Date uptime;
private String zoneCode;
private Long memorySize;
private Integer cpuCount;
private Boolean isPublicSubnet;
private Long dataStorageSize;
private String cloudHadoopProductCode;
private CommonCode dataStorageType;

Examples

Request example

ncloud vhadoop getCloudHadoopInstanceList --regionCode KR --zoneCode KR-1 --vpcNo ***87 --subnetNo ***32 --cloudHadoopClusterName test-**** --cloudHadoopInstanceNoList 178**** --cloudHadoopServerName test-**** --cloudHadoopServerInstanceNoList 1781*** --pageNo 0 --pageSize 10

Response example

<getCloudHadoopInstanceListResponse>
    <requestId>74dd4dd4-9fa3-49a9-b001-86cfd2931a4a</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <cloudHadoopInstanceList>
        <cloudHadoopInstance>
            <cloudHadoopInstanceNo>1912200</cloudHadoopInstanceNo>
            <cloudHadoopClusterName>fasdasd</cloudHadoopClusterName>
            <cloudHadoopInstanceStatusName>running</cloudHadoopInstanceStatusName>
            <cloudHadoopInstanceStatus>
                <code>CREAT</code>
                <codeName>CLOUD DATABASE(VPC) Created State</codeName>
            </cloudHadoopInstanceStatus>
            <cloudHadoopInstanceOperation>
                <code>NULL</code>
                <codeName>CLOUD DATABASE(VPC) Null OP</codeName>
            </cloudHadoopInstanceOperation>
            <cloudHadoopClusterType>
                <code>CORE_HADOOP_WITH_SPARK</code>
                <codeName>Core Hadoop with Spark : HDFS(3.1.1), YARN(3.1.1), Zookeeper(3.4.6), Ranger(1.2.0), HIVE(3.1.0), Hue(4.3.0), Zepplin Notebook(0.8.0), Spark(2.3.2)</codeName>
            </cloudHadoopClusterType>
            <cloudHadoopVersion>
                <code>SW.VCHDP.LNX64.CNTOS.0708.HDP.15.B050</code>
            </cloudHadoopVersion>
            <cloudHadoopImageProductCode>SW.VCHDP.LNX64.CNTOS.0708.HDP.15.B050</cloudHadoopImageProductCode>
            <cloudHadoopServerInstanceList>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>D</code>
                        <codeName>Date Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>**65</vpcNo>
                    <subnetNo>**23</subnetNo>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>4</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>D</code>
                        <codeName>Date Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>**65</vpcNo>
                    <subnetNo>**23</subnetNo>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>4</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>E</code>
                        <codeName>Edge Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>1665</vpcNo>
                    <subnetNo>2020</subnetNo>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>4</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>M</code>
                        <codeName>Master Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>1665</vpcNo>
                    <subnetNo>2020</subnetNo>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>8</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
                <cloudHadoopServerInstance>
                    <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                    <cloudHadoopServerName>****</cloudHadoopServerName>
                    <cloudHadoopServerRole>
                        <code>M</code>
                        <codeName>Master Node</codeName>
                    </cloudHadoopServerRole>
                    <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                    <cloudHadoopServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudHadoopServerInstanceStatus>
                    <cloudHadoopServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudHadoopServerInstanceOperation>
                    <regionCode>KR</regionCode>
                    <zoneCode>KR-2</zoneCode>
                    <vpcNo>1665</vpcNo>
                    <subnetNo>2020</subnetNo>
                    <dataStorageSize>107374182400</dataStorageSize>
                    <cpuCount>8</cpuCount>
                    <memorySize>34359738368</memorySize>
                </cloudHadoopServerInstance>
            </cloudHadoopServerInstanceList>
        </cloudHadoopInstance>
    </cloudHadoopInstanceList>
</getCloudHadoopInstanceListResponse>

Was this article helpful?