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
 All Classes Files Functions
List of all members
Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec Class Reference
Inheritance diagram for Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec:

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 ()
 

Detailed Description

The Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec class describes the updates to virtual hardware settings of a virtual machine.

Member Function Documentation

public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::get_upgrade_policy ( )

Gets the value of 'upgrade_policy' property.

Return values
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:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::get_upgrade_version ( )

Gets the value of 'upgrade_version' property.

Return values
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:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::new ( )

Constructor to initialize the Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::set_upgrade_policy ( )

Sets the given value for 'upgrade_policy' property.

Parameters
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:
click to view
public method Com::Vmware::Vcenter::Vm::Hardware::UpdateSpec::set_upgrade_version ( )

Sets the given value for 'upgrade_version' property.

Parameters
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:
click to view

The documentation for this class was generated from the following file: