Available in VPC
Get the list of Object Storage buckets available to use in Cloud DB for MSSQL.
Syntax
The getCloudMssqlBucketList syntax is as follows:
./ncloud vmssql getCloudMssqlBucketList \
--cloudMssqlInstanceNo <instance-no> \
--cloudMssqlServerName <server-name> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudMssqlBucketList.
Required options
The following options are required for getCloudMssqlBucketList.
| Options | Type | Required | Description |
|---|---|---|---|
--cloudMssqlInstanceNo |
String | Required | Cloud DB for MSSQL instance number |
--cloudMssqlServerName |
String | Required | Cloud DB for MSSQL server name |
Common options
For information about the options common to all vmssql subcommands, see Cloud DB for MSSQL (VPC) options.
Examples
If the request to retrieve the list of Object Storage buckets is successful, the names of the available buckets are returned.
Command
The command example is as follows:
./ncloud vmssql getCloudMssqlBucketList \
--cloudMssqlInstanceNo 25280088 \
--cloudMssqlServerName m-25280088-001 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudMssqlBucketListResponse": {
"totalRows": 1,
"cloudMssqlBucketList": [
{
"bucketName": "my-test-bucket"
}
],
"requestId": "a7b8c9d0-e1f2-3456-abcd-789012345678",
"returnCode": "0",
"returnMessage": "success"
}
}