|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Avaliable Methods | |
| public method | set_size_MiB () |
| public method | get_size_MiB () |
| public method | set_hot_add_enabled () |
| public method | new () |
| public method | get_hot_add_enabled () |
The Com::Vmware::Vcenter::Vm::Hardware::Memory::UpdateSpec class describes the updates to be made to the memory-related settings of a virtual machine.
| public method Com::Vmware::Vcenter::Vm::Hardware::Memory::UpdateSpec::get_hot_add_enabled | ( | ) |
Gets the value of 'hot_add_enabled' property.
| hot_add_enabled | - The current value of the field. 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.
Optional#
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Memory::UpdateSpec::get_size_MiB | ( | ) |
Gets the value of 'size_MiB' property.
| size_MiB | - The current value of the field. 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 :attr:Com::Vmware::Vcenter::Vm::Hardware::Memory::Info.hot_add_enabled is true, and the new memory size must satisfy the constraints specified by :attr:Com::Vmware::Vcenter::Vm::Hardware::Memory::Info.hot_add_increment_size_mib and :attr:Com::Vmware::Vcenter::Vm::Hardware::Memory::Info.hot_add_limit_mib .
Optional#
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Memory::UpdateSpec::new | ( | ) |
Constructor to initialize the Com::Vmware::Vcenter::Vm::Hardware::Memory::UpdateSpec structure
| Blessed | object |
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Memory::UpdateSpec::set_hot_add_enabled | ( | ) |
Sets the given value for 'hot_add_enabled' property.
| hot_add_enabled | - New value for the field. 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.
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Memory::UpdateSpec::set_size_MiB | ( | ) |
Sets the given value for 'size_MiB' property.
| size_MiB | - New value for the field. 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 :attr:Com::Vmware::Vcenter::Vm::Hardware::Memory::Info.hot_add_enabled is true, and the new memory size must satisfy the constraints specified by :attr:Com::Vmware::Vcenter::Vm::Hardware::Memory::Info.hot_add_increment_size_mib and :attr:Com::Vmware::Vcenter::Vm::Hardware::Memory::Info.hot_add_limit_mib .
Code: