1VM::EC2::ReservationSetU(s3eprm)Contributed Perl DocumenVtMa:t:iEoCn2::ReservationSet(3pm)
2
3
4

NAME

6       VM::EC2::Reservation - Object describing an instance reservation set
7

SYNOPSIS

9         use VM::EC2;
10
11         $ec2       = VM::EC2->new(...);
12         @instances = $ec2->describe_instances();
13         for my $i (@instances) {
14            $res    = $i->reservationId;
15            $req    = $i->requesterId;
16            $owner  = $i->ownerId;
17            @groups = $i->groups;
18         }
19

DESCRIPTION

21       This object is used internally to manage the output of
22       VM::EC2->describe_instances(). Because reservations are infrequently
23       used, this object is not used directly; instead the reservation and
24       requester IDs contained within it are stored in the VM::EC2::Instance
25       objects returned by describe_instances().
26

METHODS

28       One object method is supported:
29
30   @instances = $reservation_set->instances()
31       This will return the instances contained within the reservation set.
32

SEE ALSO

34       VM::EC2 VM::EC2::Generic VM::EC2::Instance
35

AUTHOR

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