public class BlockVolumeSnapshotServiceImpl extends BaseBlockStorageServices implements BlockVolumeSnapshotService
| Constructor and Description |
|---|
BlockVolumeSnapshotServiceImpl() |
| 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.
|
ActionResponse |
update(String snapshotId,
String name,
String description)
Updates the Name and/or Description for the specified snapshot
|
public List<? extends VolumeSnapshot> list()
list in interface BlockVolumeSnapshotServicepublic VolumeSnapshot get(String snapshotId)
get in interface BlockVolumeSnapshotServicesnapshotId - the snapshot identifierpublic ActionResponse delete(String snapshotId)
delete in interface BlockVolumeSnapshotServicesnapshotId - the snapshot identifierpublic ActionResponse update(String snapshotId, String name, String description)
update in interface BlockVolumeSnapshotServicesnapshotId - the snapshot identifiername - the new namedescription - the new descriptionpublic VolumeSnapshot create(VolumeSnapshot snapshot)
create in interface BlockVolumeSnapshotServicesnapshot - the snapshot to create