@Beta
public interface VolumeApi
VolumeAsyncApi
,
VolumeAsyncApi
Modifier and Type | Method and Description |
---|---|
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 server_id,
String volumeId)
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<? extends Volume> |
list()
Returns a summary list of snapshots.
|
com.google.common.collect.FluentIterable<? extends VolumeAttachment> |
listAttachmentsOnServer(String serverId)
Deprecated.
To be removed in jclouds 1.7
|
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)
@Deprecated com.google.common.collect.FluentIterable<? extends VolumeAttachment> listAttachmentsOnServer(String serverId)
VolumeAttachmentApi.listAttachmentsOnServer(String)
@Deprecated VolumeAttachment getAttachmentForVolumeOnServer(String volumeId, String serverId)
VolumeAttachmentApi.getAttachmentForVolumeOnServer(String, String)
@Deprecated VolumeAttachment attachVolumeToServerAsDevice(String volumeId, String serverId, String device)
VolumeAttachmentApi.attachVolumeToServerAsDevice(String, String, String)
@Deprecated Boolean detachVolumeFromServer(String server_id, String volumeId)
VolumeAttachmentApi.detachVolumeFromServer(String, String)
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-2013 jclouds. All Rights Reserved.