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

Available in VPC

Overview

Get the Region list.

Request

Request parameters

Parameter name Required Type Restrictions Description
output No String Response result's format type
  • Options : xml | json
  • Default : json

Response

Response data type

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

Examples

Request example

ncloud vserver getRegionList

Response example

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