Available in VPC
Get notebook images available for use in Cloud Hadoop.
Syntax
The getCloudHadoopNotebookImageProductList syntax is as follows:
./ncloud vhadoop getCloudHadoopNotebookImageProductList \
[--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 getCloudHadoopNotebookImageProductList.
Optional options
These are the optional options for getCloudHadoopNotebookImageProductList. Options that are not specified will use their default values.
| Options | Type | Required | Description |
|---|---|---|---|
--productCode |
String | Optional | Notebook image code to query |
--exclusionProductCode |
String | Optional | Notebook 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 notebook images is successful, the identification and platform information for each image will be returned.
Command
The command example is as follows:
./ncloud vhadoop getCloudHadoopNotebookImageProductList \
--exclusionProductCode SW.VCHDP.OS.LNX64.ROCKY.08.HDNTB.B050.G003 \
--generationCode G2 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudHadoopNotebookImageProductListResponse": {
"totalRows": 1,
"productList": [
{
"productCode": "SW.VCHDP.OS.LNX64.ROCKY.0810.HDNTB.B050",
"productName": "Cloud Hadoop - Notebook",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "Rocky Linux 8.10 with Cloud Hadoop",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"infraResourceDetailType": {
"code": "NTB",
"codeName": "Notebook"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with Cloud Hadoop (64-bit)",
"generationCode": "G2",
"engineVersionCode": "NOTEBOOK1.1"
}
],
"requestId": "3a4b5c6d-1e2f-0789-3456-abcdef0789ab",
"returnCode": "0",
"returnMessage": "success"
}
}