(Created page with "The server create VM command ==Path== */server/createvm ==Method== *POST ==Availability== *Dynamic Server ==Require...") |
|||
Line 16: | Line 16: | ||
*{$storagetype}: The type of storage that the [[glossary#Virtual Machine|virtual machine]] will use (canopy = cloud storage, local = servers local hard drive). | *{$storagetype}: The type of storage that the [[glossary#Virtual Machine|virtual machine]] will use (canopy = cloud storage, local = servers local hard drive). | ||
*{$memory}: The amount of RAM assigned to the [[glossary#Virtual Machine|virtual machine]] in kilobytes, it must be greater than 512 MB (524,288 KB). | *{$memory}: The amount of RAM assigned to the [[glossary#Virtual Machine|virtual machine]] in kilobytes, it must be greater than 512 MB (524,288 KB). | ||
− | *{$storage}: The amount of storage space assigned to the [[glossary#Virtual Machine|virtual machine]] in kilobytes, must be greater than 10GB ( | + | *{$storage}: The amount of storage space assigned to the [[glossary#Virtual Machine|virtual machine]] in kilobytes, must be greater than 10GB (10,485,760 KB). |
*{$priority}: The CPU priority for the [[glossary#Virtual Machine|virtual machine]] (1 – 100)%. | *{$priority}: The CPU priority for the [[glossary#Virtual Machine|virtual machine]] (1 – 100)%. | ||
The server create VM command
Contents |
stdClass Object( [success] => TRUE/FALSE [data] => stdClass Object( [vmid] => The server ID of the new VM. ) )