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,

Method Summary
 Slice createSlice(String name, int imageId, int flavorId)
           
 Void destroySlice(int id)
           
 Backup getBackup(int id)
           
 Flavor getFlavor(int id)
           
 Image getImage(int id)
           
 Slice getSlice(int id)
           
 Void hardRebootSlice(int id)
           
 Set<Backup> listBackups()
           
 Set<Flavor> listFlavors()
           
 Set<Image> listImages()
           
 Set<Slice> listSlices()
           
 Void rebootSlice(int id)
           
 Void rebuildSliceFromBackup(int id, int imageId)
           
 Void rebuildSliceFromImage(int id, int imageId)
           
 

Method Detail

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.