@Beta
public interface VolumeApi
VolumeAsyncApi,
VolumeAsyncApi| Modifier and Type | Method and Description |
|---|---|
VolumeAttachment |
attachVolumeToServerAsDevice(String volumeId,
String serverId,
String device)
Attach a volume to an instance
|
Volume |
create(int sizeGB,
CreateVolumeOptions... options)
Creates a new Snapshot
|
VolumeSnapshot |
createSnapshot(String volumeId,
CreateVolumeSnapshotOptions... options)
Creates a new Snapshot
|
boolean |
delete(String volumeId)
Delete a snapshot.
|
boolean |
deleteSnapshot(String snapshotId)
Delete a snapshot.
|
Boolean |
detachVolumeFromServer(String server_id,
String volumeId)
Detach a Volume from an instance.
|
Volume |
get(String volumeId)
Return data about the given volume.
|
VolumeAttachment |
getAttachmentForVolumeOnServer(String volumeId,
String serverId)
Get a specific attached volume.
|
VolumeSnapshot |
getSnapshot(String snapshotId)
Return data about the given snapshot.
|
com.google.common.collect.FluentIterable<? extends Volume> |
list()
Returns a summary list of snapshots.
|
com.google.common.collect.FluentIterable<? extends VolumeAttachment> |
listAttachmentsOnServer(String serverId)
List volume attachments for a given instance.
|
com.google.common.collect.FluentIterable<? extends Volume> |
listInDetail()
Returns a detailed list of volumes.
|
com.google.common.collect.FluentIterable<? extends VolumeSnapshot> |
listSnapshots()
Returns a summary list of snapshots.
|
com.google.common.collect.FluentIterable<? extends VolumeSnapshot> |
listSnapshotsInDetail()
Returns a summary list of snapshots.
|
com.google.common.collect.FluentIterable<? extends Volume> list()
com.google.common.collect.FluentIterable<? extends Volume> listInDetail()
Volume get(String volumeId)
Volume create(int sizeGB, CreateVolumeOptions... options)
boolean delete(String volumeId)
com.google.common.collect.FluentIterable<? extends VolumeAttachment> listAttachmentsOnServer(String serverId)
VolumeAttachment getAttachmentForVolumeOnServer(String volumeId, String serverId)
VolumeAttachment attachVolumeToServerAsDevice(String volumeId, String serverId, String device)
Boolean detachVolumeFromServer(String server_id, String volumeId)
com.google.common.collect.FluentIterable<? extends VolumeSnapshot> listSnapshots()
com.google.common.collect.FluentIterable<? extends VolumeSnapshot> listSnapshotsInDetail()
VolumeSnapshot getSnapshot(String snapshotId)
VolumeSnapshot createSnapshot(String volumeId, CreateVolumeSnapshotOptions... options)
boolean deleteSnapshot(String snapshotId)
Copyright © 2009-2012 jclouds. All Rights Reserved.