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