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

Available in VPC

Get the list of hypervisor types.

Syntax

The getHypervisorTypeList syntax is as follows:

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

Options

This section describes the options available when running getHypervisorTypeList.

Common options

For information about the options common to all vserver subcommands, see Server (VPC) options.

Examples

If the request to retrieve the list of hypervisor types is successful, the code and code name for each hypervisor type are returned.

Command

The command example is as follows:

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

Output

The output example is as follows:

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