org.jclouds.cloudstack.features
Interface VolumeAsyncClient


public interface VolumeAsyncClient

Provides asynchronous access to cloudstack via their REST API.

Author:
Vijay Kiran
See Also:
VolumeClient,

Method Summary
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> attachVolume(long volumeId, long virtualMachineId)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createVolumeFromDiskOfferingInZone(String name, long diskOfferingId, long zoneId)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createVolumeFromSnapshotInZone(String name, long snapshotId, long zoneId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteVolume(long id)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> detachVolume(long volumeId)
           
 com.google.common.util.concurrent.ListenableFuture<Volume> getVolume(long id)
           
 com.google.common.util.concurrent.ListenableFuture<Set<Volume>> listVolumes(ListVolumesOptions... options)
           
 

Method Detail

listVolumes

com.google.common.util.concurrent.ListenableFuture<Set<Volume>> listVolumes(ListVolumesOptions... options)
See Also:
VolumeClient.listVolumes(org.jclouds.cloudstack.options.ListVolumesOptions...)

getVolume

com.google.common.util.concurrent.ListenableFuture<Volume> getVolume(long id)
See Also:
VolumeClient.getVolume(long)

createVolumeFromDiskOfferingInZone

com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createVolumeFromDiskOfferingInZone(String name,
                                                                                                           long diskOfferingId,
                                                                                                           long zoneId)
See Also:
VolumeClient.createVolumeFromDiskOfferingInZone(String, long, long)

createVolumeFromSnapshotInZone

com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createVolumeFromSnapshotInZone(String name,
                                                                                                       long snapshotId,
                                                                                                       long zoneId)
See Also:
VolumeClient.createVolumeFromSnapshotInZone(String, long, long)

attachVolume

com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> attachVolume(long volumeId,
                                                                                     long virtualMachineId)
See Also:
VolumeClient.attachVolume(long, long)

detachVolume

com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> detachVolume(long volumeId)
See Also:
VolumeClient.detachVolume(long)

deleteVolume

com.google.common.util.concurrent.ListenableFuture<Void> deleteVolume(long id)
See Also:
VolumeClient.deleteVolume(long)


Copyright © 2009-2012 jclouds. All Rights Reserved.