Available in VPC
Get the list of Object Storage buckets available to use in Cloud Hadoop.
Syntax
The getCloudHadoopBucketList syntax is as follows:
./ncloud vhadoop getCloudHadoopBucketList \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudHadoopBucketList.
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 Cloud Hadoop is successful, the names of each bucket are returned.
Command
The command example is as follows:
./ncloud vhadoop getCloudHadoopBucketList \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudHadoopBucketListResponse": {
"totalRows": 1,
"cloudHadoopBucketList": [
{
"bucketName": "my-test-bucket"
}
],
"requestId": "e5f60718-c9da-b234-ef01-56789ab23456",
"returnCode": "0",
"returnMessage": "success"
}
}