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
Classes | List of all members
Com::Vmware::Appliance::Techpreview::Shutdown Class Reference
Inheritance diagram for Com::Vmware::Appliance::Techpreview::Shutdown:
Com::Vmware::Vapi::Bindings::VapiInterface

Classes

class  ShutdownConfig
 
class  ShutdownGetConfig
 

Avaliable Methods

public method reboot ()
 
public method poweroff ()
 
public method get ()
 
public method cancel ()
 
public method new ()
 

Detailed Description

Com::Vmware::Appliance::Techpreview::Shutdown interface provides methods Performs reboot/shutdow operations on appliance.

Member Function Documentation

public method Com::Vmware::Appliance::Techpreview::Shutdown::cancel ( )

Cancel pending shutdown action.

Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Shutdown::get ( )

Get details about the pending shutdown action.

Return values
Configurationof pending shutdown action. The return type will be Com::Vmware::Appliance::Techpreview::Shutdown::ShutdownGetConfig
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Shutdown::new ( )

Constructor to initialize the object

Parameters
api_provider- protocol connection to use with stubs created by this factory
StubConfig- Stub's additional configuration
Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Shutdown::poweroff ( )

Power off the appliance.

Parameters
config[REQUIRED] Configuration of poweroff action . The value must be Com::Vmware::Appliance::Techpreview::Shutdown::ShutdownConfig.
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Shutdown::reboot ( )

Reboot the appliance.

Parameters
config[REQUIRED] Configuration of reboot action . The value must be Com::Vmware::Appliance::Techpreview::Shutdown::ShutdownConfig.
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view

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