public class BlockVolumeSnapshotServiceImpl extends BaseBlockStorageServices implements BlockVolumeSnapshotService
BaseOpenStackService.Invocation<R>
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.
|
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
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends VolumeSnapshot> list()
list
in interface BlockVolumeSnapshotService
public List<? extends VolumeSnapshot> list(Map<String,String> filteringParams)
list
in interface BlockVolumeSnapshotService
filteringParams
- map (name, value) of filtering parameterspublic VolumeSnapshot get(String snapshotId)
get
in interface BlockVolumeSnapshotService
snapshotId
- the snapshot identifierpublic ActionResponse delete(String snapshotId)
delete
in interface BlockVolumeSnapshotService
snapshotId
- the snapshot identifierpublic ActionResponse update(String snapshotId, String name, String description)
update
in interface BlockVolumeSnapshotService
snapshotId
- the snapshot identifiername
- the new namedescription
- the new descriptionpublic VolumeSnapshot create(VolumeSnapshot snapshot)
create
in interface BlockVolumeSnapshotService
snapshot
- the snapshot to createCopyright © 2017. All rights reserved.