public interface BlockVolumeSnapshotService extends RestService
| Modifier and Type | Method and Description |
|---|---|
VolumeSnapshot |
create(VolumeSnapshot snapshot)
Creates a snapshot, which is a point-in-time copy of a volume.
|
ActionResponse |
delete(String snapshotId)
Deletes a specified snapshot
|
VolumeSnapshot |
get(String snapshotId)
Shows information for a specified snapshot.
|
List<? extends VolumeSnapshot> |
list()
Lists detailed information for all Block Storage snapshots that the tenant who submits the request can access.
|
List<? extends VolumeSnapshot> |
list(Map<String,String> filteringParams)
Returns list of Block Storage snapshots filtered by parameters.
|
ActionResponse |
update(String snapshotId,
String name,
String description)
Updates the Name and/or Description for the specified snapshot
|
List<? extends VolumeSnapshot> list()
List<? extends VolumeSnapshot> list(Map<String,String> filteringParams)
filteringParams - map (name, value) of filtering parametersVolumeSnapshot get(String snapshotId)
snapshotId - the snapshot identifierActionResponse delete(String snapshotId)
snapshotId - the snapshot identifierActionResponse update(String snapshotId, String name, String description)
snapshotId - the snapshot identifiername - the new namedescription - the new descriptionVolumeSnapshot create(VolumeSnapshot snapshot)
snapshot - the snapshot to createCopyright © 2017. All rights reserved.