Line 11: | Line 11: | ||
==Required Data Parameters== | ==Required Data Parameters== | ||
*{$serverid}: The server ID of the [[servers#Dynamic Server|Dynamic Server]] that the new [[glossary#Virtual Machine|virtual machine]] will be created on. The server ID is returned using the [[Server List|list]] command. | *{$serverid}: The server ID of the [[servers#Dynamic Server|Dynamic Server]] that the new [[glossary#Virtual Machine|virtual machine]] will be created on. The server ID is returned using the [[Server List|list]] command. | ||
+ | |||
*{$hostname}: The hostname of new [[glossary#Virtual Machine|virtual machine]], it must be unique and not currently in use on any other server or [[glossary#Virtual Machine|virtual machine]] in [[glossary#LEAP|LEAP]]. | *{$hostname}: The hostname of new [[glossary#Virtual Machine|virtual machine]], it must be unique and not currently in use on any other server or [[glossary#Virtual Machine|virtual machine]] in [[glossary#LEAP|LEAP]]. | ||
*{$osid}: The operating system that will be installed on the [[glossary#Virtual Machine|virtual machine]], all operating systems available will be returned by using the [[Server List Snapshots|list snapshots]] command. | *{$osid}: The operating system that will be installed on the [[glossary#Virtual Machine|virtual machine]], all operating systems available will be returned by using the [[Server List Snapshots|list snapshots]] command. |
The server create VM command
Contents |
stdClass Object( [success] => TRUE/FALSE [data] => stdClass Object( [vmid] => The server ID of the new VM. ) )