|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JCloudsNativeComputeServiceAdapter
A means of specifying the implementation of a service that uses jclouds types.
Method Summary | |
---|---|
NodeMetadata |
createNodeWithGroupEncodedIntoNameThenStoreCredentials(String tag,
String name,
Template template,
Map<String,Credentials> credentialStore)
ComputeService.runNodesWithTag(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)
|
Methods inherited from interface org.jclouds.compute.ComputeServiceAdapter |
---|
resumeNode, suspendNode |
Method Detail |
---|
NodeMetadata createNodeWithGroupEncodedIntoNameThenStoreCredentials(String tag, String name, Template template, Map<String,Credentials> credentialStore)
ComputeService.runNodesWithTag(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
createNodeWithGroupEncodedIntoNameThenStoreCredentials
in interface ComputeServiceAdapter<NodeMetadata,Hardware,Image,Location>
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.credentialStore
- once the node is resumeed, its login user and password must be stored keyed on
node#id
.
ComputeService.runNodesWithTag(String, int, Template)
,
ComputeServiceContext.getCredentialStore()
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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |