org.jclouds.slicehost
Interface SlicehostClient
public interface SlicehostClient
Provides access to Slicehost via their REST API.
All commands return a ListenableFuture of the result from Slicehost. Any exceptions incurred
during processing will be wrapped in an ExecutionException
as documented in
Future.get()
.
- Author:
- Adrian Cole
- See Also:
SlicehostAsyncClient
,
listSlices
Set<Slice> listSlices()
getSlice
Slice getSlice(int id)
destroySlice
Void destroySlice(int id)
rebootSlice
Void rebootSlice(int id)
hardRebootSlice
Void hardRebootSlice(int id)
createSlice
Slice createSlice(String name,
int imageId,
int flavorId)
rebuildSliceFromImage
Void rebuildSliceFromImage(int id,
int imageId)
rebuildSliceFromBackup
Void rebuildSliceFromBackup(int id,
int imageId)
listFlavors
Set<Flavor> listFlavors()
getFlavor
Flavor getFlavor(int id)
listImages
Set<Image> listImages()
getImage
Image getImage(int id)
listBackups
Set<Backup> listBackups()
getBackup
Backup getBackup(int id)
Copyright © 2009-2011 jclouds. All Rights Reserved.