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>