Documentation Index

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

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

getRegionList

Prev Next

VPC 환경에서 이용 가능합니다.

개요

리전 리스트를 조회합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
output No String 응답 결과의 포맷 타입
  • Options : xml | json
  • Default : json

응답

응답 데이터 타입

  • RegionList 타입
RegionList extends CommonResponse
private Integer totalRows;
private List regionList = new ArrayList<>();
Region
private String regionCode;
private String regionName;

예시

요청 예시

ncloud vserver getRegionList

응답 예시

<getRegionListResponse>
    <requestId>ac39d0d1-6982-4f0b-8c18-47ca9100d51b</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <regionList>
        <region>
            <regionCode>KR</regionCode>
            <regionName>Korea</regionName>
        </region>
    </regionList>
</getRegionListResponse>