Available in VPC
Get the list of VPCs available in Cloud DB for Cache.
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- getCloudCacheTargetVpcList CLI: Support for Valkey and Redis DBMS
- getCloudRedisTargetVpcList CLI: Support for Redis DBMS
getCloudCacheTargetVpcList CLI
This section describes the command syntax, options, commands, and output examples for the getCloudCacheTargetVpcListList CLI.
Syntax
The getCloudCacheTargetVpcList syntax is as follows:
./ncloud vcache getCloudCacheTargetVpcList \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudCacheTargetVpcList.
Common options
For information about the options common to all vcache subcommands, see Cloud DB for Cache (VPC) options.
Examples
If the request to retrieve the Cloud DB for Cache VPC list is successful, the number, name, and IP range for each VPC are returned.
Command
The command example is as follows:
./ncloud vcache getCloudCacheTargetVpcList \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudCacheTargetVpcListResponse": {
"totalRows": 1,
"targetVpcList": [
{
"vpcNo": "12345678",
"vpcName": "vpc-01",
"ipv4Cidr": "10.0.0.0/16",
"regionCode": "KR",
"createdDate": "2025-04-25T13:31:33+0900"
}
],
"requestId": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"returnCode": "0",
"returnMessage": "success"
}
}
getCloudRedisTargetVpcList CLI
This section describes the command syntax, options, commands, and output examples for the getCloudRedisTargetVpcList CLI.
Syntax
The getCloudRedisTargetVpcList syntax is as follows:
./ncloud vredis getCloudRedisTargetVpcList \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudRedisTargetVpcList.
Common options
For information about the options common to all vredis subcommands, see Cloud DB for Cache (VPC) options.
Examples
If the request to retrieve the Cloud DB for Cache VPC list is successful, the number, name, and IP range for each VPC are returned.
Command
The command example is as follows:
./ncloud vredis getCloudRedisTargetVpcList \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudRedisTargetVpcListResponse": {
"totalRows": 1,
"targetVpcList": [
{
"vpcNo": "12345678",
"vpcName": "vpc-01",
"ipv4Cidr": "10.0.0.0/16",
"regionCode": "KR",
"createdDate": "2026-07-01T11:42:33+0900"
}
],
"requestId": "c3d4e5f6-a7b8-9012-cdef-345678901234",
"returnCode": "0",
"returnMessage": "success"
}
}