(Created page with "The server create VM command ==Path== */server/editvm/$vmid ==Method== *POST ==Availability== *Dynamic Server ==Opt...") |
(→Optional Data Parameters) |
||
Line 19: | Line 19: | ||
** limited (default) - allows you to set vcpus and also allows you to set cpu priority. this setting allows multiple vms to overlap on the same physical cores. | ** limited (default) - allows you to set vcpus and also allows you to set cpu priority. this setting allows multiple vms to overlap on the same physical cores. | ||
**{$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)%. | ||
− | + | * If $cpu_allocation is 'dedicated', priority isn't used. If $cpu_allocation is 'limited', a VM will have access to multiple cores and will have a set priority to those cores. if $cpu_allocation is set to 'pool', the VM has access to the whole physical CPU but are limited to the priority they're assigned. | |
**{$cores}: Number of vCPUs to assign to a virtual machine. | **{$cores}: Number of vCPUs to assign to a virtual machine. | ||
− | + | * If $cpu_allocation is 'dedicated', these cores are removed from the cpu pool and actually allocated to the VM so they cannot be used by other VMs. If $cpu_allocation is set to 'limited', the VM has access to that number of cores but may share them with other VMs. Cores do not apply if $cpu_allocation is set to 'pool' | |
==Returned Data== | ==Returned Data== |
The server create VM command
Contents |
stdClass Object( [success] => TRUE/FALSE ) )