org.dasein.cloud.aws.compute
Class EC2Instance

java.lang.Object
  extended by org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
      extended by org.dasein.cloud.aws.compute.EC2Instance
All Implemented Interfaces:
org.dasein.cloud.AccessControlledService, org.dasein.cloud.compute.VirtualMachineSupport

public class EC2Instance
extends org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>


Nested Class Summary
static class EC2Instance.GetPassCallable
           
static class EC2Instance.GetUserDataCallable
           
 
Field Summary
 
Fields inherited from interface org.dasein.cloud.compute.VirtualMachineSupport
ANY, BOOT, CLONE, CREATE_VM, GET_VM, LIST_VM, PAUSE, REBOOT, REMOVE_VM, TOGGLE_ANALYTICS, VIEW_ANALYTICS, VIEW_CONSOLE
 
Method Summary
 org.dasein.cloud.compute.VirtualMachine alterVirtualMachine(String vmId, org.dasein.cloud.compute.VMScalingOptions options)
           
 void cancelSpotDataFeedSubscription()
           
 void cancelSpotVirtualMachineRequest(String providerSpotInstanceRequestID)
           
 org.dasein.cloud.compute.VirtualMachine clone(String vmId, String intoDcId, String name, String description, boolean powerOn, String... firewallIds)
           
 org.dasein.cloud.compute.SpotVirtualMachineRequest createSpotVirtualMachineRequest(org.dasein.cloud.compute.SpotVirtualMachineRequestCreateOptions options)
           
 void disableAnalytics(String instanceId)
           
 void enableAnalytics(String instanceId)
           
 void enableSpotDataFeedSubscription(String s3BucketName)
           
 EC2InstanceCapabilities getCapabilities()
           
 String getConsoleOutput(String instanceId)
           
 String getPassword(String instanceId)
          Get encrypted initial Windows password.
 org.dasein.cloud.compute.VirtualMachineProduct getProduct(String sizeId)
           
 String getUserData(String instanceId)
           
 org.dasein.cloud.compute.VirtualMachine getVirtualMachine(String instanceId)
           
 org.dasein.cloud.compute.VmStatistics getVMStatistics(String instanceId, long startTimestamp, long endTimestamp)
           
 Iterable<org.dasein.cloud.compute.VmStatistics> getVMStatisticsForPeriod(String instanceId, long startTimestamp, long endTimestamp)
           
 Iterable<org.dasein.cloud.compute.VirtualMachineStatus> getVMStatus(String... vmIds)
           
 Iterable<org.dasein.cloud.compute.VirtualMachineStatus> getVMStatus(org.dasein.cloud.compute.VmStatusFilterOptions filterOptions)
           
 boolean isSubscribed()
           
 org.dasein.cloud.compute.VirtualMachine launch(org.dasein.cloud.compute.VMLaunchOptions withLaunchOptions)
           
 Iterable<String> launchMany(org.dasein.cloud.compute.VMLaunchOptions withLaunchOptions, int count)
           
 Iterable<String> listFirewalls(String instanceId)
           
 Iterable<org.dasein.cloud.compute.VirtualMachineProduct> listProducts(org.dasein.cloud.compute.VirtualMachineProductFilterOptions options, org.dasein.cloud.compute.Architecture architecture)
           
 Iterable<org.dasein.cloud.compute.SpotPriceHistory> listSpotPriceHistories(org.dasein.cloud.compute.SpotPriceHistoryFilterOptions options)
           
 Iterable<org.dasein.cloud.compute.SpotVirtualMachineRequest> listSpotVirtualMachineRequests(org.dasein.cloud.compute.SpotVirtualMachineRequestFilterOptions options)
           
 Iterable<org.dasein.cloud.compute.VirtualMachine> listVirtualMachines()
           
 Iterable<org.dasein.cloud.compute.VirtualMachine> listVirtualMachines(org.dasein.cloud.compute.VMFilterOptions options)
           
 Iterable<org.dasein.cloud.ResourceStatus> listVirtualMachineStatus()
           
 String[] mapServiceAction(org.dasein.cloud.identity.ServiceAction action)
           
 org.dasein.cloud.compute.VirtualMachine modifyInstance(String vmId, String[] firewalls)
           
 void pause(String vmId)
           
 void reboot(String instanceId)
           
 void removeTags(String[] vmIds, org.dasein.cloud.Tag... tags)
           
 void removeTags(String vmId, org.dasein.cloud.Tag... tags)
           
 void resume(String vmId)
           
 void start(String instanceId)
           
 void stop(String instanceId, boolean force)
           
 void suspend(String vmId)
           
 void terminate(String instanceId, String explanation)
           
 void unpause(String vmId)
           
 void updateTags(String[] vmIds, org.dasein.cloud.Tag... tags)
           
 void updateTags(String vmId, org.dasein.cloud.Tag... tags)
           
 
Methods inherited from class org.dasein.cloud.compute.AbstractVMSupport
alterVirtualMachineFirewalls, alterVirtualMachineProduct, alterVirtualMachineSize, describeVerticalScalingCapabilities, getContext, getCostFactor, getMaximumVirtualMachineCount, getProvider, getProviderTermForServer, getVMProductsResource, identifyImageRequirement, identifyPasswordRequirement, identifyPasswordRequirement, identifyRootVolumeRequirement, identifyShellKeyRequirement, identifyShellKeyRequirement, identifyStaticIPRequirement, identifyVlanRequirement, isAPITerminationPreventable, isBasicAnalyticsSupported, isExtendedAnalyticsSupported, isUserDataSupported, launch, launch, launchAsync, listProducts, listProducts, listSupportedArchitectures, setTags, setTags, stop, supportsAnalytics, supportsPauseUnpause, supportsStartStop, supportsSuspendResume, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

alterVirtualMachine

public org.dasein.cloud.compute.VirtualMachine alterVirtualMachine(@Nonnull
                                                                   String vmId,
                                                                   @Nonnull
                                                                   org.dasein.cloud.compute.VMScalingOptions options)
                                                            throws org.dasein.cloud.InternalException,
                                                                   org.dasein.cloud.CloudException
Specified by:
alterVirtualMachine in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
alterVirtualMachine in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

modifyInstance

public org.dasein.cloud.compute.VirtualMachine modifyInstance(@Nonnull
                                                              String vmId,
                                                              @Nonnull
                                                              String[] firewalls)
                                                       throws org.dasein.cloud.InternalException,
                                                              org.dasein.cloud.CloudException
Specified by:
modifyInstance in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
modifyInstance in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

start

public void start(@Nonnull
                  String instanceId)
           throws org.dasein.cloud.InternalException,
                  org.dasein.cloud.CloudException
Specified by:
start in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
start in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

clone

@Nonnull
public org.dasein.cloud.compute.VirtualMachine clone(@Nonnull
                                                             String vmId,
                                                             @Nonnull
                                                             String intoDcId,
                                                             @Nonnull
                                                             String name,
                                                             @Nonnull
                                                             String description,
                                                             boolean powerOn,
                                                             @Nullable
                                                             String... firewallIds)
                                              throws org.dasein.cloud.InternalException,
                                                     org.dasein.cloud.CloudException
Specified by:
clone in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
clone in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

enableAnalytics

public void enableAnalytics(@Nonnull
                            String instanceId)
                     throws org.dasein.cloud.InternalException,
                            org.dasein.cloud.CloudException
Specified by:
enableAnalytics in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
enableAnalytics in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getCapabilities

@Nonnull
public EC2InstanceCapabilities getCapabilities()

getPassword

@Nullable
public String getPassword(@Nonnull
                                   String instanceId)
                   throws org.dasein.cloud.InternalException,
                          org.dasein.cloud.CloudException
Get encrypted initial Windows password. This method only definitely works with standard Amazon AMIs: http://aws.amazon.com/windows/amis/ Other AMIs in the public library may have had their password changed, and it will not be retrievable on instances launched from those.

Specified by:
getPassword in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getPassword in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Parameters:
instanceId -
Returns:
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getUserData

@Nullable
public String getUserData(@Nonnull
                                   String instanceId)
                   throws org.dasein.cloud.InternalException,
                          org.dasein.cloud.CloudException
Specified by:
getUserData in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getUserData in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getConsoleOutput

@Nonnull
public String getConsoleOutput(@Nonnull
                                       String instanceId)
                        throws org.dasein.cloud.InternalException,
                               org.dasein.cloud.CloudException
Specified by:
getConsoleOutput in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getConsoleOutput in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listFirewalls

@Nonnull
public Iterable<String> listFirewalls(@Nonnull
                                              String instanceId)
                               throws org.dasein.cloud.InternalException,
                                      org.dasein.cloud.CloudException
Specified by:
listFirewalls in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
listFirewalls in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getVirtualMachine

@Nullable
public org.dasein.cloud.compute.VirtualMachine getVirtualMachine(@Nonnull
                                                                          String instanceId)
                                                          throws org.dasein.cloud.InternalException,
                                                                 org.dasein.cloud.CloudException
Specified by:
getVirtualMachine in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getVirtualMachine in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getProduct

@Nullable
public org.dasein.cloud.compute.VirtualMachineProduct getProduct(@Nonnull
                                                                          String sizeId)
                                                          throws org.dasein.cloud.CloudException,
                                                                 org.dasein.cloud.InternalException
Specified by:
getProduct in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getProduct in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVMStatistics

@Nonnull
public org.dasein.cloud.compute.VmStatistics getVMStatistics(@Nonnull
                                                                     String instanceId,
                                                                     @Nonnegative
                                                                     long startTimestamp,
                                                                     @Nonnegative
                                                                     long endTimestamp)
                                                      throws org.dasein.cloud.InternalException,
                                                             org.dasein.cloud.CloudException
Specified by:
getVMStatistics in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getVMStatistics in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getVMStatisticsForPeriod

@Nonnull
public Iterable<org.dasein.cloud.compute.VmStatistics> getVMStatisticsForPeriod(@Nonnull
                                                                                        String instanceId,
                                                                                        long startTimestamp,
                                                                                        long endTimestamp)
                                                                         throws org.dasein.cloud.InternalException,
                                                                                org.dasein.cloud.CloudException
Specified by:
getVMStatisticsForPeriod in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getVMStatisticsForPeriod in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getVMStatus

public Iterable<org.dasein.cloud.compute.VirtualMachineStatus> getVMStatus(@Nullable
                                                                           String... vmIds)
                                                                    throws org.dasein.cloud.InternalException,
                                                                           org.dasein.cloud.CloudException
Specified by:
getVMStatus in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getVMStatus in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getVMStatus

@Nullable
public Iterable<org.dasein.cloud.compute.VirtualMachineStatus> getVMStatus(@Nullable
                                                                                    org.dasein.cloud.compute.VmStatusFilterOptions filterOptions)
                                                                    throws org.dasein.cloud.InternalException,
                                                                           org.dasein.cloud.CloudException
Specified by:
getVMStatus in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getVMStatus in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

isSubscribed

public boolean isSubscribed()
                     throws org.dasein.cloud.InternalException,
                            org.dasein.cloud.CloudException
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listProducts

public Iterable<org.dasein.cloud.compute.VirtualMachineProduct> listProducts(org.dasein.cloud.compute.VirtualMachineProductFilterOptions options,
                                                                             org.dasein.cloud.compute.Architecture architecture)
                                                                      throws org.dasein.cloud.InternalException,
                                                                             org.dasein.cloud.CloudException
Specified by:
listProducts in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
listProducts in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

launch

@Nonnull
public org.dasein.cloud.compute.VirtualMachine launch(@Nonnull
                                                              org.dasein.cloud.compute.VMLaunchOptions withLaunchOptions)
                                               throws org.dasein.cloud.CloudException,
                                                      org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

launchMany

@Nonnull
public Iterable<String> launchMany(@Nonnull
                                           org.dasein.cloud.compute.VMLaunchOptions withLaunchOptions,
                                           @Nonnegative
                                           int count)
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Specified by:
launchMany in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
launchMany in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listVirtualMachineStatus

@Nonnull
public Iterable<org.dasein.cloud.ResourceStatus> listVirtualMachineStatus()
                                                                   throws org.dasein.cloud.InternalException,
                                                                          org.dasein.cloud.CloudException
Specified by:
listVirtualMachineStatus in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
listVirtualMachineStatus in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listVirtualMachines

@Nonnull
public Iterable<org.dasein.cloud.compute.VirtualMachine> listVirtualMachines()
                                                                      throws org.dasein.cloud.InternalException,
                                                                             org.dasein.cloud.CloudException
Specified by:
listVirtualMachines in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
listVirtualMachines in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

listVirtualMachines

@Nonnull
public Iterable<org.dasein.cloud.compute.VirtualMachine> listVirtualMachines(@Nullable
                                                                                     org.dasein.cloud.compute.VMFilterOptions options)
                                                                      throws org.dasein.cloud.InternalException,
                                                                             org.dasein.cloud.CloudException
Specified by:
listVirtualMachines in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
listVirtualMachines in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

pause

public void pause(@Nonnull
                  String vmId)
           throws org.dasein.cloud.InternalException,
                  org.dasein.cloud.CloudException
Specified by:
pause in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
pause in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

mapServiceAction

@Nonnull
public String[] mapServiceAction(@Nonnull
                                         org.dasein.cloud.identity.ServiceAction action)
Specified by:
mapServiceAction in interface org.dasein.cloud.AccessControlledService
Overrides:
mapServiceAction in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

stop

public void stop(@Nonnull
                 String instanceId,
                 boolean force)
          throws org.dasein.cloud.InternalException,
                 org.dasein.cloud.CloudException
Specified by:
stop in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
stop in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

reboot

public void reboot(@Nonnull
                   String instanceId)
            throws org.dasein.cloud.CloudException,
                   org.dasein.cloud.InternalException
Specified by:
reboot in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
reboot in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

resume

public void resume(@Nonnull
                   String vmId)
            throws org.dasein.cloud.CloudException,
                   org.dasein.cloud.InternalException
Specified by:
resume in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
resume in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

suspend

public void suspend(@Nonnull
                    String vmId)
             throws org.dasein.cloud.CloudException,
                    org.dasein.cloud.InternalException
Specified by:
suspend in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
suspend in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

terminate

public void terminate(@Nonnull
                      String instanceId,
                      @Nullable
                      String explanation)
               throws org.dasein.cloud.InternalException,
                      org.dasein.cloud.CloudException
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

unpause

public void unpause(@Nonnull
                    String vmId)
             throws org.dasein.cloud.CloudException,
                    org.dasein.cloud.InternalException
Specified by:
unpause in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
unpause in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

disableAnalytics

public void disableAnalytics(@Nonnull
                             String instanceId)
                      throws org.dasein.cloud.InternalException,
                             org.dasein.cloud.CloudException
Specified by:
disableAnalytics in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
disableAnalytics in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

updateTags

public void updateTags(@Nonnull
                       String vmId,
                       @Nonnull
                       org.dasein.cloud.Tag... tags)
                throws org.dasein.cloud.CloudException,
                       org.dasein.cloud.InternalException
Specified by:
updateTags in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
updateTags in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

updateTags

public void updateTags(@Nonnull
                       String[] vmIds,
                       @Nonnull
                       org.dasein.cloud.Tag... tags)
                throws org.dasein.cloud.CloudException,
                       org.dasein.cloud.InternalException
Specified by:
updateTags in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
updateTags in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeTags

public void removeTags(@Nonnull
                       String vmId,
                       @Nonnull
                       org.dasein.cloud.Tag... tags)
                throws org.dasein.cloud.CloudException,
                       org.dasein.cloud.InternalException
Specified by:
removeTags in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
removeTags in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

removeTags

public void removeTags(@Nonnull
                       String[] vmIds,
                       @Nonnull
                       org.dasein.cloud.Tag... tags)
                throws org.dasein.cloud.CloudException,
                       org.dasein.cloud.InternalException
Specified by:
removeTags in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
removeTags in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

cancelSpotDataFeedSubscription

public void cancelSpotDataFeedSubscription()
                                    throws org.dasein.cloud.CloudException,
                                           org.dasein.cloud.InternalException
Specified by:
cancelSpotDataFeedSubscription in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
cancelSpotDataFeedSubscription in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

cancelSpotVirtualMachineRequest

public void cancelSpotVirtualMachineRequest(String providerSpotInstanceRequestID)
                                     throws org.dasein.cloud.CloudException,
                                            org.dasein.cloud.InternalException
Specified by:
cancelSpotVirtualMachineRequest in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
cancelSpotVirtualMachineRequest in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

createSpotVirtualMachineRequest

@Nonnull
public org.dasein.cloud.compute.SpotVirtualMachineRequest createSpotVirtualMachineRequest(org.dasein.cloud.compute.SpotVirtualMachineRequestCreateOptions options)
                                                                                   throws org.dasein.cloud.CloudException,
                                                                                          org.dasein.cloud.InternalException
Specified by:
createSpotVirtualMachineRequest in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
createSpotVirtualMachineRequest in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

enableSpotDataFeedSubscription

public void enableSpotDataFeedSubscription(String s3BucketName)
                                    throws org.dasein.cloud.CloudException,
                                           org.dasein.cloud.InternalException
Specified by:
enableSpotDataFeedSubscription in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
enableSpotDataFeedSubscription in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listSpotPriceHistories

public Iterable<org.dasein.cloud.compute.SpotPriceHistory> listSpotPriceHistories(@Nullable
                                                                                  org.dasein.cloud.compute.SpotPriceHistoryFilterOptions options)
                                                                           throws org.dasein.cloud.CloudException,
                                                                                  org.dasein.cloud.InternalException
Specified by:
listSpotPriceHistories in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
listSpotPriceHistories in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listSpotVirtualMachineRequests

@Nonnull
public Iterable<org.dasein.cloud.compute.SpotVirtualMachineRequest> listSpotVirtualMachineRequests(org.dasein.cloud.compute.SpotVirtualMachineRequestFilterOptions options)
                                                                                            throws org.dasein.cloud.CloudException,
                                                                                                   org.dasein.cloud.InternalException
Specified by:
listSpotVirtualMachineRequests in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
listSpotVirtualMachineRequests in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.