It can be used in a VPC environment.
Summary
Search the list of Object Storage buckets available to use with Cloud Hadoop.
Request
Request parameters
| Parameter name | Requirement status | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code - You can decide the region. - You can obtain the regionCode through the getRegionList action. - Default: Select the first region of the getRegionList search results |
|
| output | No | String | - Format type for the response results - Options : xml | json - Default : json |
Response
Responase data type
- CloudHadoopBucketList type
| CloudHadoopBucketList extends CommonResponse |
|---|
| private Integer totalRows; |
| private List<CloudHadoopBucket> cloudHadoopBucketList = new ArrayList<>(); |
| CloudHadoopBucket |
|---|
| private String bucket; |
Examples
Request example
ncloud vhadoop getCloudHadoopBucketList --regionCode KR
Response example
<getCloudHadoopBucketListResponse>
<requestId>b27bebc4-5816-4f79-b4b3-f529a0ba4659</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudHadoopBucketList>
<cloudHadoopBucket>
<bucket>****ket</bucket>
</cloudHadoopBucket>
</cloudHadoopBucketList>
</getCloudHadoopBucketListResponse>