getCloudHadoopMysqlUserList
    • PDF

    getCloudHadoopMysqlUserList

    • PDF

    Article Summary

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

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

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    - Hive 메타스토어를 연동가능한 지 테스트 할 리전(Region)을 결정 가능
    - regionCode는 getRegionList 액션을 통해서 획득 가능
    Default: getRegionList 조회 결과의 첫 번째 리전을 선택
    cloudMysqlInstanceNoYesString- Hive 메타스토어를 연동할 Cloud DB for MySQL의 인스턴스 번호
    - 오직 DDL권한만 가진 Cloud DB for MySQL 유저 정보만 조회 가능
    - cloudMysqlInstanceNo는 getCloudHadoopMysqlInstanceList 액션을 통해서 획득 가능
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    - Options: xml | json
    - Default: xml

    요청 헤더

    공통 가이드 참조

    요청 바디

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

    응답

    응답 바디

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

    오류 코드

    Cloud Hadoop 개요 참조

    예시

    요청 예시

    GET {API_URL}/getCloudHadoopMysqlUserList
    ?regionCode=FKR
    &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.