1VM::EC2::REST::monitoriUnsge(r3)Contributed Perl DocumenVtMa:t:iEoCn2::REST::monitoring(3)
2
3
4
7 use VM::EC2 ':misc';
8
10 These methods enable the monitoring/unmonitoring of instances.
11
12 @monitoring_state = $ec2->monitor_instances(@list_of_instanceIds)
13 @monitoring_state = $ec2->monitor_instances(-instance_id=>\@instanceIds)
14 This method enables monitoring for the listed instances and returns a
15 list of VM::EC2::Instance::MonitoringState objects. You can later use
16 these objects to activate and inactivate monitoring.
17
18 @monitoring_state = $ec2->unmonitor_instances(@list_of_instanceIds)
19 @monitoring_state = $ec2->unmonitor_instances(-instance_id=>\@instanceIds)
20 This method disables monitoring for the listed instances and returns a
21 list of VM::EC2::Instance::MonitoringState objects. You can later use
22 these objects to activate and inactivate monitoring.
23
25 VM::EC2
26
28 Lincoln Stein <lincoln.stein@gmail.com>.
29
30 Copyright (c) 2011 Ontario Institute for Cancer Research
31
32 This package and its accompanying libraries is free software; you can
33 redistribute it and/or modify it under the terms of the GPL (either
34 version 1, or at your option, any later version) or the Artistic
35 License 2.0. Refer to LICENSE for the full license text. In addition,
36 please see DISCLAIMER.txt for disclaimers of warranty.
37
38
39
40perl v5.34.0 2022-01-21 VM::EC2::REST::monitoring(3)