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


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.

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.

JSON Example

	"hot_add_enabled": false,
	"size_MiB": 0
Property Of

Parameter To

Update Hardware Memory


Was this page helpful?