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::Power::Info Class Reference
Inheritance diagram for Com::Vmware::Vcenter::Vm::Power::Info:

Avaliable Methods

public method set_state ()
 
public method set_clean_power_off ()
 
public method get_clean_power_off ()
 
public method new ()
 
public method get_state ()
 

Detailed Description

The Com::Vmware::Vcenter::Vm::Power::Info class contains information about the power state of a virtual machine.

Member Function Documentation

public method Com::Vmware::Vcenter::Vm::Power::Info::get_clean_power_off ( )

Gets the value of 'clean_power_off' property.

Return values
clean_power_off- The current value of the field. Flag indicating whether the virtual machine was powered off cleanly. This field may be used to detect that the virtual machine crashed unexpectedly and should be restarted. optional#
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Power::Info::get_state ( )

Gets the value of 'state' property.

Return values
state- The current value of the field. Power state of the virtual machine. State#
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Power::Info::new ( )

Constructor to initialize the Com::Vmware::Vcenter::Vm::Power::Info structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Power::Info::set_clean_power_off ( )

Sets the given value for 'clean_power_off' property.

Parameters
clean_power_off- New value for the field. Flag indicating whether the virtual machine was powered off cleanly. This field may be used to detect that the virtual machine crashed unexpectedly and should be restarted.
Code:
click to view
public method Com::Vmware::Vcenter::Vm::Power::Info::set_state ( )

Sets the given value for 'state' property.

Parameters
state- New value for the field. Power state of the virtual machine.
Code:
click to view

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