--- title: "getCloudCacheBucketList" slug: "cli-vcache-getcloudcachebucketlist" updated: 2026-09-17T10:11:06Z published: 2026-09-17T10:11:06Z canonical: "cli.ncloud-docs.com/cli-vcache-getcloudcachebucketlist" --- > ## 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. # getCloudCacheBucketList VPC環境で利用できます。 Cloud DB for Cacheで使用可能な Object Storageバケットリストを照会します。 参考 Cloud DB for Cache CLIは、対応する DBMSの範囲に応じて2つのバージョンを提供しています。 - getCloudCacheBucketList CLI: Valkey、Redis DBMSを利用可能 - getCloudRedisBucketList CLI: Redis DBMSを利用可能 ## getCloudCacheBucketList CLI getCloudCacheBucketList CLIのコマンド構文とオプション、コマンドと出力の例について説明します。 ### 構文 `getCloudCacheBucketList`構文は次の通りです。 ``` ./ncloud vcache getCloudCacheBucketList \ --cloudCacheInstanceNo \ [--regionCode ] \ [--output ] ``` ### オプション `getCloudCacheBucketList`の実行時に指定できるオプションについて説明します。 #### 必須オプション `getCloudCacheBucketList`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--cloudCacheInstanceNo` | String | Required | Cloud DB for Cacheインスタンス番号 - [getCloudCacheInstanceList](/docs/ja/cli-vcache-getcloudcacheinstancelist)を参照 | #### 共通オプション `vcache`コマンドで共通して使用するオプションについては、[Cloud DB for Cache (VPC)のオプション](/docs/ja/cli-vcache#%EC%98%B5%EC%85%98)を参照してください。 ### 例 Object Storageバケットリストの照会リクエストが成功すると、使用可能なバケットの名前が返されます。 #### コマンド コマンドの例は次の通りです。 ``` ./ncloud vcache getCloudCacheBucketList \ --cloudCacheInstanceNo 34567890 \ --regionCode KR \ --output json ``` #### 出力 出力の例は次の通りです。 ``` { "getCloudCacheBucketListResponse": { "totalRows": 1, "cloudCacheBucketList": [ { "bucketName": "my-test-bucket" } ], "requestId": "e5f6a7b8-c9d0-1234-efab-567890123456", "returnCode": "0", "returnMessage": "success" } } ``` ## getCloudRedisBucketList CLI getCloudRedisBucketList CLIのコマンド構文とオプション、コマンドと出力の例について説明します。 ### 構文 `getCloudRedisBucketList`構文は次の通りです。 ``` ./ncloud vredis getCloudRedisBucketList \ --cloudRedisInstanceNo \ [--regionCode ] \ [--output ] ``` ### オプション `getCloudRedisBucketList`の実行時に指定できるオプションについて説明します。 #### 必須オプション `getCloudRedisBucketList`の必須オプションです。 | オプション | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `--cloudRedisInstanceNo` | String | Required | Cloud DB for Cacheインスタンス番号 - [getCloudCacheInstanceList](/docs/ja/cli-vcache-getcloudcacheinstancelist)を参照 | #### 共通オプション `vredis`コマンドで共通して使用するオプションについては、[Cloud DB for Cache (VPC)のオプション](/docs/ja/cli-vcache#%EC%98%B5%EC%85%98)を参照してください。 ### 例 Object Storageバケットリストの照会リクエストが成功すると、使用可能なバケットの名前が返されます。 #### コマンド コマンドの例は次の通りです。 ``` ./ncloud vredis getCloudRedisBucketList \ --cloudRedisInstanceNo 34567890 \ --regionCode KR \ --output json ``` #### 出力 出力の例は次の通りです。 ``` { "getCloudRedisBucketListResponse": { "totalRows": 1, "cloudRedisBucketList": [ { "bucketName": "my-test-bucket" } ], "requestId": "e5f6a7b8-c9d0-1234-efab-567890123456", "returnCode": "0", "returnMessage": "success" } } ```