Available in VPC
Overview
Get a list of Cloud Hadoop product codes.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code Determine the Region where the Cloud Hadoop instance will be queried. regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList query result. |
|
| productCode | No | String | - Cloud Hadoop image product code to query productCode can be obtained through productCode of the getCloudHadoopImageProductList action. |
|
| exclusionProductCode | No | String | - Cloud Hadoop image product code to exclude exclusionProductCode can be obtained through productCode of the getCloudHadoopImageProductList action. |
|
| output | No | String | - Respond result's format type Options: xml | json Default: json |
Response
Response data type
- ProductList type
| ProductList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List<Product> cloudMongoDbInstanceList = new ArrayList<>(); |
| Product |
|---|
| private String productCode; |
| private String productName; |
| private CommonCode productType; |
| private String productDescription; |
| private CommonCode infraResourceType; |
| private CommonCode infraResourceDetailType; |
| private Integer cpuCount; |
| private Long memorySize; |
| private Long osMemorySize; |
| private Long baseBlockStorageSize; |
| private CommonCode platformType; |
| private String osInformation; |
| private CommonCode diskType; |
| private String dbKindCode; |
| private Long addBlockStorageSize; |
| private String generationCode; |
Examples
Call
ncloud vhadoop getCloudHadoopImageProductList --regionCode KR --productCode SW.VCHDP.LNX64.CNTOS.0708.HDP.15.B050
Response
<getCloudHadoopImageProductListResponse>
<requestId>185e70ca-2831-43b2-b564-4db49c3f74ce</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>3</totalRows>
<productList>
<product>
<productCode>SW.VCHDP.LNX64.CNTOS.0708.HDP.13.B050</productCode>
<productName>Cloud Hadoop 1.3</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with Cloud Hadoop 1.3</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>CentOS 7.8 with Cloud Hadoop 1.3 (64-bit)</osInformation>
</product>
<product>
<productCode>SW.VCHDP.LNX64.CNTOS.0708.HDP.14.B050</productCode>
<productName>Cloud Hadoop 1.4</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with Cloud Hadoop 1.4</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>CentOS 7.8 with Cloud Hadoop 1.4 (64-bit)</osInformation>
</product>
<product>
<productCode>SW.VCHDP.LNX64.CNTOS.0708.HDP.16.B050</productCode>
<productName>Cloud Hadoop 1.6</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with Cloud Hadoop 1.6</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>CentOS 7.8 with Cloud Hadoop 1.6 (64-bit)</osInformation>
</product>
</productList>
</getCloudHadoopImageProductListResponse>