Modify the host list associated with a Direct Storage
Format
Method | POST |
---|---|
URL | /tasks/create |
Request content | DirectStorageModify Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
DirectStorageModify 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_modify" |
dstorage_id | String | Unique identifier of the Direct Storage |
host_list | String | New comma-separated host list of this Direct Storage |
JSON example
{ "repeat": "0", "retries": "0", "type": "dstorage_modify", "dstorage_id": "local", "host_list": "flexdev01,flexdev02" }