getRegionList
    • PDF

    getRegionList

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    Query the region list.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    responseFormatTypeNoStringFormat 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
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.