aboutsummaryrefslogtreecommitdiff
path: root/doc/eclat-lsimg.1
blob: cb400f12afd0f94c783cb444e7c351d6b650df0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
.\" This file is part of Eclat -*- nroff -*-
.\" Copyright (C) 2012-2014 Sergey Poznyakoff
.\"
.\" Eclat is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 3, or (at your option)
.\" any later version.
.\"
.\" Eclat is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with Eclat.  If not, see <http://www.gnu.org/licenses/>.
.TH LSIMG 1 "February 13, 2014" "ECLAT" "Eclat User Reference"
.SH NAME
eclat lsimg, describe\-images \- describe available Amazon images
.SH SYNOPSIS
.nh
.na
\fBeclat lsimg\fR\
 [\fB\-a\fR] [\fB\-u\fR \fIID\fR]\
 [\fB\-x\fR \fIID\fR] [\fB\-\-owner\fR=\fIID\fR]\
 [\fB\-\-executable\-by\fR=\fIID\fR]\
 [\fIFILTER\fR...] [\fIAMI\fR...]
.PP
\fBeclat lsimg\fB \fB\-\-help\fR
.ad
.hy
.SH DESCRIPTION
This command lists available Amazon images.
.PP
The list of returned images can be abridged using command line options,
filters and arguments.
.PP
Filters are any arguments that have the \fBkey\fR=\fBvalue\fR structure.
When filters are supplied, only those images that match them are returned.
Multiple filters are joined using logical \fBAND\fR.   Multiple values
separated by commas can be specified for a given \fBkey\fR, in which case
a logical \fBOR\fR is implied.  See the section
.BR FILTERS
below for a list of available filters.
.PP
Any command line argument that is not an option or filter is treated as
image ID (or image name, if ID mapping is enabled) to return.  Any
number of IDs can be specified.  If ID mapping is enabled (see the section \fBMAPS\fR
in
.BR eclat (1)),
this command uses the \fBImageId\fR map to translate image names to
the corresponding identifiers.
.PP
Image IDs, filters and options can be used in conjunction.
.SH OPTIONS
.TP
\fB\-u\fR, \fB\-\-owner\fR \fIID\fR
Filters the images owned by the specified owner.  The argument is either 
the ID of the owner, or one of the following reserved words:
.RS 4
.TP
.B self
Returns the images you own.
.TP
.B amazon
Returns the public Amazon images.
.TP
.B all
Returns all available images.
.TP
.B aws\-marketplace
Returns images from the AWS marketplace.
.RE
.TP
\fB\-x\fR, \fB\-\-executable\-by\fR=\fIID\fR
Returns AMIs for which the specified user \fIID\fR has explicit
launch permissions.  The \fIID\fR is either an AWS user ID or
one of the following reserved words:
.RS 4
.TP
.B self
Returns the images which you can launch.
.TP
.B all
Returns all images.
.RE
.SH FILTERS
.TP
\fBarchitecture\fR=\fBi386\fR | \fBx86_64\fR
Selects images by architecture.
.TP
\fBblock\-device\-mapping.delete\-on\-termination\fR=\fIBOOL\fR
Selects images based on whether their Amazon EBS volume is deleted on
instance termination.
.TP
\fBblock\-device\-mapping.device\-name\fR=\fINAME\fR
The device name for the volume.
.TP
\fBblock\-device\-mapping.snapshot\-id\fR=\fIID\fR
The ID of the snapshot used for the volume.
.TP
\fBblock\-device\-mapping.volume\-size\fR=\fINUMBER\fR
The volume size in GB.
.TP
\fBblock\-device\-mapping.volume\-type\fR=\fBstandard\fR | \fBio1\fR
The type of the volume.
.TP
\fBdescription\fR=\fISTRING\fR
The textual description of the AMI.
.TP
\fBimage\-id\fR=\fIID\fR
The ID of the image.
.TP
\fBimage\-type\fR=\fBmachine\fR | \fBkernel\fR | \fBramdisk\fR
The type of the image.
.TP
\fBis\-public\fR=\fIBOOL\fR
Whether the image is public.
.TP
\fBkernel\-id\fR=\fISTRING\fR
The kernel ID.
.TP
\fBmanifest\-location\fR=\fISTRING\fR
The location of the AMI manifest.
.TP
\fBname\fR=\fISTRING\fR
The name of the AMI.
.TP
\fBowner\-alias\fR=\fISTRING\fR
The account alias.
.TP
\fBowner\-id\fR=\fISTRING\fR
The ID of the image owner.
.TP
\fBplatform=windows\fR
Selects Windows-based AMIs.
.TP
\fBproduct\-code\fR=\fISTRING\fR
.TP
\fBproduct\-code.type\fR=\fBdevpay\fR | \fBmarketplace\fR
.TP
\fBramdisk\-id\fR=\fISTRING\fR
The RAM disk ID.
.TP
\fBroot\-device\-name\fR=\fISTRING\fR
The name of the root volume.
.TP
\fBroot\-device\-type\fR=\fBebs\fR | \fBinstance\-store\fR
The name of the root device volume.
.TP
\fBstate\fR=\fBavailable\fR | \fBpending\fR | \fBfailed\fR
State of the AMI.
.TP
\fBstate\-reason\-code\fR=\fISTRING\fR
The reason code of the latest state change.
.TP
\fBstate\-reason\-message\fR=\fISTRING\fR
Message describing the reason of the latest state change.
.TP
\fBtag\-key\fR=\fISTRING\fR
The key of a tag assigned to the resource, regardless of its value.  Note,
that this filter works independently of the \fBtag\-value\fR filter, i.e.
\fBtag\-key=foo tag\-value=bar\fR will return all images that have the tag
\fBfoo\fR defined and all images that have \fBbar\fR as a value of any
of their tags.  To request the image that has the tag \fBfoo\fR set to the
value \fBbar\fR see the \fBtag\fR:\fIKEY\fR filter below.
.TP
\fBtag\-value\fR=\fISTRING\fR
The value of a tag assigned to the resource, regardless of the tag's key.
See the comment above.
.TP
\fBtag\fR:\fIKEY\fR=\fIVAL\fR
Selects images having the specified tag \fIKEY\fR set to the value
\fIVAL\fR.  For example:
.sp
.EX
tag:Name="db server"
.EE
.TP
\fBvirtualization\-type\fR=\fBparavirtual\fR | \fBhvm\fR
.TP
\fBhypervisor\fR=\fBovm\fR | \fBxen\fR
.SH OUTPUT
.SH EXAMPLE
.SH "SEE ALSO"
.BR eclat (1),
.BR eclat\-mkimg (1),
.BR eclat\-deimg (1).
.SH AUTHORS
Sergey Poznyakoff
.SH "BUG REPORTS"
Report bugs to <bug\-eclat@gnu.org.ua>.
.SH COPYRIGHT
Copyright \(co 2012-2014 Sergey Poznyakoff
.br
.na
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
.br
.ad
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.\" Local variables:
.\" eval: (add-hook 'write-file-hooks 'time-stamp)
.\" time-stamp-start: ".TH [A-Z_][A-Z0-9_.\\-]* [0-9] \""
.\" time-stamp-format: "%:B %:d, %:y"
.\" time-stamp-end: "\""
.\" time-stamp-line-limit: 20
.\" end:

Return to:

Send suggestions and report system problems to the System administrator.