Vm_Hardware_Memory_UpdateSpec

Vm_Hardware_Memory_UpdateSpec
Vm_Hardware_Memory_UpdateSpec

The Memory.UpdateSpec structure describes the updates to be made to the memory-related settings of a virtual machine.

JSON Example
{
    "size_MiB": 0,
    "hot_add_enabled": false
}
integer As int64
size_MiB
Optional

New memory size in mebibytes. The supported range of memory sizes is constrained by the configured guest operating system and virtual hardware version of the virtual machine.

If the virtual machine is running, this value may only be changed if Memory.Info.hot-add-enabled is true, and the new memory size must satisfy the constraints specified by Memory.Info.hot-add-increment-size-mib and Memory.Info.hot-add-limit-mib.

If unset, the value is unchanged.

boolean
hot_add_enabled
Optional

Flag indicating whether adding memory while the virtual machine is running should be enabled. Some guest operating systems may consume more resources or perform less efficiently when they run on hardware that supports adding memory while the machine is running.

This field may only be modified if the virtual machine is not powered on.

If unset, the value is unchanged.