public class BlockVolumeBackupServiceImpl extends BaseBlockStorageServices implements BlockVolumeBackupService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
BlockVolumeBackupServiceImpl() |
Modifier and Type | Method and Description |
---|---|
VolumeBackup |
create(VolumeBackupCreate vbc)
Create volume backup
|
ActionResponse |
delete(String backupId)
Delete a specified volume backup
|
VolumeBackup |
get(String backupId)
Shows information for a specified backup.
|
List<? extends VolumeBackup> |
list()
Lists detailed information for all Block Storage backups that the tenant who submits the request can access.
|
List<? extends VolumeBackup> |
list(Map<String,String> filteringParams)
Returns list of Block Storage backups filtered by parameters.
|
VolumeBackupRestore |
restore(String backupId,
String name,
String volumeId)
Restore volume from a a specified backup.
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends VolumeBackup> list()
list
in interface BlockVolumeBackupService
public List<? extends VolumeBackup> list(Map<String,String> filteringParams)
list
in interface BlockVolumeBackupService
filteringParams
- map (name, value) of filtering parameterspublic VolumeBackup get(String backupId)
get
in interface BlockVolumeBackupService
public ActionResponse delete(String backupId)
delete
in interface BlockVolumeBackupService
backupId
- the backup identifierpublic VolumeBackup create(VolumeBackupCreate vbc)
create
in interface BlockVolumeBackupService
vbc
- the input for backup creationpublic VolumeBackupRestore restore(String backupId, String name, String volumeId)
restore
in interface BlockVolumeBackupService
backupId
- the backup identifiername
- the volume namevolumeId
- the identified of existing volumeCopyright © 2017. All rights reserved.