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(String volumeId, String virtualMachineId)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createVolumeFromDiskOfferingInZone(String name, String diskOfferingId, String zoneId)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createVolumeFromSnapshotInZone(String name, String snapshotId, String zoneId)
           
 com.google.common.util.concurrent.ListenableFuture<Void> deleteVolume(String id)
           
 com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> detachVolume(String volumeId)
           
 com.google.common.util.concurrent.ListenableFuture<Volume> getVolume(String 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(String id)
See Also:
VolumeClient.getVolume(String)

createVolumeFromDiskOfferingInZone

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

createVolumeFromSnapshotInZone

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

attachVolume

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

detachVolume

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

deleteVolume

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


Copyright © 2009-2012 jclouds. All Rights Reserved.