getCloudHadoopMysqlInstanceList
  • PDF

getCloudHadoopMysqlInstanceList

  • PDF

Can be used in a VPC environment.

Overview

It searches the instance list of Cloud DB for MySQL (VPC) to be linked to the Cloud Hadoop Hive metastore.

Request

Request parameter

Parameter name Requirement status Type Restrictions Description
regionCode No String Region code
You can decide the region to test whether Hive metastore linkage is possible.
You can obtain the regionCode through the getRegionList action.
Default: Selects the first region of the getRegionList search results.
cloudHadoopInstanceNo Yes String Cloud Hadoop instance number that can be connected to the Cloud DB for MySQL (VPC) to be linked to the Hive metastore
You can obtain the cloudHadoopInstanceNo through the getCloudHadoopInstanceList action.
output No String Format type for the response result
Options: xml | json
Default: xml

Response

Response data type

  • CloudMysqlInstanceListForHiveMetaStore type
CloudMysqlInstanceListForHiveMetaStore extends CommonResponse
private Integer totalRows;
private List<CloudMysqlInstanceForHiveMetaStore> cloudMysqlInstanceListForHiveMetaStore = new ArrayList<>();
CloudMysqlInstanceForHiveMetaStore
private String cloudMysqlInstanceNo;
private String cloudMysqlInstanceName;
private String vpcName;

Examples

Request example

ncloud vhadoop getCloudHadoopMysqlInstanceList --regionCode KR --cloudHadoopInstanceNo 823***

Response example

<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?