VM::EC...itoring(3pm)

πŸ“¦
version 1.28 Β· 7 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– VM::EC2::REST::monitoring β€” the manual page, but make it make sense πŸ’–

okay bestie, so this is the VM::EC2::REST::monitoring page, from the User Contributed Perl Documentation, and the whole vibe here is monitoring of instances. yep. that's the thing. turning instance monitoring on and off. iconic behavior honestly ✨


🌸 NAME 🌸

VM::EC2::REST::monitoring β€” Monitoring of instances 🫢

✨ SYNOPSIS ✨

use VM::EC2 ':misc';

that's it. that's the whole synopsis. she's minimal, she's clean, she ate πŸ’…

πŸ¦‹ METHODS πŸ¦‹

so these methods are literally here to let you monitor and unmonitor your instances. that's the assignment. no cap πŸ’€

@monitoring_state = $ec2->monitor_instances(@list_of_instanceIds)

@monitoring_state = $ec2->monitor_instances(-instance_id=>\@instanceIds)

this one turns monitoring ON for all the instances you list, and it hands you back a list of VM::EC2::Instance::MonitoringState objects. and like, the way that you can keep those objects around and use them later to activate and inactivate monitoring?? obsessed. they're yours, they're reusable, slay πŸ‘‘

@monitoring_state = $ec2->unmonitor_instances(@list_of_instanceIds)

@monitoring_state = $ec2->unmonitor_instances(-instance_id=>\@instanceIds)

and this one does the opposite bestie β€” monitoring OFF for every instance you listed. same deal: you get back a list of VM::EC2::Instance::MonitoringState objects, and you can use those later to activate and inactivate monitoring. yes, same sentence as above, because it's the same truth fr fr 🌈

side note: both methods return the exact same object type, so whichever direction you're going, the receipts are VM::EC2::Instance::MonitoringState 🧚

πŸ‘€ SEE ALSO πŸ‘€

  • VM::EC2

that's the one. go read that if you want the full lore πŸ“š

πŸŽ€ AUTHOR πŸŽ€

Lincoln Stein <lincoln.stein@gmail.com> β€” a legend, periodt πŸ’œ

Copyright (c) 2011 Ontario Institute for Cancer Research

okay so legal bit, and it's important so don't skip it: this package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. refer to LICENSE for the full license text. and ALSO, please go see DISCLAIMER.txt for the disclaimers of warranty πŸ™ˆ


and that's the whole page!! this manual came from perl v5.38.2 dated 2024-08-10, so shoutout to that version and that date, mwah πŸ’‹ byeeee πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from