getCloudHadoopMysqlUserList
    • PDF

    getCloudHadoopMysqlUserList

    • PDF

    Article Summary

    VPC環境で利用できます。

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

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString- リージョンコード
    - Hiveメタストアの連携可否をテストするリージョン(Region)を決定可能
    - regionCodeは、getRegionListアクションを通じて取得可能
    Default: getRegionList照会結果の最初のリージョンを選択
    cloudMysqlInstanceNoYesString- Hiveメタストアを連携する Cloud DB for MySQL (VPC)のインスタンス番号
    - DDL権限のみを持つ Cloud DB for MySQL (VPC)のユーザー情報のみ照会可能
    - cloudMysqlInstanceNoは、getCloudHadoopMysqlInstanceListアクションを通じて取得可能
    responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
    - Options: xml | json
    - Default: xml

    リクエストヘッダ

    Cloud Hadoop(VPC) の概要を参照

    リクエストボディ

    {
      "regionCode": "string",
      "cloudMysqlInstanceNo": "string",
      "responseFormatType": "string"
    }
    

    レスポンス

    レスポンスボディ

    {
      "requestId": "string",
      "returnCode": "string",
      "returnMessage": "string",
      "totalRows": 0,
      "cloudMysqlUserListForHiveMetaStore": {
        "CloudMysqlUserListForHiveMetaStore": [
          {
            "userName": "string",
            "hostIp": "string",
            "authority": "string"
          }
        ]
      }
    }
    

    エラーコード

    Cloud Hadoop(VPC) の概要を参照

    リクエスト例

    GET {API_URL}/getCloudHadoopMysqlUserList
    ?regionCode=KR
    &cloudMysqlInstanceNo=823***
    

    レスポンス例

    {
      "CloudMysqlUserListForHiveMetaStoreResponse": {
        "totalRows": 1,
        "cloudMysqlUserListForHiveMetaStore": [
          {
            "userName": "test",
            "hostIp": "%",
            "authority": "DDL"
          }
        ],
        "requestId": "678dc377-a8f1-4848-a96e-492dbf9529fc",
        "returnCode": "0"
      }
    }
    
    <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>
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.