public interface ImageApi
ImageAsyncApi, 
| Modifier and Type | Method and Description | 
|---|---|
void | 
delete(String id)
Delete the specified image 
 | 
void | 
deleteMetadata(String id,
              String key)
Delete a metadata item from an image. 
 | 
Image | 
get(String id)
List details of the specified image 
 | 
Map<String,String> | 
getMetadata(String id)
List all metadata for an image. 
 | 
String | 
getMetadata(String id,
           String key)
Update the metadata for an image. 
 | 
PagedIterable<? extends Resource> | 
list()
List all images (IDs, names, links) 
 | 
PaginatedCollection<? extends Resource> | 
list(PaginationOptions options)  | 
PagedIterable<? extends Image> | 
listInDetail()
List all images (all details) 
 | 
PaginatedCollection<? extends Image> | 
listInDetail(PaginationOptions options)  | 
Map<String,String> | 
setMetadata(String id,
           Map<String,String> metadata)
Sets the metadata for an image. 
 | 
Map<String,String> | 
updateMetadata(String id,
              Map<String,String> metadata)
Update the metadata for a server. 
 | 
String | 
updateMetadata(String id,
              String key,
              String value)
Set a metadata item for an image. 
 | 
PagedIterable<? extends Resource> list()
PaginatedCollection<? extends Resource> list(PaginationOptions options)
PagedIterable<? extends Image> listInDetail()
PaginatedCollection<? extends Image> listInDetail(PaginationOptions options)
Image get(String id)
id - id of the servervoid delete(String id)
id - id of the imageMap<String,String> getMetadata(String id)
id - id of the imageMap<String,String> setMetadata(String id, Map<String,String> metadata)
id - id of the imagemetadata - a Map containing the metadataMap<String,String> updateMetadata(String id, Map<String,String> metadata)
id - id of the imagemetadata - a Map containing the metadata@Nullable String getMetadata(String id, String key)
id - id of the imagemetadata - a Map containing the metadataString updateMetadata(String id, String key, String value)
id - id of the imagekey - the name of the metadata itemvalue - the value of the metadata itemCopyright © 2009-2013 jclouds. All Rights Reserved.