|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface VolumeApi
Provides access to the OpenStack Compute (Nova) Volume extension API.
| Method Summary | |
|---|---|
VolumeAttachment |
attachVolumeToServerAsDevice(String volumeId,
String serverId,
String device)
Deprecated. To be removed in jclouds 1.7 |
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 volumeId,
String serverId)
Deprecated. To be removed in jclouds 1.7 |
Volume |
get(String volumeId)
Return data about the given volume. |
VolumeAttachment |
getAttachmentForVolumeOnServer(String volumeId,
String serverId)
Deprecated. To be removed in jclouds 1.7 |
VolumeSnapshot |
getSnapshot(String snapshotId)
Return data about the given snapshot. |
com.google.common.collect.FluentIterable<Volume> |
list()
Returns a summary list of snapshots. |
com.google.common.collect.FluentIterable<VolumeAttachment> |
listAttachmentsOnServer(String serverId)
Deprecated. To be removed in jclouds 1.7 |
com.google.common.collect.FluentIterable<Volume> |
listInDetail()
Returns a detailed list of volumes. |
com.google.common.collect.FluentIterable<VolumeSnapshot> |
listSnapshots()
Returns a summary list of snapshots. |
com.google.common.collect.FluentIterable<VolumeSnapshot> |
listSnapshotsInDetail()
Returns a summary list of snapshots. |
| Method Detail |
|---|
@Named(value="volume:list") com.google.common.collect.FluentIterable<Volume> list()
@Named(value="volume:list") com.google.common.collect.FluentIterable<Volume> listInDetail()
@Named(value="volume:get") @Nullable Volume get(String volumeId)
@Named(value="volume:create")
Volume create(int sizeGB,
CreateVolumeOptions... options)
@Named(value="volume:delete") boolean delete(String volumeId)
@Deprecated @Named(value="volume:listAttachments") com.google.common.collect.FluentIterable<VolumeAttachment> listAttachmentsOnServer(String serverId)
VolumeAttachmentApi.listAttachmentsOnServer(String)
@Deprecated
@Named(value="volume:getAttachments")
@Nullable
VolumeAttachment getAttachmentForVolumeOnServer(String volumeId,
String serverId)
VolumeAttachmentApi.getAttachmentForVolumeOnServer(String, String)
@Deprecated
@Named(value="volume:attach")
VolumeAttachment attachVolumeToServerAsDevice(String volumeId,
String serverId,
String device)
VolumeAttachmentApi.attachVolumeToServerAsDevice(String, String, String)
@Deprecated
@Named(value="volume:detach")
Boolean detachVolumeFromServer(String volumeId,
String serverId)
VolumeAttachmentApi.detachVolumeFromServer(String, String)@Named(value="volume:listSnapshots") com.google.common.collect.FluentIterable<VolumeSnapshot> listSnapshots()
@Named(value="volume:listSnapshots") com.google.common.collect.FluentIterable<VolumeSnapshot> listSnapshotsInDetail()
@Named(value="volume:getSnapshot") @Nullable VolumeSnapshot getSnapshot(String snapshotId)
@Named(value="volume:createSnapshot")
VolumeSnapshot createSnapshot(String volumeId,
CreateVolumeSnapshotOptions... options)
@Named(value="volume:deleteSnapshot") boolean deleteSnapshot(String snapshotId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||