forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
17 KiB
17 KiB
Accepting a Disk Transfer
Function
This API is used to accept a disk transfer through the transfer ID and authentication key.
Constraints
- Encrypted EVS disks cannot be transferred.
- EVS disks with backups and snapshots available cannot be transferred.
- EVS disks associated with backup policies cannot be transferred.
- EVS disks used as system disks cannot be transferred.
- EVS disks in EVS replication pairs cannot be transferred.
URI
Request
- Request parameters
Parameter
Type
Mandatory
Description
accept
Object
Yes
The transfer acceptance marker. For details, see Parameter in the accept field.
Response
- Response parameters
Parameter
Type
Description
transfer
Object
The transfer information. For details, see Parameters in the transfer field.
- Parameters in the transfer field
Parameter
Type
Description
volume_id
String
The disk ID.
id
String
The transfer ID.
name
String
The transfer name.
links
Array of Objects
The links of the transfer. For details, see Parameters in the links field.
- Parameters in the links field
Parameter
Type
Description
href
String
The corresponding shortcut link.
rel
String
The shortcut link marker name.
The default value is next.
- Example response
{ "transfer": { "id": "cac5c677-73a9-4288-bb9c-b2ebfb547377", "name": "first volume transfer", "volume_id": "894623a6-e901-4312-aa06-4275e6321cce", "links": [ { "href": "https://localhost/v2/firstproject/os-volume-transfer/1", "rel": "self" }, { "href": "https://localhost/firstproject/os-volume-transfer/1", "rel": "bookmark" } ] } }
Error Codes
For details, see Error Codes.
Parent topic: EVS Disk Transfer