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