getCloudHadoopTargetVpcList

Prev Next

It can be used in the VPC environment.

Overview

Searches the list of VPCs.

Request

Request parameter

Parameter name Requirement status Type Restrictions Description
regionCode No String regionCode
You can obtain regionCode through the getRegionList action.
Default: Selects the first region of the getRegionList search results
output No String Format type of the response result
Options: xml | json
Default: xml

Response

Response body

  • TargetVpcList type
TargetVpcList extends CommonResponse
private Integer totalRows;
private List<TargetVpc> TargetVpcList = new ArrayList<>();
TargetVpc
private String vpcNo;
private String vpcName;
private String ipv4Cidr;
private String regionCode;
private Date createdDate;

Examples

Call

ncloud vhadoop getCloudHadoopTargetVpcList --regionCode KR

Response

<getCloudHadoopTargetVpcListResponse>
    <requestId>cd819e87-d0b6-42cc-bdea-a311d422e091</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>2</totalRows>
    <targetVpcList>
        <targetVpc>
            <vpcNo>39**</vpcNo>
            <vpcName>exer****</vpcName>
            <ipv4Cidr>10.2.0.0/16</ipv4Cidr>
            <regionCode>KR</regionCode>
            <createdDate>2022-02-09T18:29:04+0900</createdDate>
        </targetVpc>
        <targetVpc>
            <vpcNo>18**</vpcNo>
            <vpcName>te**</vpcName>
            <ipv4Cidr>10.3.1.0/24</ipv4Cidr>
            <regionCode>KR</regionCode>
            <createdDate>2021-01-14T23:00:32+0900</createdDate>
        </targetVpc>
    </targetVpcList>
</getCloudHadoopTargetVpcListResponse>