1VM::EC2::Volume::StatusU(s3eprm)Contributed Perl DocumenVtMa:t:iEoCn2::Volume::Status(3pm)
2
3
4
6 VM::EC2::Volume::Status - Object describing an volume/system status
7 check
8
10 @status_items = $ec2->describe_volume_status();
11 for my $i (@status_items) {
12 print $i->volume_id,': ',$i->status,"\n";
13 if ($i->status ne 'ok') {
14 print $i->status->details,"\n";
15 }
16 }
17
19 This object represents the result of a volume status check operation.
20
22 The following methods are supported:
23
24 status() -- The status, one of "ok", "impaired", "insufficient-data",
25 or "not-applicable"
26 details() -- A list of information about system volume health or
27 application volume health.
28
29 In a string context, this object interpolates with the status string.
30
32 VM::EC2 VM::EC2::Generic VM::EC2::State VM::EC2::Volume
33 VM::EC2::Volume::StatusItem VM::EC2::Tag
34
36 Lincoln Stein <lincoln.stein@gmail.com>.
37
38 Copyright (c) 2012 Ontario Institute for Cancer Research
39
40 This package and its accompanying libraries is free software; you can
41 redistribute it and/or modify it under the terms of the GPL (either
42 version 1, or at your option, any later version) or the Artistic
43 License 2.0. Refer to LICENSE for the full license text. In addition,
44 please see DISCLAIMER.txt for disclaimers of warranty.
45
46
47
48perl v5.38.0 2023-07-21 VM::EC2::Volume::Status(3pm)