- COPYRIGHT AND LICENSE
VMware::vCloudDirector2 - Interface to VMWare vCloud Directory REST API
# THIS IS AT AN EARLY STAGE OF DEVELOPMENT - PROTOTYPING REALLY # IT MAY CHANGE DRAMATICALLY OR EAT YOUR DATA. use VMware::vCloudDirector2 my $vcd = VMware::vCloudDirector2->new( hostname => $host, username => $user, password => $pass, orgname => $org, ssl_verify => 0, ); my @org_list = $vcd->org_list;
Hostname of the vCloud server. Must have a vCloud instance listening for https on port 443.
Username to use to login to vCloud server.
Password to use to login to vCloud server.
Org name to use to login to vCloud server - this defaults to
Command timeout in seconds. Defaults to 120.
The default MIME types to accept. This is automatically set based on the information received back from the API versions.
Whether to do standard SSL certificate verification. Defaults to set.
The SSL CA set to trust packaged in a file. This defaults to those set in the Mozilla::CA
Set debug level. The higher the debug level, the more chatter is exposed.
Defaults to 0 (no output) unless the environment variable
VCLOUD_API_DEBUG is set to something that is non-zero. Picked up at create time in
Returns a set of VMware::vCloudDirector2::Object each containing one of the vCloud Orgs on the system (or if using this in user mode the single org you can see).
Returns a VMware::vCloudDirector2::Object containing the query result of the query against the platform.
Thinish wrapper of the VMware vCloud Director REST API.
This differs from VMware::vCloudDirector in that it uses the JSON flavoured version of the API, which has subtly different naming conventions (which is why I didn't try to make the code handle both flavours), but is much easier to work with when doing write operations.
It also can do write operations - as well as the other issues in VMware::vCloudDirector it looks like the write operations -
DELETE have never worked!
THIS IS AT AN EARLY STAGE OF DEVELOPMENT - PROTOTYPING REALLY - AND MAY CHANGE DRAMATICALLY OR EAT YOUR DATA.
The lack of documentation reflects the stage in development...
Nigel Metheringham <firstname.lastname@example.org>
This software is copyright (c) 2019 by Nigel Metheringham.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.