|
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
|
Classes | |
| class | ShutdownConfig |
| class | ShutdownGetConfig |
Avaliable Methods | |
| public method | reboot () |
| public method | poweroff () |
| public method | get () |
| public method | cancel () |
| public method | new () |
Com::Vmware::Appliance::Techpreview::Shutdown interface provides methods Performs reboot/shutdow operations on appliance.
| public method Com::Vmware::Appliance::Techpreview::Shutdown::cancel | ( | ) |
Cancel pending shutdown action.
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Shutdown::get | ( | ) |
Get details about the pending shutdown action.
| Configuration | of pending shutdown action. The return type will be Com::Vmware::Appliance::Techpreview::Shutdown::ShutdownGetConfig |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Shutdown::new | ( | ) |
Constructor to initialize the object
| api_provider | - protocol connection to use with stubs created by this factory |
| StubConfig | - Stub's additional configuration |
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Techpreview::Shutdown::poweroff | ( | ) |
Power off the appliance.
| config | [REQUIRED] Configuration of poweroff action . The value must be Com::Vmware::Appliance::Techpreview::Shutdown::ShutdownConfig. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Shutdown::reboot | ( | ) |
Reboot the appliance.
| config | [REQUIRED] Configuration of reboot action . The value must be Com::Vmware::Appliance::Techpreview::Shutdown::ShutdownConfig. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code: