getCloudHadoopClusterTypeList

Prev Next

개요

클러스터 버전에 따른 Cloud Hadoop 클러스터 Type을 조회합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
regionCode No String - 리전 코드
리전(Region)을 결정 가능
regionCode는 getRegionList 액션을 통해서 획득 가능
Default : getRegionList 조회 결과의 첫 번째 리전을 선택
cloudHadoopImageProductCode Yes String - Cloud Hadoop 이미지 상품 코드
cloudHadoopImageProductCode는 getCloudHadoopImageProductList 액션의 productCode로 획득 가능
output No String - 응답 결과의 포맷 타입
Options : xml | json
Default : json

응답

응답 데이터 타입

  • CloudHadoopClusterTypeList 타입
CloudHadoopClusterTypeList extends CommonResponse
private Integer totalRows;
private List<CloudHadoopClusterType> cloudHadoopClusterTypeList = new ArrayList<>();
CloudHadoopClusterType
private String code;
private String codeName;

예시

호출

ncloud vhadoop getCloudHadoopClusterTypeList --regionCode FKR --cloudHadoopImageProductCode SW.VCHDP.LNX64.CNTOS.0708.HDP.15.B050

응답

<getCloudHadoopClusterTypeListResponse>
  <requestId>success</requestId>
  <returnCode>0</returnCode>
  <cloudHadoopClusterTypeList>
    <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>
  </cloudHadoopClusterTypeList>
</getCloudHadoopClusterTypeListResponse>