Available in VPC
Get cluster images available for use in Cloud Hadoop.
Syntax
The getCloudHadoopImageProductList syntax is as follows:
./ncloud vhadoop getCloudHadoopImageProductList \
[--productCode <product-code>] \
[--exclusionProductCode <exclusion-product-code>] \
[--generationCode <G2|G3>] \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudHadoopImageProductList.
Optional options
These are the optional options for getCloudHadoopImageProductList. Options that are not specified will use their default values.
| Options | Type | Required | Description |
|---|---|---|---|
--productCode |
String | Optional | Cluster image code to query |
--exclusionProductCode |
String | Optional | Cluster image code to exclude |
--generationCode |
String | Optional | Server generation code
|
Common options
For information about the options common to all vhadoop subcommands, see Cloud Hadoop (VPC) options.
Examples
If the request to retrieve the list of Cloud Hadoop cluster images is successful, the identification information and platform details for each image are returned.
Command
The command example is as follows:
./ncloud vhadoop getCloudHadoopImageProductList \
--exclusionProductCode SW.VCHDP.OS.LNX64.ROCKY.08.HDP.B050.G003 \
--generationCode G2 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudHadoopImageProductListResponse": {
"totalRows": 2,
"productList": [
{
"productCode": "SW.VCHDP.OS.LNX64.ROCKY.0810.HDP.B050",
"productName": "Cloud Hadoop",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "Rocky Linux 8.10 with Cloud Hadoop",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"infraResourceDetailType": {
"code": "GEN",
"codeName": "General"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with Cloud Hadoop (64-bit)",
"generationCode": "G2",
"engineVersionCode": "HADOOP2.2"
},
{
"productCode": "SW.VCHDP.OS.LNX64.ROCKY.0810.HDP.B050",
"productName": "Cloud Hadoop",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "Rocky Linux 8.10 with Cloud Hadoop",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"infraResourceDetailType": {
"code": "GEN",
"codeName": "General"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with Cloud Hadoop (64-bit)",
"generationCode": "G2",
"engineVersionCode": "HADOOP2.3"
}
],
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"returnCode": "0",
"returnMessage": "success"
}
}