(→Optional Data Parameters) |
(→Optional Data Parameters) |
||
Line 18: | Line 18: | ||
** pool - no vcpus are set the vm runs accross the entire physical cpu. allows priority to be set. | ** pool - no vcpus are set the vm runs accross the entire physical cpu. allows priority to be set. | ||
** 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)%. | |
− | * 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. | + | ** 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. | |
− | * 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' | + | ** 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 ) )