The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::CloudStack - Bindings for the CloudStack API

VERSION

Version 0.00007

SYNOPSIS

    use Net::CloudStack;
    my $api = Net::CloudStack->new(
        base_url        => 'http://...',
        api_path        => 'client/api?',
        api_key         => '<your api key>',
        secret_key      => '<your secret key>',
        xml_json        => 'json',    #json or xml.xml is default.
        send_request    => 'yes',      #yes or no.When you input yes,you can get json or xml as response.
    );
    $api->listVirtualMachines();
    print $api->url;
    print $api->response;

METHODS

listVirtualMachines

    listVirtualMachines()
    listVirtualMachines("id=$id")

deployVirtualMachine

    deployVirtualMachine("serviceoffeingid=$serviceoffeingid&templateid=$templateid&zoneid=$zoneid")

startVirtualMachine/stopVirtualMachine

    startVirtualMachine("id=$id")
    stopVirtualMachine("id=$id")

Please refer API Reference in following Developer's Guide:CloudStack.

AUTHOR

Shugo Numano, <numano at cc.rim.or.jp>

@shugonumano

BUGS

Please report any bugs or feature requests to bug-net-cloudstack at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-CloudStack. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Net::CloudStack

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 Shugo Numano.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.