getCloudHadoopMysqlInstanceList
- Print
- PDF
getCloudHadoopMysqlInstanceList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Search Instance list of Cloud DB for MySQL (VPC), which will be connected to Cloud Hadoop Hive metastore.
Requests
Request Parameters
Parameter Name | Requirement Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code - Able to determine a region to test whether the Hive metastore can be connected - The regionCode can be obtained by the getRegionList action. - Default: the first Region of the getRegionList search results is selected. | |
cloudHadoopInstanceNo | Yes | String | - The Cloud Hadoop instance number connectable to the Cloud DB for MySQL (VPC) to connect the Hive metastore - The cloudHadoopInstanceNo can be obtained by the getCloudHadoopInstanceList action. | |
responseFormatType | No | String | - Format type of the response result - Options: xml | json - Default: xml |
Request headers
See Cloud Hadoop(VPC) overview.
Request bodies
{
"regionCode": "string",
"cloudHadoopInstanceNo": "string",
"responseFormatType": "string"
}
Responses
Response bodies
{
"requestId": "string",
"returnCode": "string",
"returnMessage": "string",
"totalRows": 0,
"cloudMysqlInstanceListForHiveMetaStore": {
"CloudMysqlInstanceListForHiveMetaStore": [
{
"cloudMysqlInstanceNo": "string",
"cloudMysqlInstanceName": "string",
"vpcName": "string"
}
]
}
}
Errors
See Cloud Hadoop(VPC) overview.
Examples
Request Examples
GET {API_URL}/getCloudHadoopMysqlInstanceList
?regionCode=KR
&cloudHadoopInstanceNo=823***
Response examples
{
"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>
Was this article helpful?