getCloudHadoopMysqlInstanceList
  • PDF

getCloudHadoopMysqlInstanceList

  • PDF

可在 VPC 环境中使用。

概述

查询与Cloud Hadoop Hive Metastore进行关联的Cloud DB for MySQL (VPC)的实例列表。

请求

请求参数

参数名 是否必需 类型 限制事项 描述
regionCode No String - 区域代码
- 可决定拟测试是否可以关联Hive Metastore的区域(Region)。
- regionCode可通过getRegionList操作获取。
- (默认:选择getRegionList查询结果的第一个区域
cloudHadoopInstanceNo Yes String - 可以和拟关联Hive Metastore的Cloud DB for MySQL (VPC)进行连接的Cloud Hadoop实例编号
- cloudHadoopInstanceNo可通过getCloudHadoopInstanceList操作获取。
output No String - 响应结果的格式类型
- Options: xml | json
- Default: xml

响应

响应数据类型

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

示例

请求示例

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

响应示例

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

本文对您有帮助吗?