Documentation Index

Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getCloudHadoopTargetVpcList

Prev Next

개요

VPC 리스트를 조회합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
regionCode No String 리전 코드
regionCode는 getRegionList 액션을 통해서 획득 가능
Default : getRegionList 조회 결과의 첫 번째 리전을 선택
output No String 응답 결과의 포맷 타입
Options: xml | json
Default: xml

응답

응답 바디

  • TargetVpcList 타입
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;

예시

호출

ncloud vhadoop getCloudHadoopTargetVpcList --regionCode FKR

응답

<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>FKR</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>FKR</regionCode>
            <createdDate>2021-01-14T23:00:32+0900</createdDate>
        </targetVpc>
    </targetVpcList>
</getCloudHadoopTargetVpcListResponse>