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.

getHypervisorTypeList

Prev Next

VPC 환경에서 이용 가능합니다.

하이퍼바이저 유형 목록을 조회합니다.

구문

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

./ncloud vserver getHypervisorTypeList \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

옵션

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

공통 옵션

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

예시

하이퍼바이저 유형 목록 조회 요청이 성공하면 각 하이퍼바이저 유형의 코드와 코드명이 반환됩니다.

명령

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

./ncloud vserver getHypervisorTypeList \
    --regionCode KR \
    --output json

출력

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

{
  "getHypervisorTypeListResponse": {
    "totalRows": 2,
    "hypervisorTypeList": [
      {
        "code": "XEN",
        "codeName": "XEN"
      },
      {
        "code": "KVM",
        "codeName": "KVM"
      }
    ],
    "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "returnCode": "0",
    "returnMessage": "success"
  }
}