1VM::EC2::Volume::StatusU:s:eDretCaoinltsr(i3b)uted PerlVDMo:c:uEmCe2n:t:aVtoilounme::Status::Details(3)
2
3
4
6 VM::EC2::Volume::Status::Details - Object describing the details of an
7 volume status 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->volume ne 'ok') {
14 my @details = $i->volume_status->details;
15 for my $d (@details) {
16 print $d->name,"\n";
17 print $d->status,"\n";
18 }
19 }
20 }
21
23 This object represents additional details about a failed system or
24 volume status check.
25
27 These methods are supported:
28
29 name() -- The type of volume status detail, such as "reachability".
30 status() -- The status of the check, "passed", "failed" or "insufficient-data".
31 impaired_since() -- The time when a status check failed as a DateTime string.
32
33 In a string context, this object interpolates as the name().
34
36 VM::EC2 VM::EC2::Generic VM::EC2::Volume VM::EC2::Volume::State
37 VM::EC2::Volume::StatusItem VM::EC2::Volume::Status
38 VM::EC2::Volume::Status::Event VM::EC2::Tag
39
41 Lincoln Stein <lincoln.stein@gmail.com>.
42
43 Copyright (c) 2012 Ontario Institute for Cancer Research
44
45 This package and its accompanying libraries is free software; you can
46 redistribute it and/or modify it under the terms of the GPL (either
47 version 1, or at your option, any later version) or the Artistic
48 License 2.0. Refer to LICENSE for the full license text. In addition,
49 please see DISCLAIMER.txt for disclaimers of warranty.
50
51
52
53perl v5.32.1 2021-01-27VM::EC2::Volume::Status::Details(3)