getCloudHadoopMysqlInstanceList
    • PDF

    getCloudHadoopMysqlInstanceList

    • PDF

    Article Summary

    VPC環境で利用できます。

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

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString- リージョンコード
    - Hiveメタストアの連携可否をテストするリージョン(Region)を決定可能
    - regionCodeは、getRegionListアクションを通じて取得可能
    - Default: getRegionList照会結果の最初のリージョンを選択
    cloudHadoopInstanceNoYesString- Hiveメタストアを連携する Cloud DB for MySQL (VPC)と接続可能な Cloud Hadoopのインスタンス番号
    - cloudHadoopInstanceNoは、getCloudHadoopInstanceListアクションを通じて取得可能
    responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
    - Options: xml | json
    - Default: xml

    リクエストヘッダ

    Cloud Hadoop(VPC) の概要を参照

    リクエストボディ

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

    レスポンス

    レスポンスボディ

    {
      "requestId": "string",
      "returnCode": "string",
      "returnMessage": "string",
      "totalRows": 0,
      "cloudMysqlInstanceListForHiveMetaStore": {
        "CloudMysqlInstanceListForHiveMetaStore": [
          {
            "cloudMysqlInstanceNo": "string",
            "cloudMysqlInstanceName": "string",
            "vpcName": "string"
          }
        ]
      }
    }
    

    エラーコード

    Cloud Hadoop(VPC) の概要を参照

    リクエスト例

    GET {API_URL}/getCloudHadoopMysqlInstanceList
    ?regionCode=KR
    &cloudHadoopInstanceNo=823***
    

    レスポンス例

    {
      "CloudMysqlInstanceListForHiveMetaStoreResponse": {
        "totalRows": 1,
        "cloudMysqlInstanceListForHiveMetaStore": [
          {
            "cloudMysqlInstanceNo": "18**283",
            "cloudMysqlInstanceName": "test",
            "vpcName": "vpc4hadoop"
          }
        ],
        "requestId": "e149ea85-1da3-****-8578-7e606f2058ef",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    
    <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>
                <vpcName>****-vpc-exercise</vpcName>
            </cloudMysqlInstanceForHiveMetaStore>
        </cloudMysqlInstanceListForHiveMetaStore>
    </CloudMysqlInstanceListForHiveMetaStoreResponse>
    

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

    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.