@Singleton public class ProfitBricksComputeServiceAdapter extends Object implements ComputeServiceAdapter<Server,Hardware,Provisionable,Location>
ComputeServiceAdapter.NodeAndInitialCredentials<N>@Named(value="jclouds.compute") protected Logger logger
public ComputeServiceAdapter.NodeAndInitialCredentials<Server> createNodeWithGroupEncodedIntoName(String group, String name, Template template)
ComputeServiceAdapterComputeService.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.
credentialStorecreateNodeWithGroupEncodedIntoName in interface ComputeServiceAdapter<Server,Hardware,Provisionable,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)protected ComputeServiceAdapter.NodeAndInitialCredentials<Server> createNodeWithGroupEncodedIntoName(String group, String name, TemplateWithDataCenter template)
public Iterable<Hardware> listHardwareProfiles()
ComputeServiceAdapterlistHardwareProfiles in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>ComputeService.listHardwareProfiles()public Iterable<Provisionable> listImages()
ComputeServiceAdapterlistImages in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>ComputeService.listImages()public Provisionable getImage(String id)
ComputeServiceAdaptergetImage in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>id - Image#getId, which is not necessarily Image#getProviderIdpublic Iterable<Location> listLocations()
listLocations in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>public Server getNode(String id)
getNode in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>public void destroyNode(String nodeId)
destroyNode in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>public void rebootNode(String id)
rebootNode in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>public void resumeNode(String id)
resumeNode in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>public void suspendNode(String id)
suspendNode in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>public Iterable<Server> listNodes()
listNodes in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>public Iterable<Server> listNodesByIds(Iterable<String> ids)
listNodesByIds in interface ComputeServiceAdapter<Server,Hardware,Provisionable,Location>Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.