1VM::EC2::AvailabilityZoUnsee(r3pCmo)ntributed Perl DocumVeMn:t:aEtCi2o:n:AvailabilityZone(3pm)
2
3
4
6 VM::EC2::AvailabilityZone - Object describing an Amazon availability
7 zone
8
10 use VM::EC2;
11
12 $ec2 = VM::EC2->new(...);
13 @zones = $ec2->describe_availability_zones(-filter=>{state=>'available'});
14
15 $zone = $zones[0];
16 $name = $zone->zoneName;
17 @messages= $zone->messages;
18
20 This object represents an Amazon EC2 availability zone, and is returned
21 by VM::EC2->describe_availability_zones().
22
24 These object methods are supported:
25
26 zoneName -- Name of the zone, e.g. "eu-west-1a"
27 zoneState -- State of the availability zone, e.g. "available"
28 regionName -- Name of the region
29 region -- A VM::EC2::Region object corresponding to regionName
30 messages -- A list of messages about the zone
31
33 When used in a string context, this object will interpolate the
34 zoneName.
35
37 VM::EC2 VM::EC2::Generic VM::EC2::Region
38
40 Lincoln Stein <lincoln.stein@gmail.com>.
41
42 Copyright (c) 2011 Ontario Institute for Cancer Research
43
44 This package and its accompanying libraries is free software; you can
45 redistribute it and/or modify it under the terms of the GPL (either
46 version 1, or at your option, any later version) or the Artistic
47 License 2.0. Refer to LICENSE for the full license text. In addition,
48 please see DISCLAIMER.txt for disclaimers of warranty.
49
50
51
52perl v5.38.0 2023-07-21 VM::EC2::AvailabilityZone(3pm)