|
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 | get_cores_per_socket () |
| public method | set_hot_add_enabled () |
| public method | get_hot_add_enabled () |
| public method | set_hot_remove_enabled () |
| public method | get_count () |
| public method | set_count () |
| public method | new () |
| public method | set_cores_per_socket () |
| public method | get_hot_remove_enabled () |
The Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec class describes the updates to be made to the CPU-related settings of a virtual machine.
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec::get_cores_per_socket | ( | ) |
Gets the value of 'cores_per_socket' property.
| cores_per_socket | - The current value of the field. New number of CPU cores per socket. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket. Optional# |
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec::get_count | ( | ) |
Gets the value of 'count' property.
| count | - The current value of the field. New number of CPU cores. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket. |
The supported range of CPU counts is constrained by the configured guest operating system and virtual hardware version of the virtual machine.
If the virtual machine is running, the number of CPU cores may only be increased if :attr:Com::Vmware::Vcenter::Vm::Hardware::Cpu::Info.hot_add_enabled is true, and may only be decreased if :attr:Com::Vmware::Vcenter::Vm::Hardware::Cpu::Info.hot_remove_enabled is true.
Optional#
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::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 CPUs while the virtual machine is running is enabled. |
This field may only be modified if the virtual machine is powered off.
Optional#
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec::get_hot_remove_enabled | ( | ) |
Gets the value of 'hot_remove_enabled' property.
| hot_remove_enabled | - The current value of the field. Flag indicating whether removing CPUs while the virtual machine is running is enabled. |
This field may only be modified if the virtual machine is powered off.
Optional#
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec::new | ( | ) |
Constructor to initialize the Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec structure
| Blessed | object |
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec::set_cores_per_socket | ( | ) |
Sets the given value for 'cores_per_socket' property.
| cores_per_socket | - New value for the field. New number of CPU cores per socket. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket. |
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec::set_count | ( | ) |
Sets the given value for 'count' property.
| count | - New value for the field. New number of CPU cores. The number of CPU cores in the virtual machine must be a multiple of the number of cores per socket. |
The supported range of CPU counts is constrained by the configured guest operating system and virtual hardware version of the virtual machine.
If the virtual machine is running, the number of CPU cores may only be increased if :attr:Com::Vmware::Vcenter::Vm::Hardware::Cpu::Info.hot_add_enabled is true, and may only be decreased if :attr:Com::Vmware::Vcenter::Vm::Hardware::Cpu::Info.hot_remove_enabled is true.
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::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 CPUs while the virtual machine is running is enabled. |
This field may only be modified if the virtual machine is powered off.
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::Cpu::UpdateSpec::set_hot_remove_enabled | ( | ) |
Sets the given value for 'hot_remove_enabled' property.
| hot_remove_enabled | - New value for the field. Flag indicating whether removing CPUs while the virtual machine is running is enabled. |
This field may only be modified if the virtual machine is powered off.
Code: