Format


MethodPOST
URL

/tasks/create

Request contentsImageCreate Object
Successful answerTaskResult Object
Unexpected errorHTTP 500


VolumeCreate Object

Schema


repeatStringReserved
retriesStringNumber of times this task will be retried, in case of an error
typeStringTask type identifier. In this case, "volume_create"
volume_idStringUnique identifier for the new Volume
image_storage_idStringUnique identifier of the Image Storage which contains the Volume indicated by volume_id
primary_disk_idStringUUID of the physical disk
secondary_disk_idStringUUID of the secondary physical disk. Optional. Used to mirror the primary disk.


JSON example


{
    "repeat""0",   
    "retries""0",
    "type""volume_create",
    "volume_id""myVolume",
    "image_storage_id""local",

    "primary_disk_id""345678ee602fe3579",

    "secondary_disk_id""345678ee602fe4680"
}