--- title: "getCloudCacheTargetSubnetList" slug: "cli-vcache-getcloudcachetargetsubnetlist" updated: 2026-09-17T10:11:08Z published: 2026-09-17T10:11:08Z canonical: "cli.ncloud-docs.com/cli-vcache-getcloudcachetargetsubnetlist" --- > ## 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. # getCloudCacheTargetSubnetList VPC環境で利用できます。 参考 Cloud DB for Cache CLIは、対応する DBMSの範囲に応じて2つのバージョンを提供しています。 - getCloudCacheTargetSubnetList CLI: Valkey、Redis DBMSを利用可能 - getCloudRedisTargetSubnetList CLI: Redis DBMSを利用可能 ## getCloudCacheTargetSubnetList CLI getCloudCacheTargetSubnetList CLIのリクエストおよびレスポンス形式を説明します。 ### リクエスト #### リクエストパラメータ | パラメータ名 | 必須の有無 | タイプ | 制限事項 | 説明 | | --- | --- | --- | --- | --- | | regionCode | No | String | | - リージョンコード regionCodeは[getRegionList](/docs/ja/cli-vserver-server-common-getregionlist)アクションを通じて取得可能 デフォルト: getRegionList照会結果の最初のリージョンを選択 | | vpcNo | Yes | String | | - 照会する Vpcの vpc番号 vpcNoは[getCloudCacheTargetVpcList](/docs/ja/cli-vcache-getcloudcachetargetvpclist)アクションを通じて取得可能 | | cloudCacheImageProductCode | Yes | String | | - Cloud Cacheイメージ商品コード cloudCacheImageProductCodeは[getCloudCacheImageProductList](/docs/ja/cli-vcache-getcloudcacheimageproductlist)アクションを通じて取得可能 | | isPublic | No | Boolean | | - Public Subnetを照会するかどうか | | output | No | String | | - レスポンス結果の形式タイプ オプション: xml \| json デフォルト: json | ### 例 #### 呼び出し例 ``` ncloud vcache getCloudCacheTargetSubnetList --regionCode KR --vpcNo 39** --cloudCacheImageProductCode SW.VRDS.OS.LNX64.ROCKY.08.VALKY.B050.G003 ``` #### レスポンス例 ``` 3d4f057b-fa19-4baa-9cbc-d49074665ae9 0 success 1 57** f** 39** exercise2 KR-1 10.2.1.0/24 false 2022-03-24T18:00:00+0900 ```