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.

getZoneList

Prev Next

Overview

Searching the zone list

Description

Zone, provided by NAVER Cloud Platform, is divided based on Distribution Switch (DS).
Server instance (VM) can be created in a specific zone.
Therefore, the zone information provided by NAVER Cloud Platform should be searchable.

Request Parameters

Parameter Name Requiredness Type Limitation Description
regionNo No String You can reach a state in which input is possible by calling getRegionList.

Response Data Type

  • ZoneList type
ZoneList extends CommonResponse
private List zoneList = new ArrayList();
Zone
private String zoneNo;
private String zoneName;
private String zoneCode;
private String zoneDescription;
private String regionNo

Examples

Request

ncloud server getZoneList

Response

{
  "getZoneListResponse": {
    "requestId": "2de68ee1-c1f6-47c3-910c-293ea916a282",
    "returnCode": "0",
    "returnMessage": "success",
    "zoneList": [
      {
        "zoneNo": "2",
        "zoneName": "KR-1",
        "zoneCode": "KR-1",
        "zoneDescription": "KR-1 zone",
        "regionNo": "1"
      },
      {
        "zoneNo": "3",
        "zoneName": "KR-2",
        "zoneCode": "KR-2",
        "zoneDescription": "KR-2 zone"
        "regionNo": "1"
      }
    ]
  }
}
<?xml version="1.0" encoding="UTF-8"?>
<getZoneListResponse>
  <requestId>3caa8075-b192-4dbf-b3be-2756465e76a8</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <zoneList>
    <zone>
      <zoneNo>3</zoneNo>
      <zoneName>KR-2</zoneName>
      <zoneCode>KR-2</zoneCode>
      <zoneDescription>평촌 zone</zoneDescription>
      <regionNo>1</regionNo>
    </zone>
    <zone>
      <zoneNo>2</zoneNo>
      <zoneName>KR-1</zoneName>
      <zoneCode>KR-1</zoneCode>
      <zoneDescription>가산 zone</zoneDescription>
      <regionNo>1</regionNo>
    </zone>
  </zoneList>
</getZoneListResponse>