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.

getCloudPostgresqlBucketList

Prev Next

VPC環境で利用できます。

Cloud DB for PostgreSQLで使用可能な Object Storageバケットリストを照会します。

構文

getCloudPostgresqlBucketList構文は次の通りです。

./ncloud vpostgresql getCloudPostgresqlBucketList \
    [--cloudPostgresqlServerInstanceNo <server-instance-no>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

オプション

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

任意オプション

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

オプション タイプ 必須の有無 説明
--cloudPostgresqlServerInstanceNo String Optional Cloud DB for PostgreSQLサーバインスタンス番号

共通オプション

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

Cloud DB for PostgreSQLバケットリストの照会リクエストが成功すると、使用可能なバケットの名前が返されます。

コマンド

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

./ncloud vpostgresql getCloudPostgresqlBucketList \
    --regionCode KR \
    --output json

出力

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

{
  "getCloudPostgresqlBucketListResponse": {
    "totalRows": 1,
    "cloudPostgresqlBucketList": [
      {
        "bucketName": "my-test-bucket"
      }
    ],
    "requestId": "e5f6a7b8-c9d0-1234-efab-567890123456",
    "returnCode": "0",
    "returnMessage": "success"
  }
}