VPC環境で利用できます。
参考
Cloud DB for Cache CLIは、対応する DBMSの範囲に応じて2つのバージョンを提供しています。
- getCloudCacheTargetVpcList CLI: Valkey、Redis DBMSを利用可能
- getCloudRedisTargetVpcList CLI: Redis DBMSを利用可能
getCloudCacheTargetVpcList CLI
getCloudCacheTargetVpcList CLIのリクエストおよびレスポンス形式を説明します。
リクエスト
リクエストパラメータ
| パラメータ名 | 必須の有無 | タイプ | 制限事項 | 説明 |
|---|---|---|---|---|
| regionCode | No | String | - リージョンコード regionCodeはgetRegionListアクションを通じて取得可能 デフォルト: getRegionList照会結果の最初のリージョンを選択 |
|
| output | No | String | - レスポンス結果の形式タイプ オプション: xml | json デフォルト: json |
例
呼び出し例
ncloud vcache getCloudCacheTargetVpcList --regionCode KR
レスポンス例
<getCloudCacheTargetVpcListResponse>
<requestId>cd819e87-d0b6-42cc-bdea-a311d422e091</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<targetVpcList>
<targetVpc>
<vpcNo>39**</vpcNo>
<vpcName>exer****</vpcName>
<ipv4Cidr>10.2.0.0/16</ipv4Cidr>
<regionCode>KR</regionCode>
<createdDate>2022-02-09T18:29:04+0900</createdDate>
</targetVpc>
<targetVpc>
<vpcNo>18**</vpcNo>
<vpcName>te**</vpcName>
<ipv4Cidr>10.3.1.0/24</ipv4Cidr>
<regionCode>KR</regionCode>
<createdDate>2021-01-14T23:00:32+0900</createdDate>
</targetVpc>
</targetVpcList>
</getCloudCacheTargetVpcListResponse>