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.