getRegionList
  • PDF

getRegionList

  • PDF

Can be used in a VPC environment.

Overview

Query the region list.

Request

Request parameter

Parameter Name Required Status Type Restrictions Description
responseFormatType No String Format type for the response result
Options : xml | json
Default : xml

Response

Response data type

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

Example

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>

Was this article helpful?

What's Next