org.jclouds.smartos.compute.strategy
Class SmartOSComputeServiceAdapter
java.lang.Object
org.jclouds.smartos.compute.strategy.SmartOSComputeServiceAdapter
- All Implemented Interfaces:
- org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
@Singleton
public class SmartOSComputeServiceAdapter
- extends Object
- implements org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
defines the connection between the org.jclouds.smartos.compute.domain.SmartOSHostController
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 |
SmartOSComputeServiceAdapter
@Inject
public SmartOSComputeServiceAdapter(SmartOSHostController host)
createNodeWithGroupEncodedIntoName
public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<VM> createNodeWithGroupEncodedIntoName(String tag,
String name,
org.jclouds.compute.domain.Template template)
- Specified by:
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
listHardwareProfiles
public Iterable<VmSpecification> listHardwareProfiles()
- Specified by:
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
listImages
public Iterable<DataSet> listImages()
- Specified by:
listImages in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
getImage
public DataSet getImage(String id)
- Specified by:
getImage in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
listNodes
public Iterable<VM> listNodes()
- Specified by:
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
listLocations
public Iterable<SmartOSHostController> listLocations()
- Specified by:
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
getNode
public VM getNode(String id)
- Specified by:
getNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
destroyNode
public void destroyNode(String id)
- Specified by:
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
rebootNode
public void rebootNode(String id)
- Specified by:
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
resumeNode
public void resumeNode(String id)
- Specified by:
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
suspendNode
public void suspendNode(String id)
- Specified by:
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VmSpecification,DataSet,SmartOSHostController>
Copyright © 2009-2012 jclouds. All Rights Reserved.