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>


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)
           
 org.dasein.cloud.compute.VirtualMachine clone(String vmId, String intoDcId, String name, String description, boolean powerOn, String... firewallIds)
           
 org.dasein.cloud.compute.VMScalingCapabilities describeVerticalScalingCapabilities()
           
 void disableAnalytics(String instanceId)
           
 void enableAnalytics(String instanceId)
           
 String getConsoleOutput(String instanceId)
           
 int getCostFactor(org.dasein.cloud.compute.VmState vmState)
           
 int getMaximumVirtualMachineCount()
           
 org.dasein.cloud.compute.VirtualMachineProduct getProduct(String sizeId)
           
 String getProviderTermForServer(Locale locale)
           
 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)
           
 org.dasein.cloud.Requirement identifyImageRequirement(org.dasein.cloud.compute.ImageClass cls)
           
 org.dasein.cloud.Requirement identifyPasswordRequirement(org.dasein.cloud.compute.Platform platform)
           
 org.dasein.cloud.Requirement identifyRootVolumeRequirement()
           
 org.dasein.cloud.Requirement identifyShellKeyRequirement(org.dasein.cloud.compute.Platform platform)
           
 org.dasein.cloud.Requirement identifyStaticIPRequirement()
           
 org.dasein.cloud.Requirement identifyVlanRequirement()
           
 boolean isAPITerminationPreventable()
           
 boolean isBasicAnalyticsSupported()
           
 boolean isExtendedAnalyticsSupported()
           
 boolean isSubscribed()
           
 boolean isUserDataSupported()
           
 org.dasein.cloud.compute.VirtualMachine launch(org.dasein.cloud.compute.VMLaunchOptions cfg)
           
 Iterable<String> listFirewalls(String instanceId)
           
 Iterable<org.dasein.cloud.compute.VirtualMachineProduct> listProducts(org.dasein.cloud.compute.Architecture architecture)
           
 Iterable<org.dasein.cloud.compute.Architecture> listSupportedArchitectures()
           
 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)
           
 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)
           
 boolean supportsPauseUnpause(org.dasein.cloud.compute.VirtualMachine vm)
           
 boolean supportsStartStop(org.dasein.cloud.compute.VirtualMachine vm)
           
 boolean supportsSuspendResume(org.dasein.cloud.compute.VirtualMachine vm)
           
 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
getContext, getProvider, getVMProductsResource, identifyPasswordRequirement, identifyShellKeyRequirement, launch, launch, stop, supportsAnalytics, 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

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

describeVerticalScalingCapabilities

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

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

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

getCostFactor

public int getCostFactor(@Nonnull
                         org.dasein.cloud.compute.VmState vmState)
                  throws org.dasein.cloud.InternalException,
                         org.dasein.cloud.CloudException
Specified by:
getCostFactor in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
getCostFactor in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException

getMaximumVirtualMachineCount

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

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

getProviderTermForServer

@Nonnull
public String getProviderTermForServer(@Nonnull
                                               Locale locale)

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

identifyImageRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyImageRequirement(@Nonnull
                                                                     org.dasein.cloud.compute.ImageClass cls)
                                                      throws org.dasein.cloud.CloudException,
                                                             org.dasein.cloud.InternalException
Specified by:
identifyImageRequirement in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
identifyImageRequirement in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyPasswordRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyPasswordRequirement(org.dasein.cloud.compute.Platform platform)
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
identifyPasswordRequirement in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
identifyPasswordRequirement in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyRootVolumeRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyRootVolumeRequirement()
Specified by:
identifyRootVolumeRequirement in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
identifyRootVolumeRequirement in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

identifyShellKeyRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyShellKeyRequirement(org.dasein.cloud.compute.Platform platform)
                                                         throws org.dasein.cloud.CloudException,
                                                                org.dasein.cloud.InternalException
Specified by:
identifyShellKeyRequirement in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
identifyShellKeyRequirement in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

identifyStaticIPRequirement

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

identifyVlanRequirement

@Nonnull
public org.dasein.cloud.Requirement identifyVlanRequirement()
Specified by:
identifyVlanRequirement in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
identifyVlanRequirement in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

isAPITerminationPreventable

public boolean isAPITerminationPreventable()
Specified by:
isAPITerminationPreventable in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
isAPITerminationPreventable in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

isBasicAnalyticsSupported

public boolean isBasicAnalyticsSupported()
Specified by:
isBasicAnalyticsSupported in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
isBasicAnalyticsSupported in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

isExtendedAnalyticsSupported

public boolean isExtendedAnalyticsSupported()
Specified by:
isExtendedAnalyticsSupported in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
isExtendedAnalyticsSupported in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

isSubscribed

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

isUserDataSupported

public boolean isUserDataSupported()
Specified by:
isUserDataSupported in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
isUserDataSupported in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

listProducts

@Nonnull
public Iterable<org.dasein.cloud.compute.VirtualMachineProduct> listProducts(@Nonnull
                                                                                     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

listSupportedArchitectures

public Iterable<org.dasein.cloud.compute.Architecture> listSupportedArchitectures()
Specified by:
listSupportedArchitectures in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
listSupportedArchitectures in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

launch

@Nonnull
public org.dasein.cloud.compute.VirtualMachine launch(@Nonnull
                                                              org.dasein.cloud.compute.VMLaunchOptions cfg)
                                               throws org.dasein.cloud.CloudException,
                                                      org.dasein.cloud.InternalException
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

supportsPauseUnpause

public boolean supportsPauseUnpause(@Nonnull
                                    org.dasein.cloud.compute.VirtualMachine vm)
Specified by:
supportsPauseUnpause in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
supportsPauseUnpause in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

supportsStartStop

public boolean supportsStartStop(@Nonnull
                                 org.dasein.cloud.compute.VirtualMachine vm)
Specified by:
supportsStartStop in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
supportsStartStop in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

supportsSuspendResume

public boolean supportsSuspendResume(@Nonnull
                                     org.dasein.cloud.compute.VirtualMachine vm)
Specified by:
supportsSuspendResume in interface org.dasein.cloud.compute.VirtualMachineSupport
Overrides:
supportsSuspendResume in class org.dasein.cloud.compute.AbstractVMSupport<AWSCloud>

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


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