Create a Direct Storage

Format

MethodPOST
URL

/tasks/create

Request contentDirectStorageCreate Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

DirectStorageCreate Object

Schema

repeatStringReserved
retriesStringNumber of times this task will be retried, in case of error
typeStringTask type identifier. In this case, "dstorage_create"
dstorage_idStringNew unique identifier of the Direct Storage
host_listStringComma-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