WebService::Linode - Perl Interface to the Linode.com API.
my $api = WebService::Linode->new( apikey => 'your api key here'); print Dumper($api->linode_list); $api->linode_reboot(linodeid=>242);
This module implements the Linode.com api methods. Linode methods have had dots replaced with underscores to generate the perl method name. All keys and parameters have been lower cased but returned data remains otherwise the same. For additional information see http://www.linode.com/api/
For documentation of possible arguments to the constructor, see WebService::Linode::Base.
Optional Parameters:
isxen
kernelid
planid
distributionid
distributionvendor
keywords
Required Parameters:
domainid
domain
type
axfr_ips
description
expire_sec
lpm_displaygroup
master_ips
refresh_sec
retry_sec
soa_email
status
ttl_sec
resourceid
name
port
priority
protocol
target
weight
linodeid
skipchecks
configid
datacenterid
paymentterm
alert_bwin_enabled
alert_bwin_threshold
alert_bwout_enabled
alert_bwout_threshold
alert_bwquota_enabled
alert_bwquota_threshold
alert_cpu_enabled
alert_cpu_threshold
alert_diskio_enabled
alert_diskio_threshold
backupweeklyday
backupwindow
label
ms_ssh_disabled
ms_ssh_ip
ms_ssh_port
ms_ssh_user
watchdog
comments
devtmpfs_automount
disklist
helper_depmod
helper_disableupdatedb
helper_xen
ramlimit
rootdevicecustom
rootdevicenum
rootdevicero
runlevel
diskid
rootpass
size
rootsshkey
fromdistributionid
isreadonly
stackscriptid
stackscriptudfresponses
hostname
ipaddressid
tolinodeid
withipaddressid
jobid
pendingonly
distributionidlist
ispublic
rev_note
script
nodebalancerid
algorithm
check
check_attempts
check_body
check_interval
check_path
check_timeout
ssl_cert
ssl_key
stickiness
nodeid
address
mode
password
username
expires
token
Michael Greb, <mgreb@linode.com>
<mgreb@linode.com>
Stan "The Man" Schwertly <stan@linode.com>
<stan@linode.com>
Copyright 2008-2009 Linode, LLC, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::Linode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Linode
CPAN shell
perl -MCPAN -e shell install WebService::Linode
For more information on module installation, please visit the detailed CPAN module installation guide.