Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Method | POST |
---|
URL | /tasks/create |
---|
Request contents | ImageCreate Object |
---|
Successful answer | TaskResult Object |
---|
Unexpected error | HTTP 500 |
---|
ImageCreate 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, "image_create" |
---|
image_id | String | Unique identifier for the new Image |
---|
image_storage_id | String | Unique identifier of the Image Storage which contains the Volume indicated by volume_id |
---|
volume_id | String | Unique identifier of the Volume where the Image will be created |
---|
size_mb | Integer | Size of the new Image, in MB |
---|
JSON example
{
"repeat": "0",
"retries": "0",
"type": "image_create",
"image_id": "test",
"volume_id": "home_flexvdi",
"image_storage_id": "local",
"size_mb": 1
}