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 group,
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) |
I |
getImage(String id)
get a specific image by 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() |
Iterable<N> |
listNodesByIds(Iterable<String> ids) |
void |
rebootNode(String id) |
void |
resumeNode(String id) |
void |
suspendNode(String id) |
ComputeServiceAdapter.NodeAndInitialCredentials<N> createNodeWithGroupEncodedIntoName(String group, 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
group
- used to aggregate nodes with identical configurationname
- unique supplied name for the node, which has the group 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()
@Nullable I getImage(String id)
id
- Image#getId
, which is not necessarily Image#getProviderId
void destroyNode(String id)
void rebootNode(String id)
void resumeNode(String id)
void suspendNode(String id)
Copyright © 2009-2013 jclouds. All Rights Reserved.