Documentation Index

Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getCloudHadoopMysqlInstanceList

Prev Next

개요

Cloud Hadoop Hive 메타스토어와 연동할 Cloud DB for MySQL의 인스턴스 리스트를 조회합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
regionCode No String - 리전 코드
- Hive 메타스토어를 연동 가능한 지 테스트 할 리전(Region)을 결정 가능
- regionCode는 getRegionList 액션을 통해서 획득 가능
- Default: getRegionList 조회 결과의 첫 번째 리전을 선택
cloudHadoopInstanceNo Yes String - Hive 메타스토어를 연동할 Cloud DB for MySQL과 연결이 가능한 Cloud Hadoop 인스턴스 번호
- cloudHadoopInstanceNo는 getCloudHadoopInstanceList 액션을 통해서 획득 가능
output No String - 응답 결과의 포맷 타입
- Options: xml | json
- Default: xml

응답

응답 데이터 타입

  • CloudMysqlInstanceListForHiveMetaStore 타입
CloudMysqlInstanceListForHiveMetaStore extends CommonResponse
private Integer totalRows;
private List<CloudMysqlInstanceForHiveMetaStore> cloudMysqlInstanceListForHiveMetaStore = new ArrayList<>();
CloudMysqlInstanceForHiveMetaStore
private String cloudMysqlInstanceNo;
private String cloudMysqlInstanceName;
private String vpcName;

예시

호출

ncloud vhadoop getCloudHadoopMysqlInstanceList --regionCode FKR --cloudHadoopInstanceNo 823***

응답

<CloudMysqlInstanceListForHiveMetaStoreResponse>
    <requestId>f2386914-c6b3-432f-83d4-2884e9039cdb</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>2</totalRows>
    <cloudMysqlInstanceListForHiveMetaStore>
        <cloudMysqlInstanceForHiveMetaStore>
            <cloudMysqlInstanceNo>****855</cloudMysqlInstanceNo>
            <cloudMysqlInstanceName>****sc</cloudMysqlInstanceName>
            <vpcName>****-vpc-exercise</vpcName>
        </cloudMysqlInstanceForHiveMetaStore>
        <cloudMysqlInstanceForHiveMetaStore>
            <cloudMysqlInstanceNo>****222</cloudMysqlInstanceNo>
            <cloudMysqlInstanceName>****sds</cloudMysqlInstanceName>ceForHiveMetaStore>
    </cloudMysqlInstanceListForHiveMetaStore>
</CloudMysqlInstanceListForHiveMetaStoreResponse>