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

Available in VPC

Get the list of Object Storage buckets available to use in Cloud DB for PostgreSQL.

Syntax

The getCloudPostgresqlBucketList syntax is as follows:

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

Options

This section describes the options available when running getCloudPostgresqlBucketList.

Optional options

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

Options Type Required Description
--cloudPostgresqlServerInstanceNo String Optional Cloud DB for PostgreSQL server instance number

Common options

For information about the options common to all vpostgresql subcommands, see Cloud DB for PostgreSQL (VPC) options.

Examples

If the request to retrieve the list of Cloud DB for PostgreSQL buckets is successful, the names of the available buckets are returned.

Command

The command example is as follows:

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

Output

The output example is as follows:

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