getZoneList
    • PDF

    getZoneList

    • PDF

    Article Summary

    Overview

    You can create a server instance (VM) in a specific zone in the region. This action gets a list of zones.

    Request

    Request parameters

    ParameterRequiredTypeLimitationsDescription
    regionNoNStringRegion number
    This parameter limits results to the specified region.
    Get available values by using the getRegionList action.
    - Example) regionNo=1

    Response

    Response body

    Examples

    Request example

    GET {SERVER_API_URL}/getZoneList
    ?regionNo=1
    

    Response example

    <getZoneListResponse>
      <requestId>8a1c667a-ce02-4cb8-98c4-506716a8cfba</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <zoneList>
        <zone>
          <zoneNo>3</zoneNo>
          <zoneName>KR-2</zoneName>
          <zoneCode>KR-2</zoneCode>
          <zoneDescription>Pyeongchon zone</zoneDescription>
          <regionNo>1</regionNo>
        </zone>
        <zone>
          <zoneNo>2</zoneNo>
          <zoneName>KR-1</zoneName>
          <zoneCode>KR-1</zoneCode>
          <zoneDescription>Gasan zone</zoneDescription>
          <regionNo>1</regionNo>
        </zone>
      </zoneList>
    </getZoneListResponse>
    

    Error codes

    Errors that may occur while using this action are listed below. For information on common errors, refer to NAVER Cloud Platform API.

    HTTP response codeReturn codeReturn message
    40023005There is no zone available for use.

    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.