public interface ComputeServiceAdapter<N,H,I,L>
ComputeServices
and a concrete compute cloud implementation, jclouds or
otherwise.Modifier and Type | Interface and Description |
---|---|
static class |
ComputeServiceAdapter.NodeAndInitialCredentials<N> |
Modifier and Type | Method and Description |
---|---|
ComputeServiceAdapter.NodeAndInitialCredentials<N> |
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) |
N |
getNode(String id) |
Iterable<H> |
listHardwareProfiles()
Hardware profiles describe available cpu, memory, and disk configurations
that can be used to run a node.
|
Iterable<I> |
listImages()
Images are the available configured operating systems that someone can run
a node with.
|
Iterable<L> |
listLocations() |
Iterable<N> |
listNodes() |
void |
rebootNode(String id) |
void |
resumeNode(String id) |
void |
suspendNode(String id) |
ComputeServiceAdapter.NodeAndInitialCredentials<N> 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.
N
. If you are not using library-native objects
(such as libvirt Domain
) use
JCloudsNativeComputeServiceAdapter
instead.
credentialStore
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)
Iterable<H> listHardwareProfiles()
ComputeService.listHardwareProfiles()
Iterable<I> listImages()
ComputeService.listImages()
void destroyNode(String id)
void rebootNode(String id)
void resumeNode(String id)
void suspendNode(String id)
Copyright © 2009-2012 jclouds. All Rights Reserved.