Create a Media Storage

Format

MethodPOST
URL

/tasks/create

Request contentMediaStorageCreate Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

MediaStorageCreate Object

Schema

typeStringTask type identifier. In this case, "mstorage_create"
media_storage_idStringUnique identifier of the Media Storage
host_listStringComma-separated host list of this Media Storage
ip_addressStringIP address of the CIFS server
pathStringPath to the shared resource in the CIFS server
usernameString

Username to log in the CIFS server

passwordStringPassword to log in the CIFS server

JSON example

{
    "type": "mstorage_create",
    "media_storage_id": "cifs",
    "host_list": "flexdev01,flexdev02",
    "ip_address": "127.0.0.1",
    "path": "/cifs",
    "username": "flexvm",
    "password": "flexvm"
}