Creating an Image Storage
Format
| Method | POST |
|---|---|
| URL | /tasks/create |
| Request contents | ImageStorageCreate Object |
| Successful answer | TaskResult Object |
| Unexpected error | HTTP 500 |
ImageStorageCreate 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, "istorage_create" |
| istorage_id | String | Unique identifier for the new Image Storage |
| host_list | String | List of Hosts linked to this Image Storage, separated by commas |
JSON example
{
"repeat": "0",
"retries": "0",
"type": "istorage_create",
"istorage_id": "local",
"host_list": "flexdev01,flexdev02"
}
, multiple selections available,