public interface JCloudsNativeComputeServiceAdapter extends ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
Modifier and Type | Interface and Description |
---|---|
static class |
JCloudsNativeComputeServiceAdapter.NodeWithInitialCredentials |
ComputeServiceAdapter.NodeAndInitialCredentials<N>
Modifier and Type | Method and Description |
---|---|
JCloudsNativeComputeServiceAdapter.NodeWithInitialCredentials |
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) |
NodeMetadata |
getNode(String id) |
Iterable<Hardware> |
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<Location> |
listLocations() |
Iterable<NodeMetadata> |
listNodes() |
void |
rebootNode(String id) |
getImage, listNodesByIds, resumeNode, suspendNode
JCloudsNativeComputeServiceAdapter.NodeWithInitialCredentials 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
createNodeWithGroupEncodedIntoName
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
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<NodeMetadata> listNodes()
listNodes
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
Iterable<Image> listImages()
listImages
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
ComputeService.listImages()
Iterable<Hardware> listHardwareProfiles()
listHardwareProfiles
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
ComputeService.listHardwareProfiles()
Iterable<Location> listLocations()
listLocations
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
NodeMetadata getNode(String id)
getNode
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
void destroyNode(String id)
destroyNode
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
void rebootNode(String id)
rebootNode
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.