Modifier and Type | Method and Description |
---|---|
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.
|
ServerImage deleteById(long id)
id
- id of the existing imageServerImage saveImageFromServer(String friendlyName, String idOrName, SaveImageOptions... options)
idOrName
- id or name of the existing serverfriendlyName
- friendly name of the imageSet<ServerImage> getImageList(GetImageListOptions... options)
options
- options to narrow the search downSet<ServerImage> getImagesById(Long... ids)
ids
- the ids that match existing imagesSet<ServerImage> getImagesByName(String... names)
names
- the names that march existing imagesServerImage editImageDescription(String idOrName, String newDescription)
idOrName
- id or name of the existing imagenewDescription
- description to replace the current oneServerImage editImageFriendlyName(String idOrName, String newFriendlyName)
idOrName
- id or name of the existing imagenewFriendlyName
- friendly name to replace the current oneSet<Option> getDatacenters()
getImageList(org.jclouds.gogrid.options.GetImageListOptions...)
.Copyright © 2009-2013 jclouds. All Rights Reserved.