org.jclouds.servermanager.compute.strategy
Class ServerManagerComputeServiceAdapter
java.lang.Object
org.jclouds.servermanager.compute.strategy.ServerManagerComputeServiceAdapter
- All Implemented Interfaces:
- org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
@Singleton
public class ServerManagerComputeServiceAdapter
- extends Object
- implements org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
defines the connection between the ServerManager implementation and the jclouds
ComputeService
| Nested classes/interfaces inherited from interface org.jclouds.compute.ComputeServiceAdapter |
org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<N> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerManagerComputeServiceAdapter
@Inject
public ServerManagerComputeServiceAdapter(ServerManager client)
createNodeWithGroupEncodedIntoName
public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<Server> createNodeWithGroupEncodedIntoName(String tag,
String name,
org.jclouds.compute.domain.Template template)
- Specified by:
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
listHardwareProfiles
public Iterable<Hardware> listHardwareProfiles()
- Specified by:
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
listImages
public Iterable<Image> listImages()
- Specified by:
listImages in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
listNodes
public Iterable<Server> listNodes()
- Specified by:
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
listLocations
public Iterable<Datacenter> listLocations()
- Specified by:
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
getNode
public Server getNode(String id)
- Specified by:
getNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
destroyNode
public void destroyNode(String id)
- Specified by:
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
rebootNode
public void rebootNode(String id)
- Specified by:
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
resumeNode
public void resumeNode(String id)
- Specified by:
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
suspendNode
public void suspendNode(String id)
- Specified by:
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<Server,Hardware,Image,Datacenter>
Copyright © 2009-2012 jclouds. All Rights Reserved.