Available in VPC
Get the list of VPCs available to use in Cloud DB for MySQL.
Syntax
The getCloudMysqlTargetVpcList syntax is as follows:
./ncloud vmysql getCloudMysqlTargetVpcList \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudMysqlTargetVpcList.
Common options
For information about the options common to all vmysql subcommands, see Cloud DB for MySQL (VPC) options.
Examples
If the request to retrieve the list of Cloud DB for MySQL VPCs is successful, the number, name, and IP range information for each VPC are returned.
Command
The command example is as follows:
./ncloud vmysql getCloudMysqlTargetVpcList \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudMysqlTargetVpcListResponse": {
"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"
}
}