getCloudMysqlTargetVpcList

Prev Next

VPC環境で利用できます。

概要

使用可能な VPCリストを照会します。

リクエスト

リクエストパラメータ

パラメータ名 要否 タイプ 制約事項 説明
regionCode No String - リージョンコード
regionCodeは、getRegionListアクションを通じて取得可能
Default: getRegionList照会結果の最初のリージョンを選択
output No String - レスポンス結果のフォーマットタイプ
Options : xml | json
Default : json

レスポンス

レスポンスデータのタイプ

  • 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 vmysql getCloudMysqlTargetVpcList --regionCode KR

レスポンス例

<getCloudMysqlTargetVpcListResponse>
    <requestId>4ea62ae7-b127-4c02-9a71-2a36f3190a55</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <targetVpcList>
        <targetVpc>
            <vpcNo>25****</vpcNo>
            <vpcName>test-****</vpcName>
            <ipv4Cidr>192.168.0.0/16</ipv4Cidr>
            <regionCode>KR</regionCode>
            <createdDate>2022-03-24T18:00:00+0900</createdDate>
        </targetVpc>
    </targetVpcList>
</getCloudMysqlTargetVpcListResponse>