public interface VolumeAsyncApi
VolumeAsyncApi
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<VolumeAttachment> |
attachVolumeToServerAsDevice(String volumeId,
String serverId,
String device)
Attach a volume to an instance
|
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> |
createSnapshot(String volumeId,
CreateVolumeSnapshotOptions... options)
Creates a new Snapshot
|
com.google.common.util.concurrent.ListenableFuture<Volume> |
createVolume(int sizeGB,
CreateVolumeOptions... options)
Creates a new volume
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteSnapshot(String snapshotId)
Delete a snapshot.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
deleteVolume(String volumeId)
Delete a volume.
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
detachVolumeFromServer(String volumeId,
String serverId)
Detach a Volume from an instance.
|
com.google.common.util.concurrent.ListenableFuture<VolumeAttachment> |
getAttachmentForVolumeOnServer(String volumeId,
String serverId)
Get a specific attached volume.
|
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> |
getSnapshot(String snapshotId)
Return data about the given snapshot.
|
com.google.common.util.concurrent.ListenableFuture<Volume> |
getVolume(String volumeId)
Return data about the given volume.
|
com.google.common.util.concurrent.ListenableFuture<Set<VolumeAttachment>> |
listAttachmentsOnServer(String serverId)
List volume attachments for a given instance.
|
com.google.common.util.concurrent.ListenableFuture<Set<VolumeSnapshot>> |
listSnapshots()
Returns a summary list of snapshots.
|
com.google.common.util.concurrent.ListenableFuture<Set<VolumeSnapshot>> |
listSnapshotsInDetail()
Returns a summary list of snapshots.
|
com.google.common.util.concurrent.ListenableFuture<Set<Volume>> |
listVolumes()
Returns a summary list of volumes.
|
com.google.common.util.concurrent.ListenableFuture<Set<Volume>> |
listVolumesInDetail()
Returns a detailed list of volumes.
|
com.google.common.util.concurrent.ListenableFuture<Set<Volume>> listVolumes()
com.google.common.util.concurrent.ListenableFuture<Set<Volume>> listVolumesInDetail()
com.google.common.util.concurrent.ListenableFuture<Volume> getVolume(String volumeId)
com.google.common.util.concurrent.ListenableFuture<Volume> createVolume(int sizeGB, CreateVolumeOptions... options)
com.google.common.util.concurrent.ListenableFuture<Boolean> deleteVolume(String volumeId)
com.google.common.util.concurrent.ListenableFuture<Set<VolumeAttachment>> listAttachmentsOnServer(String serverId)
com.google.common.util.concurrent.ListenableFuture<VolumeAttachment> getAttachmentForVolumeOnServer(String volumeId, String serverId)
com.google.common.util.concurrent.ListenableFuture<VolumeAttachment> attachVolumeToServerAsDevice(String volumeId, String serverId, String device)
com.google.common.util.concurrent.ListenableFuture<Boolean> detachVolumeFromServer(String volumeId, String serverId)
com.google.common.util.concurrent.ListenableFuture<Set<VolumeSnapshot>> listSnapshots()
com.google.common.util.concurrent.ListenableFuture<Set<VolumeSnapshot>> listSnapshotsInDetail()
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> getSnapshot(String snapshotId)
com.google.common.util.concurrent.ListenableFuture<VolumeSnapshot> createSnapshot(String volumeId, CreateVolumeSnapshotOptions... options)
Copyright © 2009-2012 jclouds. All Rights Reserved.