|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GridImageApi
Manages the server images
| Method Summary | |
|---|---|
ServerImage |
deleteById(long id)
Deletes an existing image |
ServerImage |
editImageDescription(String idOrName,
String newDescription)
Edits an existing image |
ServerImage |
editImageFriendlyName(String idOrName,
String newFriendlyName)
Edits an existing image |
Set<Option> |
getDatacenters()
Retrieves the list of supported Datacenters to save images in. |
Set<ServerImage> |
getImageList(GetImageListOptions... options)
Returns all server images. |
Set<ServerImage> |
getImagesById(Long... ids)
Returns images, found by specified ids |
Set<ServerImage> |
getImagesByName(String... names)
Returns images, found by specified names |
ServerImage |
saveImageFromServer(String friendlyName,
String idOrName,
SaveImageOptions... options)
This call will save a private (visible to only you) server image to your library of available images. |
| Method Detail |
|---|
Set<ServerImage> getImageList(GetImageListOptions... options)
options - options to narrow the search down
Set<ServerImage> getImagesById(Long... ids)
ids - the ids that match existing images
Set<ServerImage> getImagesByName(String... names)
names - the names that march existing images
ServerImage editImageDescription(String idOrName,
String newDescription)
idOrName - id or name of the existing imagenewDescription - description to replace the current one
ServerImage editImageFriendlyName(String idOrName,
String newFriendlyName)
idOrName - id or name of the existing imagenewFriendlyName - friendly name to replace the current one
Set<Option> getDatacenters()
getImageList(org.jclouds.gogrid.options.GetImageListOptions...).
ServerImage deleteById(long id)
id - id of the existing image
ServerImage saveImageFromServer(String friendlyName,
String idOrName,
SaveImageOptions... options)
idOrName - id or name of the existing serverfriendlyName - friendly name of the image
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||