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.

getCloudMssqlFolderList

Prev Next

Available in VPC

Get the list of Object Storage folders available to use in Cloud DB for MSSQL.

Syntax

The getCloudMssqlFolderList syntax is as follows:

./ncloud vmssql getCloudMssqlFolderList \
    --bucketName <bucket-name> \
    [--prefix <prefix>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getCloudMssqlFolderList.

Required options

The following options are required for getCloudMssqlFolderList.

Options Type Required Description
--bucketName String Required Object Storage bucket name

Optional options

These are the optional options for getCloudMssqlFolderList. Options that are not specified will use their default values.

Options Type Required Description
--prefix String Optional Prefix of the Object Storage folder

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 folders in Cloud DB for MSSQL Object Storage is successful, the names of the available folders are returned.

Command

The command example is as follows:

./ncloud vmssql getCloudMssqlFolderList \
    --bucketName my-test-bucket \
    --prefix cloud-db \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudMssqlFolderListResponse": {
    "totalRows": 1,
    "cloudMssqlFolderList": [
      {
        "folderName": "cloud-db-for-mssql/"
      }
    ],
    "requestId": "b8c9d0e1-f2a3-4567-bcde-890123456789",
    "returnCode": "0",
    "returnMessage": "success"
  }
}