--- title: "getCloudPostgresqlBucketList" slug: "cli-vpostgresql-getcloudpostgresqlbucketlist" tags: ["Cloud DB for PostgreSQL", "VPC"] updated: 2026-09-17T10:08:42Z published: 2026-09-17T10:08:42Z canonical: "cli.ncloud-docs.com/cli-vpostgresql-getcloudpostgresqlbucketlist" --- > ## 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 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 ] \ [--regionCode ] \ [--output ] ``` ## 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 - On entry, query the list of Object Storage buckets accessible on that instance. - See [getCloudPostgresqlInstanceList](/docs/en/cli-vpostgresql-getcloudpostgresqlinstancelist). | ### Common options For information about the options common to all `vpostgresql` subcommands, see [Cloud DB for PostgreSQL (VPC) options](/docs/en/cli-vpostgresql#%EC%98%B5%EC%85%98). ## 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" } } ```