File Coverage

blib/lib/App/Aliyun.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 7 7 100.0


line stmt bran cond sub pod time code
1             package App::Aliyun;
2              
3 1     1   49558 use strict;
  1         2  
  1         31  
4 1     1   30 use 5.008_005;
  1         3  
5             our $VERSION = '0.02';
6              
7             1;
8             __END__
9              
10             =encoding utf-8
11              
12             =head1 NAME
13              
14             App::Aliyun - Aliyun Command Tools
15              
16             =head1 SYNOPSIS
17              
18             $ export ALIYUN_ACCESS_KEY=mykey
19             $ export ALIYUN_ACCESS_SECRET=mysec
20             $ export ALIYUN_REGION_ID=cn-shenzhen
21              
22             ### List all regions (useful to test your key/secret)
23             $ aliyun-cli-regions
24              
25             ### add your public IP in the RDS whitelist for all instances
26             $ aliyun-cli-rds-whitelist-my-ip mygroupA
27              
28             ### restart instance by name
29             $ aliyun-cli-ec2-restart-by-name server1
30              
31             =head1 DESCRIPTION
32              
33             You can get your AccessId and AccessSecret from L<https://ak-console.aliyun.com/>
34              
35             =head1 AUTHOR
36              
37             Fayland Lam E<lt>fayland@gmail.comE<gt>
38              
39             =head1 COPYRIGHT
40              
41             Copyright 2017- Fayland Lam
42              
43             =head1 LICENSE
44              
45             This library is free software; you can redistribute it and/or modify
46             it under the same terms as Perl itself.
47              
48             =head1 SEE ALSO
49              
50             =cut