getCloudHadoopTargetVpcList

Prev Next

VPC環境で利用できます。

概要

VPCリストを照会します。

リクエスト

リクエストパラメータ

パラメータ名 必須の有無 タイプ 制約事項 説明
regionCode No String リージョンコード
リージョンコードregionCodeはgetRegionList アクションを通じて取得できます。
デフォルト: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 KR

レスポンス

<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>