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"
  }
}