Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getCloudMssqlBucketList

Prev Next

The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.

Available in VPC

View a list of Object Storage Bucket.

Commands

The text of the command is as follows:

ncloud vmssql getCloudMssqlBucketList [regionCode] [cloudMssqlInstanceNo] [cloudMssqlServerName] [output]

Parameter

The following is a description on parameters.

Parameter Type Required Description Restrictions
regionCode String N
- regionCode can be obtained via the getRegionList action
- default: Selects the first region of the getRegionList query results
-
cloudMssqlInstanceNo String Y The Cloud DB for MSSQL instance number for viewing the bucket list
- cloudMssqlInstanceNo can be obtained via the getCloudMssqlInstanceList action
-
cloudMssqlServerName String Y The cloud DB for MSSQL server name for viewing the bucket list
- cloudMssqlServerName can be obtained via the getCloudMssqlInstanceList action
-
output String N Format type of the response
- options: xml | json
- default: json
-

Responses

Response data type

  • CloudMssqlBucketList type
CloudMssqlBucketList extends CommonResponse Description
private Integer totalRows; Total number of items viewed
private List<CloudMssqlBucket> cloudMssqlBucketList = new ArrayList<>(); Object Storage bucket list
  • CloudMssqlBucketList type
CloudMssqlBucket Description
private String bucketName; Bucket name

Examples

Describes examples of recalls and responses.

Recall examples

The following are examples of recalls.

ncloud vmssql getCloudMssqlBucketList --regionCode KR --cloudMssqlInstanceNo ****** --cloudMssqlServerName *****

Response examples

The following are examples of responses.

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

{
  "getCloudMssqlBucketListResponse": {
    "requestId": "d5e980a0-15b5-4c77-8b12-a70b8673142c",
    "returnCode": 0,
    "returnMessage": "success",
    "totalRows": 1,
    "cloudMssqlBucketList": [
          {
            "bucketName": "*********"
          }
   ]
  }
}

If the response shows that format type (responseFormatType) is xml

<getCloudMssqlBucketListResponse>
    <requestId>d5e980a0-15b5-4c77-8b12-a70b8673142c</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <cloudMssqlBucketList>
        <cloudMssqlBucket>
           <bucketName>*********</bucketName>
        </cloudMssqlBucket>
    </cloudMssqlBucketList>
</getCloudMssqlBucketListResponse>