public interface VolumeApi
VolumeAsyncApi
Modifier and Type | Method and Description |
---|---|
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.
|
Set<Volume> listVolumes()
Set<Volume> listVolumesInDetail()
Volume getVolume(String volumeId)
Volume createVolume(int sizeGB, CreateVolumeOptions... options)
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)
Copyright © 2009-2012 jclouds. All Rights Reserved.