Documentation Index

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

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

getCloudHadoopMysqlUserList

Prev Next

VPC 環境で利用できます。

概要

Cloud Hadoop Hiveメタストアと連携するCloud DB for MySQL (VPC)のユーザーリストを照会します。

リクエスト

リクエストパラメータ

パラメータ名 必須の有無 タイプ 制約事項 説明
regionCode No String - リージョンコード
- Hiveメタストアを連携できるかどうかテストするリージョン(Region)を決定できます。
- regionCodeは、getRegionListアクションを通じて取得できます。
- デフォルト: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>