getCloudHadoopTargetVpcList

Prev Next

Available in VPC

Get the list of VPCs being used in Cloud Hadoop.

Syntax

The getCloudHadoopTargetVpcList syntax is as follows:

./ncloud vhadoop getCloudHadoopTargetVpcList \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getCloudHadoopTargetVpcList.

Common options

For information about the options common to all vhadoop subcommands, see Cloud Hadoop (VPC) options.

Examples

If the request to retrieve the list of VPCs in use in Cloud Hadoop is successful, the configuration information for each VPC is returned.

Command

The command example is as follows:

./ncloud vhadoop getCloudHadoopTargetVpcList \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudHadoopTargetVpcListResponse": {
    "totalRows": 1,
    "targetVpcList": [
      {
        "vpcNo": "12345678",
        "vpcName": "vpc-01",
        "ipv4Cidr": "10.0.0.0/16",
        "regionCode": "KR",
        "createdDate": "2026-07-06T13:54:30+0900"
      }
    ],
    "requestId": "18293a4b-fc0d-e567-1234-89abcde56789",
    "returnCode": "0",
    "returnMessage": "success"
  }
}