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:
- distributionid
Optional Parameters:
- isxen
- kernelid
Optional Parameters:
- planid
Optional Parameters:
- distributionid
- distributionvendor
- keywords
Optional Parameters:
- domainid
Required Parameters:
- domainid
Optional Parameters:
- axfr_ips
- description
- domain
- expire_sec
- lpm_displaygroup
- master_ips
- refresh_sec
- retry_sec
- soa_email
- status
- ttl_sec
- type
Required Parameters:
- domain
- type
Optional Parameters:
- axfr_ips
- description
- expire_sec
- lpm_displaygroup
- master_ips
- refresh_sec
- retry_sec
- soa_email
- status
- ttl_sec
Required Parameters:
- domainid
Required Parameters:
- resourceid
Optional Parameters:
- domainid
- name
- port
- priority
- protocol
- target
- ttl_sec
- weight
Required Parameters:
- domainid
Optional Parameters:
- resourceid
Required Parameters:
- domainid
- resourceid
Required Parameters:
- domainid
- type
Optional Parameters:
- name
- port
- priority
- protocol
- target
- ttl_sec
- weight
Required Parameters:
- linodeid
- planid
Optional Parameters:
- linodeid
Required Parameters:
- linodeid
Required Parameters:
- linodeid
Optional Parameters:
- configid
Required Parameters:
- datacenterid
- planid
Optional Parameters:
- paymentterm
Required Parameters:
- datacenterid
- linodeid
- planid
Optional Parameters:
- paymentterm
Required Parameters:
- linodeid
Optional Parameters:
- 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
- lpm_displaygroup
- ms_ssh_disabled
- ms_ssh_ip
- ms_ssh_port
- ms_ssh_user
- watchdog
Required Parameters:
- linodeid
Required Parameters:
- linodeid
Optional Parameters:
- configid
Required Parameters:
- linodeid
Required Parameters:
- linodeid
Optional Parameters:
- skipchecks
Required Parameters:
- configid
- linodeid
Required Parameters:
- kernelid
- label
- linodeid
Optional Parameters:
- comments
- devtmpfs_automount
- disklist
- helper_depmod
- helper_disableupdatedb
- helper_xen
- ramlimit
- rootdevicecustom
- rootdevicenum
- rootdevicero
- runlevel
Required Parameters:
- configid
Optional Parameters:
- comments
- devtmpfs_automount
- disklist
- helper_depmod
- helper_disableupdatedb
- helper_xen
- kernelid
- label
- linodeid
- ramlimit
- rootdevicecustom
- rootdevicenum
- rootdevicero
- runlevel
Required Parameters:
- linodeid
Optional Parameters:
- configid
Required Parameters:
- imageid
- linodeid
Optional Parameters:
- rootpass
- rootsshkey
- size
Required Parameters:
- diskid
- linodeid
Required Parameters:
- diskid
Optional Parameters:
- isreadonly
- label
- linodeid
Required Parameters:
- distributionid
- label
- linodeid
- rootpass
- size
- stackscriptid
- stackscriptudfresponses
Optional Parameters:
- rootsshkey
Required Parameters:
- diskid
- linodeid
Optional Parameters:
- description
- label
Required Parameters:
- diskid
- linodeid
Required Parameters:
- diskid
- linodeid
- size
Required Parameters:
- linodeid
Optional Parameters:
- diskid
Required Parameters:
- distributionid
- label
- linodeid
- rootpass
- size
Optional Parameters:
- rootsshkey
Required Parameters:
- label
- linodeid
- size
- type
Optional Parameters:
- fromdistributionid
- isreadonly
- rootpass
- rootsshkey
Required Parameters:
- hostname
- ipaddressid
Required Parameters:
- ipaddressid
Optional Parameters:
- tolinodeid
- withipaddressid
Required Parameters:
- linodeid
Required Parameters:
- linodeid
Optional Parameters:
- ipaddressid
Required Parameters:
- linodeid
Required Parameters:
- linodeid
Optional Parameters:
- jobid
- pendingonly
Optional Parameters:
- stackscriptid
Required Parameters:
- stackscriptid
Optional Parameters:
- description
- distributionidlist
- ispublic
- label
- rev_note
- script
Required Parameters:
- distributionidlist
- label
- script
Optional Parameters:
- description
- ispublic
- rev_note
Required Parameters:
- stackscriptid
Required Parameters:
- configid
- nodebalancerid
Required Parameters:
- nodebalancerid
Optional Parameters:
- algorithm
- check
- check_attempts
- check_body
- check_interval
- check_path
- check_timeout
- port
- protocol
- ssl_cert
- ssl_key
- stickiness
Required Parameters:
- configid
Optional Parameters:
- algorithm
- check
- check_attempts
- check_body
- check_interval
- check_path
- check_timeout
- port
- protocol
- ssl_cert
- ssl_key
- stickiness
Required Parameters:
- nodebalancerid
Optional Parameters:
- configid
Required Parameters:
- address
- configid
- label
Optional Parameters:
- mode
- weight
Required Parameters:
- nodeid
Required Parameters:
- configid
Optional Parameters:
- nodeid
Required Parameters:
- nodeid
Optional Parameters:
- address
- label
- mode
- weight
Required Parameters:
- password
- username
Optional Parameters:
- expires
- label
- token
- Michael Greb,
<mgreb@linode.com>
- Stan "The Man" Schwertly
<stan@linode.com>
Copyright 2008-2014 Michael Greb, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.