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

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

getVolume

@Named(value="listVolumes")
com.google.common.util.concurrent.ListenableFuture<Volume> getVolume(String id)
See Also:
VolumeClient.getVolume(String)

createVolumeFromDiskOfferingInZone

@Named(value="createVolume")
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createVolumeFromDiskOfferingInZone(String name,
                                                                                                                 String diskOfferingId,
                                                                                                                 String zoneId)
See Also:
VolumeClient.createVolumeFromDiskOfferingInZone(String, String, String)

createVolumeFromSnapshotInZone

@Named(value="createVolume")
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> createVolumeFromSnapshotInZone(String name,
                                                                                                             String snapshotId,
                                                                                                             String zoneId)
See Also:
VolumeClient.createVolumeFromSnapshotInZone(String, String, String)

attachVolume

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

detachVolume

@Named(value="detachVolume")
com.google.common.util.concurrent.ListenableFuture<AsyncCreateResponse> detachVolume(String volumeId)
See Also:
VolumeClient.detachVolume(String)

deleteVolume

@Named(value="deleteVolume")
com.google.common.util.concurrent.ListenableFuture<Void> deleteVolume(String id)
See Also:
VolumeClient.deleteVolume(String)


Copyright © 2009-2013 jclouds. All Rights Reserved.