line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::Aliyun; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
52442
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
23
|
|
4
|
1
|
|
|
1
|
|
26
|
use 5.008_005; |
|
1
|
|
|
|
|
4
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
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
|
|
|
|
|
|
|
$ scripts/aliyun-cli-rds-whitelist-my-ip mygroupA |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
You can get your AccessId and AccessSecret from L<https://ak-console.aliyun.com/> |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 AUTHOR |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Fayland Lam E<lt>fayland@gmail.comE<gt> |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 COPYRIGHT |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Copyright 2017- Fayland Lam |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 LICENSE |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
43
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 SEE ALSO |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |