public interface BlockVolumeTransferService extends RestService
Modifier and Type | Method and Description |
---|---|
VolumeTransfer |
accept(String transferId,
String authKey)
Accepts a pending volume transfer
|
VolumeTransfer |
create(String volumeId)
Creates a new Volume Transfer
|
VolumeTransfer |
create(String volumeId,
String name)
Creates a new Volume Transfer
|
ActionResponse |
delete(String transferId)
Deletes a specific transfer
|
VolumeTransfer |
get(String transferId)
Gets details about a specific transfer
|
List<? extends VolumeTransfer> |
list()
Gets ALL volume transfers in detailed form
|
List<? extends VolumeTransfer> |
list(boolean detailed)
Gets ALL volume transfers
|
List<? extends VolumeTransfer> list()
List<? extends VolumeTransfer> list(boolean detailed)
detailed
- if true all fields are populated otherwise just id, volumeId and nameVolumeTransfer get(String transferId)
transferId
- the transfer identifierActionResponse delete(String transferId)
transferId
- the transfer identifier to deleteVolumeTransfer create(String volumeId)
volumeId
- the identifier of the volume to transferVolumeTransfer create(String volumeId, String name)
volumeId
- the identifier of the volume to transfername
- the name of the transfer (optional)VolumeTransfer accept(String transferId, String authKey)
transferId
- the identifier of the transfer to acceptauthKey
- the auth key of the transferCopyright © 2017. All rights reserved.