org.dasein.cloud.vsphere.compute
Class HardDisk
java.lang.Object
org.dasein.cloud.compute.AbstractVolumeSupport<PrivateCloud>
org.dasein.cloud.vsphere.compute.HardDisk
- All Implemented Interfaces:
- AccessControlledService, VolumeSupport
public class HardDisk
- extends AbstractVolumeSupport<PrivateCloud>
User: daniellemayne
Date: 03/09/2014
Time: 12:07
| Methods inherited from class org.dasein.cloud.compute.AbstractVolumeSupport |
create, detach, getContext, getMaximumVolumeCount, getMaximumVolumeSize, getProvider, getVolume, getVolumeProductRequirement, isVolumeSizeDeterminedByProduct, listSupportedFormats, listVolumeProducts, listVolumes, listVolumeStatus, mapServiceAction, removeTags, removeTags, setTags, setTags, toString, updateTags, updateTags |
getCapabilities
public VolumeCapabilities getCapabilities()
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
getMinimumVolumeSize
@Nonnull
public Storage<Gigabyte> getMinimumVolumeSize()
throws InternalException,
CloudException
- Throws:
InternalException
CloudException
getProviderTermForVolume
@Nonnull
public String getProviderTermForVolume(@Nonnull
Locale locale)
listPossibleDeviceIds
@Nonnull
public Iterable<String> listPossibleDeviceIds(@Nonnull
Platform platform)
throws InternalException,
CloudException
- Throws:
InternalException
CloudException
attach
public void attach(@Nonnull
String volumeId,
@Nonnull
String toServer,
@Nonnull
String deviceId)
throws InternalException,
CloudException
- Specified by:
attach in interface VolumeSupport- Overrides:
attach in class AbstractVolumeSupport<PrivateCloud>
- Throws:
InternalException
CloudException
createVolume
@Nonnull
public String createVolume(@Nonnull
VolumeCreateOptions options)
throws InternalException,
CloudException
- Specified by:
createVolume in interface VolumeSupport- Overrides:
createVolume in class AbstractVolumeSupport<PrivateCloud>
- Throws:
InternalException
CloudException
detach
public void detach(@Nonnull
String volumeId,
boolean force)
throws InternalException,
CloudException
- Specified by:
detach in interface VolumeSupport- Overrides:
detach in class AbstractVolumeSupport<PrivateCloud>
- Throws:
InternalException
CloudException
listVolumes
@Nonnull
public Iterable<Volume> listVolumes()
throws InternalException,
CloudException
- Throws:
InternalException
CloudException
isSubscribed
public boolean isSubscribed()
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
remove
public void remove(@Nonnull
String volumeId)
throws InternalException,
CloudException
- Throws:
InternalException
CloudException
Copyright © 2015 enStratus Networks Inc. All Rights Reserved.