Creating a volume
Format
Method | POST |
---|---|
URL | /tasks/create |
Request contents | ImageCreate Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
VolumeCreate Object
Schema
repeat | String | Reserved |
---|---|---|
retries | String | Number of times this task will be retried, in case of an error |
type | String | Task type identifier. In this case, "volume_create" |
volume_id | String | Unique identifier for the new Volume |
image_storage_id | String | Unique identifier of the Image Storage which contains the Volume indicated by volume_id |
primary_disk_id | String | UUID of the physical disk |
secondary_disk_id | String | UUID of the secondary physical disk. Optional. Used to mirror the primary disk. |
JSON example
|