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.

getCloudHadoopMysqlUserList

Prev Next

개요

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

요청

요청 파라미터

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

응답

응답 데이터 타입

  • CloudMysqlUserListForHiveMetaStore 타입
CloudMysqlUserListForHiveMetaStore extends CommonResponse
private Integer totalRows;
private List<CloudMysqlUserForHiveMetaStore> cloudMysqlUserListForHiveMetaStore = new ArrayList<>();
CloudMysqlUserForHiveMetaStore
private String userName;
private String hostIp;
private String authority;

예시

호출

ncloud vhadoop getCloudHadoopMysqlUserList --regionCode FKR --cloudMysqlInstanceNo 823***

응답

<CloudMysqlUserListForHiveMetaStoreResponse>
    <requestId>305113ee-d4b7-4709-805b-0a59aba07bc4</requestId>
    <returnCode>0</returnCode>
    <totalRows>1</totalRows>
    <cloudMysqlUserListForHiveMetaStore>
        <cloudMysqlUserForHiveMetaStore>
            <userName>****</userName>
            <hostIp>%</hostIp>
            <authority>DDL</authority>
        </cloudMysqlUserForHiveMetaStore>
    </cloudMysqlUserListForHiveMetaStore>
</CloudMysqlUserListForHiveMetaStoreResponse>