Documentation Index

Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getZoneList

Prev Next

존 목록을 조회합니다.

구문

getZoneList 구문은 다음과 같습니다.

./ncloud vserver getZoneList \
    [--regionCode <FKR>] \
    [--output <json|xml>]

옵션

getZoneList 실행 시 지정할 수 있는 옵션을 설명합니다.

공통 옵션

vserver 명령에서 공통으로 사용하는 옵션에 대한 정보는 Server 옵션을 참조해 주십시오.

예시

존 목록 조회 요청이 성공하면 각 존의 이름과 코드, 소속 리전이 반환됩니다.

명령

명령 예시는 다음과 같습니다.

./ncloud vserver getZoneList \
    --regionCode FKR \
    --output json

출력

출력 예시는 다음과 같습니다.

{
  "getZoneListResponse": {
    "totalRows": 2,
    "zoneList": [
      {
        "zoneName": "FKR-1",
        "zoneCode": "FKR-1",
        "regionCode": "FKR",
        "zoneDescription": "Korea(finance) ZONE"
      },
      {
        "zoneName": "FKR-2",
        "zoneCode": "FKR-2",
        "regionCode": "FKR",
        "zoneDescription": "Korea(finance)-2 ZONE"
      }
    ],
    "requestId": "0f245dca-5757-4fe5-9287-83ce99971521",
    "returnCode": "0",
    "returnMessage": "success"
  }
}