public interface DeltacloudClient
DeltacloudAsyncClient
,
Modifier and Type | Method and Description |
---|---|
Instance |
createInstance(String imageId,
CreateInstanceOptions... options)
Create a new Instance
|
Set<DeltacloudCollection> |
getCollections()
The result of this entry-point is a set of entry-points into other collections, such as
images, instances, hardware profiles and realms, among others.
|
HardwareProfile |
getHardwareProfile(URI profileHref) |
Image |
getImage(URI imageHref) |
Instance |
getInstance(URI instanceHref) |
com.google.common.collect.Multimap<Instance.State,Transition> |
getInstanceStates() |
Realm |
getRealm(URI realmHref) |
Set<HardwareProfile> |
listHardwareProfiles()
The hardware profiles collection will return a set of all hardware profiles available to the
current user.
|
Set<Image> |
listImages()
The images collection will return a set of all images available to the current user.
|
Set<Instance> |
listInstances()
The instances collection will return a set of all instances available to the current user.
|
Set<Realm> |
listRealms()
The realms collection will return a set of all realms available to the current user.
|
void |
performAction(HttpRequest action)
perform a specific action.
|
Set<DeltacloudCollection> getCollections()
com.google.common.collect.Multimap<Instance.State,Transition> getInstanceStates()
Set<Realm> listRealms()
Set<Image> listImages()
Set<HardwareProfile> listHardwareProfiles()
HardwareProfile getHardwareProfile(URI profileHref)
profileHref
- Set<Instance> listInstances()
Instance getInstance(URI instanceHref)
instanceHref
- Instance createInstance(String imageId, CreateInstanceOptions... options)
imageId
- The identifier (not URL) of the image from which to base the instanceoptions
- includes realm, hardware profile, etc.void performAction(HttpRequest action)
action
- reference from Instance.getActions()
Copyright © 2009-2013 jclouds. All Rights Reserved.