Copy an Image from an Image Storage
Format
Method | POST |
---|---|
URL | /tasks/create |
Request content | ImageCopy Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
ImageCopy Object
Schema
type | String | Task type identifier. In this case, "image_delete" |
---|---|---|
image_id | String | New unique identifier of the target Image |
image_storage_id | String | Unique identifier of the Image Storage that contains Volume volume_id |
volume_id | String | Unique identifier of the Volume where Image image_id will be created |
source_image_id | String | Unique identifier of the source Image |
source_volume_id | String | Unique identifier of the Volume that contains source_image_id |
Ejemplo en JSON
{ "type": "image_copy", "image_id": "debian_template3", "volume_id": "flexfs01", "image_storage_id": "istorage01", "source_image_id": "debian_template2", "source_volume_id": "flexfs01" }