/
Create a Direct Storage
Create a Direct Storage
Format
Method | POST |
---|---|
URL | /tasks/create |
Request content | DirectStorageCreate Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
DirectStorageCreate Object
Schema
repeat | String | Reserved |
---|---|---|
retries | String | Number of times this task will be retried, in case of error |
type | String | Task type identifier. In this case, "dstorage_create" |
dstorage_id | String | New unique identifier of the Direct Storage |
host_list | String | Comma-separated host list of this Direct Storage |
JSON example
{ "repeat": "0", "retries": "0", "type": "dstorage_create", "dstorage_id": "cifs", "host_list": "flexdev01,flexdev02" }
Task type identifier. In this case,
dstorage_id
, multiple selections available,