|
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_upgrade_version () |
| public method | get_upgrade_version () |
| public method | set_upgrade_policy () |
| public method | get_upgrade_policy () |
| public method | new () |
The Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec class describes the updates to virtual hardware settings of a virtual machine.
| public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::get_upgrade_policy | ( | ) |
Gets the value of 'upgrade_policy' property.
| upgrade_policy | - The current value of the field. Scheduled upgrade policy. |
If set to :attr:Com::Vmware::Vcenter::Vm::Hardware::UpgradePolicy.NEVER , the :attr:Com::Vmware::Vcenter::Vm::Hardware::Info.upgrade_version field will be reset to null .
Optional#
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::get_upgrade_version | ( | ) |
Gets the value of 'upgrade_version' property.
| upgrade_version | - The current value of the field. Target hardware version to be used on the next scheduled virtual hardware upgrade. |
If specified, this field must represent a newer virtual hardware version than the current virtual hardware version reported in :attr:Com::Vmware::Vcenter::Vm::Hardware::Info.version .
Optional#
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::new | ( | ) |
Constructor to initialize the Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec structure
| Blessed | object |
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::set_upgrade_policy | ( | ) |
Sets the given value for 'upgrade_policy' property.
| upgrade_policy | - New value for the field. Scheduled upgrade policy. |
If set to :attr:Com::Vmware::Vcenter::Vm::Hardware::UpgradePolicy.NEVER , the :attr:Com::Vmware::Vcenter::Vm::Hardware::Info.upgrade_version field will be reset to null .
Code:
| public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::set_upgrade_version | ( | ) |
Sets the given value for 'upgrade_version' property.
| upgrade_version | - New value for the field. Target hardware version to be used on the next scheduled virtual hardware upgrade. |
If specified, this field must represent a newer virtual hardware version than the current virtual hardware version reported in :attr:Com::Vmware::Vcenter::Vm::Hardware::Info.version .
Code: