getCloudHadoopNotebookProductList

Prev Next

Available in VPC

Get the types of the notebook node server that can be used in Cloud Hadoop.

Syntax

The getCloudHadoopNotebookProductList syntax is as follows:

./ncloud vhadoop getCloudHadoopNotebookProductList \
    --cloudHadoopNotebookImageProductCode <notebook-image-product-code> \
    [--zoneCode <zone-code>] \
    [--productCode <product-code>] \
    [--exclusionProductCode <exclusion-product-code>] \
    [--infraResourceDetailTypeCode <NTBND>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getCloudHadoopNotebookProductList.

Required options

The following options are required for getCloudHadoopNotebookProductList.

Options Type Required Description
--cloudHadoopNotebookImageProductCode String Required Notebook image code

Optional options

These are the optional options for getCloudHadoopNotebookProductList. Options that are not specified will use their default values.

Options Type Required Description
--zoneCode String Optional Zone code
--productCode String Optional Notebook node server type code to query
--exclusionProductCode String Optional Notebook node server type code to exclude
--infraResourceDetailTypeCode String Optional Laptop detailed type code
  • NTBND: Laptop node

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 node server types is successful, the identification information and specifications for each server type are returned.

Command

The command example is as follows:

./ncloud vhadoop getCloudHadoopNotebookProductList \
    --cloudHadoopNotebookImageProductCode SW.VCHDP.OS.LNX64.ROCKY.0810.HDNTB.B050 \
    --zoneCode KR-2 \
    --exclusionProductCode SVR.VCHDP.NTBND.HIMEM.C008.M064.NET.HDD.B050.G002 \    
    --infraResourceDetailTypeCode NTBND \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudHadoopNotebookProductListResponse": {
    "totalRows": 4,
    "productList": [
      {
        "productCode": "SVR.VCHDP.NTBND.STAND.C004.M016.NET.HDD.B050.G002",
        "productName": "vCPU 4EA, Memory 16GB, Disk 50GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "4 vCPUs, 16 GB memory, 50 GB disk",
        "infraResourceType": {
          "code": "VCHDP",
          "codeName": "Cloud Hadoop (VPC)"
        },
        "infraResourceDetailType": {
          "code": "NTBND",
          "codeName": "Notebook Node"
        },
        "cpuCount": 4,
        "memorySize": 17179869184,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VCHDP.NTBND.HIMEM.C004.M032.NET.HDD.B050.G002",
        "productName": "vCPU 4EA, Memory 32GB, Disk 50GB",
        "productType": {
          "code": "HIMEM",
          "codeName": "High Memory"
        },
        "productDescription": "4 vCPUs, 32 GB memory, 50 GB disk",
        "infraResourceType": {
          "code": "VCHDP",
          "codeName": "Cloud Hadoop (VPC)"
        },
        "infraResourceDetailType": {
          "code": "NTBND",
          "codeName": "Notebook Node"
        },
        "cpuCount": 4,
        "memorySize": 34359738368,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VCHDP.NTBND.HICPU.C008.M016.NET.HDD.B050.G002",
        "productName": "vCPU 8EA, Memory 16GB, Disk 50GB",
        "productType": {
          "code": "HICPU",
          "codeName": "High CPU"
        },
        "productDescription": "8 vCPUs, 16 GB memory, 50 GB disk",
        "infraResourceType": {
          "code": "VCHDP",
          "codeName": "Cloud Hadoop (VPC)"
        },
        "infraResourceDetailType": {
          "code": "NTBND",
          "codeName": "Notebook Node"
        },
        "cpuCount": 8,
        "memorySize": 17179869184,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      },
      {
        "productCode": "SVR.VCHDP.NTBND.STAND.C008.M032.NET.HDD.B050.G002",
        "productName": "vCPU 8EA, Memory 32GB, Disk 50GB",
        "productType": {
          "code": "STAND",
          "codeName": "Standard"
        },
        "productDescription": "8 vCPUs, 32 GB memory, 50 GB disk",
        "infraResourceType": {
          "code": "VCHDP",
          "codeName": "Cloud Hadoop (VPC)"
        },
        "infraResourceDetailType": {
          "code": "NTBND",
          "codeName": "Notebook Node"
        },
        "cpuCount": 8,
        "memorySize": 34359738368,
        "diskType": {
          "code": "NET",
          "codeName": "Network storage"
        }
      }
    ],
    "requestId": "4b5c6d7e-2f30-189a-4567-bcdef0189abc",
    "returnCode": "0",
    "returnMessage": "success"
  }
}