@Singleton public class DeltacloudComputeServiceAdapter extends Object implements ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>
DeltacloudClient implementation
and the jclouds ComputeServiceComputeServiceAdapter.NodeAndInitialCredentials<N>| Constructor and Description |
|---|
DeltacloudComputeServiceAdapter(DeltacloudClient client) |
| Modifier and Type | Method and Description |
|---|---|
ComputeServiceAdapter.NodeAndInitialCredentials<Instance> |
createNodeWithGroupEncodedIntoName(String tag,
String name,
Template template)
ComputeService.createNodesInGroup(String, int, Template) generates
the parameters passed into this method such that each node in the set has
a unique name. |
void |
destroyNode(String id) |
Instance |
getNode(String id) |
Iterable<HardwareProfile> |
listHardwareProfiles()
Hardware profiles describe available cpu, memory, and disk configurations
that can be used to run a node.
|
Iterable<Image> |
listImages()
Images are the available configured operating systems that someone can run
a node with.
|
Iterable<Realm> |
listLocations() |
Iterable<Instance> |
listNodes() |
void |
rebootNode(String id) |
void |
resumeNode(String id) |
void |
suspendNode(String id) |
@Inject public DeltacloudComputeServiceAdapter(DeltacloudClient client)
public ComputeServiceAdapter.NodeAndInitialCredentials<Instance> createNodeWithGroupEncodedIntoName(String tag, String name, Template template)
ComputeServiceAdapterComputeService.createNodesInGroup(String, int, Template) generates
the parameters passed into this method such that each node in the set has
a unique name.
N. If you are not using library-native objects
(such as libvirt Domain) use
JCloudsNativeComputeServiceAdapter instead.
credentialStorecreateNodeWithGroupEncodedIntoName in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>tag - used to aggregate nodes with identical configurationname - unique supplied name for the node, which has the tag encoded
into it.template - includes imageId, locationId, and
hardwareId used to resume the instance.ComputeService.createNodesInGroup(String, int, Template)public Iterable<HardwareProfile> listHardwareProfiles()
ComputeServiceAdapterlistHardwareProfiles in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>ComputeService.listHardwareProfiles()public Iterable<Image> listImages()
ComputeServiceAdapterlistImages in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>ComputeService.listImages()public Iterable<Instance> listNodes()
listNodes in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>public Iterable<Realm> listLocations()
listLocations in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>public Instance getNode(String id)
getNode in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>public void destroyNode(String id)
destroyNode in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>public void rebootNode(String id)
rebootNode in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>public void resumeNode(String id)
resumeNode in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>public void suspendNode(String id)
suspendNode in interface ComputeServiceAdapter<Instance,HardwareProfile,Image,Realm>Copyright © 2009-2012 jclouds. All Rights Reserved.