List Templates

vpsListTemplates

Purpose

List available OS template.

Attributes

  • type - openvz, xen, xen hvm, kvm

Optional Atributes

  • listpipefriendly - [true|false] Return template list with friendly name

Example Command

$postfields = array();
$postfields["responsetype"] = "json";

$postfields["action"] = "vpsListISO";
$postfields["type"] = "xen hvm";

$result = mikrovps_SendCommand( $postfields );

Successful Response

status - success
templates - emplate1,template2,template3

Error Response

status=error
statusmsg=ERROR MESSAGE
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

Boot Virtual Server

vserver-boothttps://documentation.solusvm.com/display/DOCS/Boot+Virtual+Server

Change Boot Order

vserver-bootorderhttps://documentation.solusvm.com/display/DOCS/Change+Boot+Order

Change Hostname

vserver-hostnamehttps://documentation.solusvm.com/display/DOCS/Change+Hostname

Change Root Password

vserver-rootpasswordhttps://documentation.solusvm.com/display/DOCS/Change+Root+Password

Change VNC Password

vserver-vncpasshttps://documentation.solusvm.com/display/DOCS/Change+VNC+Password