|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImageApi
Image Services
| Method Summary | |
|---|---|
ImageDetails |
create(String name,
org.jclouds.io.Payload payload,
CreateImageOptions... options)
Create a new image |
boolean |
delete(String id)
Delete the image with the specified id |
ImageDetails |
get(String id)
Return metadata about an image with id |
InputStream |
getAsStream(String id)
Return image data for image with id |
org.jclouds.collect.PagedIterable<? extends Image> |
list()
List all images (IDs, names, links) |
org.jclouds.openstack.keystone.v2_0.domain.PaginatedCollection<? extends Image> |
list(ListImageOptions options)
|
org.jclouds.collect.PagedIterable<? extends ImageDetails> |
listInDetail()
List all images (all details) |
org.jclouds.openstack.keystone.v2_0.domain.PaginatedCollection<? extends ImageDetails> |
listInDetail(ListImageOptions options)
|
ImageDetails |
reserve(String name,
CreateImageOptions... options)
Reserve a new image to be uploaded later |
ImageDetails |
update(String id,
UpdateImageOptions... options)
Adjust the metadata stored for an existing image |
ImageDetails |
upload(String id,
org.jclouds.io.Payload imageData,
UpdateImageOptions... options)
Upload image data for a previously-reserved image If an image was previously reserved, and thus is in the queued state, then image data can be added using this method. |
| Method Detail |
|---|
org.jclouds.collect.PagedIterable<? extends Image> list()
org.jclouds.openstack.keystone.v2_0.domain.PaginatedCollection<? extends Image> list(ListImageOptions options)
org.jclouds.collect.PagedIterable<? extends ImageDetails> listInDetail()
org.jclouds.openstack.keystone.v2_0.domain.PaginatedCollection<? extends ImageDetails> listInDetail(ListImageOptions options)
@Nullable ImageDetails get(String id)
@Nullable InputStream getAsStream(String id)
ImageDetails create(@HeaderParam(value="x-image-meta-name")
String name,
org.jclouds.io.Payload payload,
CreateImageOptions... options)
ImageDetails reserve(@HeaderParam(value="x-image-meta-name")
String name,
CreateImageOptions... options)
upload(java.lang.String, org.jclouds.io.Payload, org.jclouds.openstack.glance.v1_0.options.UpdateImageOptions...)
ImageDetails upload(String id,
org.jclouds.io.Payload imageData,
UpdateImageOptions... options)
imageData - the new image to uploadoptions - can be used to adjust the metadata stored for the image in the
same call
reserve(java.lang.String, org.jclouds.openstack.glance.v1_0.options.CreateImageOptions...)
ImageDetails update(String id,
UpdateImageOptions... options)
boolean delete(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||