1VM::EC2::Instance::StatUusse(r3)Contributed Perl DocumenVtMa:t:iEoCn2::Instance::Status(3)
2
3
4

NAME

6       VM::EC2::Instance::Status - Object describing an instance/system status
7       check
8

SYNOPSIS

10        @status_items = $ec2->describe_instance_status();
11        for my $i (@status_items) {
12           print $i->instance_id,
13                  ': instance check=',$i->instance_status,
14                  ', system check=',$i->system_status,"\n";
15          if ($i->instance_status ne 'ok') {
16             print $i->instance_status->details,"\n";
17          }
18        }
19

DESCRIPTION

21       This object represents the result of a system or instance status check
22       operation.
23

METHODS

25       The following methods are supported:
26
27        status()              -- The status, one of "ok", "impaired", "insufficient-data",
28                                   or "not-applicable"
29        details()             -- A list of information about system instance health or
30                                  application instance health.
31
32       In a string context, this object interpolates with the status string.
33

SEE ALSO

35       VM::EC2 VM::EC2::Generic VM::EC2::State VM::EC2::Instance
36       VM::EC2::Instance::StatusItem VM::EC2::Tag
37

AUTHOR

39       Lincoln Stein <lincoln.stein@gmail.com>.
40
41       Copyright (c) 2012 Ontario Institute for Cancer Research
42
43       This package and its accompanying libraries is free software; you can
44       redistribute it and/or modify it under the terms of the GPL (either
45       version 1, or at your option, any later version) or the Artistic
46       License 2.0.  Refer to LICENSE for the full license text. In addition,
47       please see DISCLAIMER.txt for disclaimers of warranty.
48
49
50
51perl v5.36.0                      2023-01-20      VM::EC2::Instance::Status(3)
Impressum