getCloudHadoopMysqlUserList

Prev Next

VPC 환경에서 이용 가능합니다.

개요

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

요청

요청 파라미터

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