org.dasein.cloud.vsphere.compute
Class VMCapabilities
java.lang.Object
org.dasein.cloud.AbstractCapabilities<PrivateCloud>
org.dasein.cloud.vsphere.compute.VMCapabilities
- All Implemented Interfaces:
- Capabilities, VirtualMachineCapabilities
public class VMCapabilities
- extends AbstractCapabilities<PrivateCloud>
- implements VirtualMachineCapabilities
Describes the capabilities of VSphere with respect to Dasein virtual machine operations.
Created by Danielle Mayne: 4/03/14 15:27 PM
- Since:
- 2014.03
- Version:
- 2014.03 initial version
- Author:
- Danielle Mayne
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMCapabilities
public VMCapabilities(@Nonnull
PrivateCloud provider)
canAlter
public boolean canAlter(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canAlter in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canClone
public boolean canClone(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canClone in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canPause
public boolean canPause(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canPause in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canReboot
public boolean canReboot(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canReboot in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canResume
public boolean canResume(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canResume in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canStart
public boolean canStart(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canStart in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canStop
public boolean canStop(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canStop in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canSuspend
public boolean canSuspend(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canSuspend in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canTerminate
public boolean canTerminate(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canTerminate in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
canUnpause
public boolean canUnpause(@Nonnull
VmState fromState)
throws CloudException,
InternalException
- Specified by:
canUnpause in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
getMaximumVirtualMachineCount
public int getMaximumVirtualMachineCount()
throws CloudException,
InternalException
- Specified by:
getMaximumVirtualMachineCount in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
getCostFactor
public int getCostFactor(@Nonnull
VmState state)
throws CloudException,
InternalException
- Specified by:
getCostFactor in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
getProviderTermForVirtualMachine
@Nonnull
public String getProviderTermForVirtualMachine(@Nonnull
Locale locale)
throws CloudException,
InternalException
- Specified by:
getProviderTermForVirtualMachine in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
getVerticalScalingCapabilities
@Nullable
public VMScalingCapabilities getVerticalScalingCapabilities()
throws CloudException,
InternalException
- Specified by:
getVerticalScalingCapabilities in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
getVirtualMachineNamingConstraints
@Nonnull
public NamingConstraints getVirtualMachineNamingConstraints()
throws CloudException,
InternalException
- Specified by:
getVirtualMachineNamingConstraints in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
identifyDataCenterLaunchRequirement
@Nonnull
public Requirement identifyDataCenterLaunchRequirement()
throws CloudException,
InternalException
- Specified by:
identifyDataCenterLaunchRequirement in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
identifyImageRequirement
@Nonnull
public Requirement identifyImageRequirement(@Nonnull
ImageClass cls)
throws CloudException,
InternalException
- Specified by:
identifyImageRequirement in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
identifyPasswordRequirement
@Nonnull
public Requirement identifyPasswordRequirement(Platform platform)
throws CloudException,
InternalException
- Specified by:
identifyPasswordRequirement in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
identifyRootVolumeRequirement
@Nonnull
public Requirement identifyRootVolumeRequirement()
throws CloudException,
InternalException
- Specified by:
identifyRootVolumeRequirement in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
identifyShellKeyRequirement
@Nonnull
public Requirement identifyShellKeyRequirement(Platform platform)
throws CloudException,
InternalException
- Specified by:
identifyShellKeyRequirement in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
identifyStaticIPRequirement
@Nonnull
public Requirement identifyStaticIPRequirement()
throws CloudException,
InternalException
- Specified by:
identifyStaticIPRequirement in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
identifySubnetRequirement
@Nonnull
public Requirement identifySubnetRequirement()
throws CloudException,
InternalException
- Specified by:
identifySubnetRequirement in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
identifyVlanRequirement
@Nonnull
public Requirement identifyVlanRequirement()
throws CloudException,
InternalException
- Specified by:
identifyVlanRequirement in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
isAPITerminationPreventable
public boolean isAPITerminationPreventable()
throws CloudException,
InternalException
- Specified by:
isAPITerminationPreventable in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
isBasicAnalyticsSupported
public boolean isBasicAnalyticsSupported()
throws CloudException,
InternalException
- Specified by:
isBasicAnalyticsSupported in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
isExtendedAnalyticsSupported
public boolean isExtendedAnalyticsSupported()
throws CloudException,
InternalException
- Specified by:
isExtendedAnalyticsSupported in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
isUserDataSupported
public boolean isUserDataSupported()
throws CloudException,
InternalException
- Specified by:
isUserDataSupported in interface VirtualMachineCapabilities
- Throws:
CloudException
InternalException
listSupportedArchitectures
@Nonnull
public Iterable<Architecture> listSupportedArchitectures()
throws InternalException,
CloudException
- Specified by:
listSupportedArchitectures in interface VirtualMachineCapabilities
- Throws:
InternalException
CloudException
Copyright © 2014 enStratus Networks Inc. All Rights Reserved.