getCloudHadoopMysqlInstanceList
- 인쇄
- PDF
getCloudHadoopMysqlInstanceList
- 인쇄
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
VPC 환경에서 이용 가능합니다.
Cloud Hadoop Hive 메타스토어와 연동할 Cloud DB for MySQL (VPC)의 인스턴스 리스트를 조회합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | - 리전 코드 - Hive 메타스토어를 연동가능한 지 테스트 할 리전(Region)을 결정 가능 - regionCode는 getRegionList 액션을 통해서 획득 가능 - Default: getRegionList 조회 결과의 첫 번째 리전을 선택 | |
cloudHadoopInstanceNo | Yes | String | - Hive 메타스토어를 연동할 Cloud DB for MySQL (VPC)과 연결이 가능한 Cloud Hadoop 인스턴스 번호 - cloudHadoopInstanceNo는 getCloudHadoopInstanceList 액션을 통해서 획득 가능 | |
responseFormatType | No | String | - 응답 결과의 포맷 타입 - Options: xml | json - Default: xml |
요청 헤더
요청 바디
{
"regionCode": "string",
"cloudHadoopInstanceNo": "string",
"responseFormatType": "string"
}
응답
응답 바디
{
"requestId": "string",
"returnCode": "string",
"returnMessage": "string",
"totalRows": 0,
"cloudMysqlInstanceListForHiveMetaStore": {
"CloudMysqlInstanceListForHiveMetaStore": [
{
"cloudMysqlInstanceNo": "string",
"cloudMysqlInstanceName": "string",
"vpcName": "string"
}
]
}
}
오류코드
예시
요청 예시
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>
이 문서가 도움이 되었습니까?