VMware::vCloud::vApp - VMware vCloud Director vApp
version 2.404
This module is instanciated to represent a vApp on vCloud Director. As such, it contains methods that interact with the specific vApp this object represents.
This is an internal module to VMware::vCloud and is not designed to be used independantly. You obtain a vApp object by using the get_vapp() method availble in VMware::vCloud.
Create a new VMware::vCloud::vApp object and fetch the associated data from the vCloud API.
VMware::vCloud::vApp
This method returns a hash or hashref of available actions that can be performed on the VM. (Eg: Powering on, deploying, etc.)
Each key represents and action and each value is the corresponding href for said action to be executed.
This debugging method returns the internal data structure representing all known information on the vApp.
If it is an available action, it creates the task to power on a vApp.
It returns an array or arraref with three items: returned message, returned numeric code, and a hashref of the full XML data returned.
The "Power On" action will deploy the vApp if it is currently undeployed.
A text error message is returned if the app is currently not able to be powered on. (IE: It is already on, or is busy with another task.)
Not implemented
Phillip Pollard <bennie@cpan.org>
Nigel Metheringham <nigelm@cpan.org>
This software is Copyright (c) 2011 by Phillip Pollard <bennie@cpan.org>.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install VMware::vCloud, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VMware::vCloud
CPAN shell
perl -MCPAN -e shell install VMware::vCloud
For more information on module installation, please visit the detailed CPAN module installation guide.