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

VPC環境で利用できます。

Cloud DB for MSSQLで使用可能な Object Storageフォルダリストを照会します。

構文

getCloudMssqlFolderList構文は次の通りです。

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

オプション

getCloudMssqlFolderListの実行時に指定できるオプションについて説明します。

必須オプション

getCloudMssqlFolderListの必須オプションです。

オプション タイプ 必須の有無 説明
--bucketName String Required Object Storageバケット名

任意オプション

getCloudMssqlFolderListの任意オプションです。指定しない場合、オプションにはデフォルト値が適用されます。

オプション タイプ 必須の有無 説明
--prefix String Optional Object Storageフォルダの接頭辞

共通オプション

vmssqlコマンドで共通して使用するオプションについては、Cloud DB for MSSQL (VPC)のオプションを参照してください。

Cloud DB for MSSQL Object Storageフォルダリストの照会リクエストが成功すると、使用可能なフォルダ名が返されます。

コマンド

コマンドの例は次の通りです。

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

出力

出力の例は次の通りです。

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