getZoneList
- Print
- PDF
getZoneList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
Parameter | Required | Type | Limitations | Description |
---|---|---|---|---|
regionNo | N | String | Region 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 code | Return code | Return message |
---|---|---|
400 | 23005 | There is no zone available for use. |
Was this article helpful?