|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SnapshotApi
Provides synchronous access to Volume Snapshots via their REST API.
| Method Summary | |
|---|---|
Snapshot |
create(String volumeId,
CreateSnapshotOptions... options)
Creates a new Snapshot. |
boolean |
delete(String snapshotId)
Delete a Snapshot. |
Snapshot |
get(String snapshotId)
Return data about the given Snapshot. |
com.google.common.collect.FluentIterable<? extends Snapshot> |
list()
Returns a summary list of Snapshots. |
com.google.common.collect.FluentIterable<? extends Snapshot> |
listInDetail()
Returns a detailed list of Snapshots. |
| Method Detail |
|---|
@Named(value="snapshot:list") com.google.common.collect.FluentIterable<? extends Snapshot> list()
@Named(value="snapshot:list") com.google.common.collect.FluentIterable<? extends Snapshot> listInDetail()
@Named(value="snapshot:get") Snapshot get(String snapshotId)
snapshotId - Id of the Snapshot
@Named(value="snapshot:create")
Snapshot create(String volumeId,
CreateSnapshotOptions... options)
volumeId - The Volume Id from which to create the Snapshotoptions - See CreateSnapshotOptions
@Named(value="snapshot:delete") boolean delete(String snapshotId)
snapshotId - Id of the Snapshot
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||