getCloudMongoDbBucketList
    • PDF

    getCloudMongoDbBucketList

    • PDF

    Article summary

    Available in VPC

    View a list of Object Storage buckets available in Cloud DB for MongoDB.

    Commands

    The command syntax is as follows:

    ncloud vmongodb getCloudMongoDbBucketList [regionCode] [cloudMongoDbInstanceNo] [output]
    

    Parameter

    Descriptions of parameters are as follows:

    ParameterTypeRequiredDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained via the getRegionList action
    - default: selects the first region of the getRegionList search results
    -
    cloudMongoDbInstanceNoStringYCloud DB for MongoDB server instance number
    - cloudMongoDbInstanceNo can be obtained via the getCloudMongoDbInstanceList action
    -When entered, view Object Storage bucket lists accessible from the instance
    -
    outputStringNFormat type of the response
    - options: xml | json
    - default: json
    -

    Responses

    Response data type

    • CloudMongoDbBucketList type
    CloudMongoDbBucketList extends CommonResponseDescription
    private Integer totalRows;Total number of items viewed
    private List<CloudMongoDbBucket> cloudMongoDbBucketList = new ArrayList<>();Cloud DB for MongoDb bucket list
    • CloudMongoDbBucket type
    CloudMongoDbBucketDescription
    private String bucketName;Cloud DB for MongoDb bucket

    Examples

    Request examples

    ncloud vMongoDb getCloudMongoDbBucketList --regionCode KR --cloudMongoDbInstanceNo ****891
    

    Response examples

    The following are examples of responses:

    If the response shows that format type (output) is JSON

    {
      "getCloudMongoDbBucketListResponse": {
        "requestId": "40cb968e-72ef-42d3-adc3-e392e8f7cc99",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 2,
        "cloudMongoDbBucketList": [
          {
            "bucketName": "bucket***"
          },
          {
            "bucketName": "bucket***"
          }
        ]
      }
    }
    

    If the response shows that format type (output) is XML

    
    <getCloudMongoDbBucketListResponse>
        <requestId>40cb968e-72ef-42d3-adc3-e392e8f7cc99</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>2</totalRows>
        <cloudMongoDbBucketList>
            <cloudMongoDbBucket>
                <bucketName>bucket***</bucketName>
            </cloudMongoDbBucket>
            <cloudMongoDbBucket>
                <bucketName>bucket***</bucketName>
            </cloudMongoDbBucket>
        </cloudMongoDbBucketList>
    </getCloudMongoDbBucketListResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.