@Singleton public class SoftLayerComputeServiceAdapter extends Object implements org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>
SoftLayerClient implementation and
the jclouds ComputeService| Modifier and Type | Class and Description |
|---|---|
static class |
SoftLayerComputeServiceAdapter.VirtualGuestHasLoginDetailsPresent |
| Modifier and Type | Field and Description |
|---|---|
protected org.jclouds.logging.Logger |
logger |
| Constructor and Description |
|---|
SoftLayerComputeServiceAdapter(SoftLayerClient client,
SoftLayerComputeServiceAdapter.VirtualGuestHasLoginDetailsPresent virtualGuestHasLoginDetailsPresent,
com.google.common.base.Supplier<ProductPackage> productPackageSupplier,
Iterable<ProductItemPrice> prices,
String cpuRegex,
String disk0Type,
float portSpeed,
long guestLoginDelay) |
| Modifier and Type | Method and Description |
|---|---|
org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<VirtualGuest> |
createNodeWithGroupEncodedIntoName(String group,
String name,
org.jclouds.compute.domain.Template template) |
void |
destroyNode(String id) |
ProductItem |
getImage(String id) |
VirtualGuest |
getNode(String id) |
Iterable<Iterable<ProductItem>> |
listHardwareProfiles() |
Iterable<ProductItem> |
listImages() |
Iterable<Datacenter> |
listLocations() |
Iterable<VirtualGuest> |
listNodes() |
Iterable<VirtualGuest> |
listNodesByIds(Iterable<String> ids) |
void |
rebootNode(String id) |
void |
resumeNode(String id) |
void |
suspendNode(String id) |
@Inject public SoftLayerComputeServiceAdapter(SoftLayerClient client, SoftLayerComputeServiceAdapter.VirtualGuestHasLoginDetailsPresent virtualGuestHasLoginDetailsPresent, com.google.common.base.Supplier<ProductPackage> productPackageSupplier, Iterable<ProductItemPrice> prices, @Named(value="jclouds.softlayer.virtualguest.cpu-regex") String cpuRegex, @Named(value="jclouds.softlayer.virtualguest.disk0-type") String disk0Type, @Named(value="jclouds.softlayer.virtualguest.port-speed") float portSpeed, @Named(value="jclouds.softlayer.virtualguest.order-delay") long guestLoginDelay)
public org.jclouds.compute.ComputeServiceAdapter.NodeAndInitialCredentials<VirtualGuest> createNodeWithGroupEncodedIntoName(String group, String name, org.jclouds.compute.domain.Template template)
createNodeWithGroupEncodedIntoName in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public Iterable<Iterable<ProductItem>> listHardwareProfiles()
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public Iterable<ProductItem> listImages()
listImages in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public ProductItem getImage(String id)
getImage in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public Iterable<VirtualGuest> listNodes()
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public Iterable<VirtualGuest> listNodesByIds(Iterable<String> ids)
listNodesByIds in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public Iterable<Datacenter> listLocations()
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public VirtualGuest getNode(String id)
getNode in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public void destroyNode(String id)
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public void rebootNode(String id)
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public void resumeNode(String id)
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>public void suspendNode(String id)
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<VirtualGuest,Iterable<ProductItem>,ProductItem,Datacenter>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.