getCloudHadoopNotebookBucketList

Prev Next

Available in VPC

Get the list of Object Storage buckets available for use in a Cloud Hadoop notebook.

Syntax

The getCloudHadoopNotebookBucketList syntax is as follows:

./ncloud vhadoop getCloudHadoopNotebookBucketList \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getCloudHadoopNotebookBucketList.

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 Object Storage buckets available in the Cloud Hadoop notebook is successful, the names of each bucket are returned.

Command

The command example is as follows:

./ncloud vhadoop getCloudHadoopNotebookBucketList \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudHadoopNotebookBucketListResponse": {
    "totalRows": 1,
    "cloudHadoopNotebookBucketList": [
      {
        "bucketName": "my-test-bucket"
      }
    ],
    "requestId": "6d7e8f90-4152-3abc-6789-def0123abcde",
    "returnCode": "0",
    "returnMessage": "success"
  }
}