This external documentation for pyVmomi was generated using Googly Docs (aka Google Standard Documentation) which renders very cleanly in GitHub. Internal documentation for a class should be done in Sphinx format because tools like pyCharm and Eclipse can use that documentation as a hint for code completion. Note: External docs as Googly Docs, internal docs as Sphinx. Closes bug#15
		
			
				
	
	
	
		
			3.0 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	vim.host.MemoryManagerSystem
The MemoryManagerSystem managed object provides an interface through which the host memory management policies that affect the performance of running virtual machines can be gathered and configured.
- extends
 
Attributes
- consoleReservationInfo (vim.host.MemoryManagerSystem.ServiceConsoleReservationInfo):
 Service console reservation information for the memory manager. The existence of this data object indicates if the service console memory reservation must be configured for this host.
- virtualMachineReservationInfo (vim.host.MemoryManagerSystem.VirtualMachineReservationInfo):
 Virtual machine reservation information for the memory manager. The existence of this data object indicates if the virtual machine memory reservation must be configured for this host.
Methods
- ReconfigureServiceConsoleReservation(cfgBytes):
 - 
Sets the configured service console memory reservation. This change affects only the serviceConsoleReservedCfg property. The configuration change propagates to the other properties after the next boot.
- Privilege:
 - 
Host.Config.Memory
 - Args:
 - 
cfgBytes (long):
 - Returns:
 - 
None
 
Raises:
- vmodl.fault.InvalidArgument:
 - 
if cfgBytes is negative or is greater than the total memory available.
 - vmodl.fault.NotSupported:
 - 
if the service console memory reservation does not apply to this host. The existence of the consoleReservation property will indicate if this feature is applicable.
 
 - ReconfigureVirtualMachineReservation(spec):
 - 
Updates the virtual machine reservation information. since: VI API 2.5
- Privilege:
 - 
Host.Config.Memory
 - Args:
 - 
spec (vim.host.MemoryManagerSystem.VirtualMachineReservationSpec):
 - Returns:
 - 
None
 
Raises:
- vmodl.fault.InvalidArgument:
 - 
if virtualMachineReserved is negative or is greater than the maximum amount reservable.
 - vmodl.fault.NotSupported:
 - 
if the virtualMachine reservation does not apply to this host. The existence of the virtualMachineReservationInfo property will indicate if this feature is applicable.