|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VolumeApi
Provides synchronous access to Volumes.
VolumeAsyncApi| Method Summary | |
|---|---|
VolumeAttachment |
attachVolumeToServerAsDevice(String volumeId,
String serverId,
String device)
Attach a volume to an instance |
VolumeSnapshot |
createSnapshot(String volumeId,
CreateVolumeSnapshotOptions... options)
Creates a new Snapshot |
Volume |
createVolume(int sizeGB,
CreateVolumeOptions... options)
Creates a new Snapshot |
Boolean |
deleteSnapshot(String snapshotId)
Delete a snapshot. |
Boolean |
deleteVolume(String volumeId)
Delete a snapshot. |
Boolean |
detachVolumeFromServer(String server_id,
String volumeId)
Detach a Volume from an instance. |
VolumeAttachment |
getAttachmentForVolumeOnServer(String volumeId,
String serverId)
Get a specific attached volume. |
VolumeSnapshot |
getSnapshot(String snapshotId)
Return data about the given snapshot. |
Volume |
getVolume(String volumeId)
Return data about the given volume. |
Set<VolumeAttachment> |
listAttachmentsOnServer(String serverId)
List volume attachments for a given instance. |
Set<VolumeSnapshot> |
listSnapshots()
Returns a summary list of snapshots. |
Set<VolumeSnapshot> |
listSnapshotsInDetail()
Returns a summary list of snapshots. |
Set<Volume> |
listVolumes()
Returns a summary list of snapshots. |
Set<Volume> |
listVolumesInDetail()
Returns a detailed list of volumes. |
| Method Detail |
|---|
Set<Volume> listVolumes()
Set<Volume> listVolumesInDetail()
Volume getVolume(String volumeId)
Volume createVolume(int sizeGB,
CreateVolumeOptions... options)
Boolean deleteVolume(String volumeId)
Set<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)
Set<VolumeSnapshot> listSnapshots()
Set<VolumeSnapshot> listSnapshotsInDetail()
VolumeSnapshot getSnapshot(String snapshotId)
VolumeSnapshot createSnapshot(String volumeId,
CreateVolumeSnapshotOptions... options)
Boolean deleteSnapshot(String snapshotId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||