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
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
{ "type": "dstorage_create", "dstorage_id": "cifs", "host_list": "flexdev01,flexdev02" }
Â
Â
Task type identifier. In this case,
dstorage_id