/
Create a Media Storage

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"
}

Related content

Modify a Media Storage
Modify a Media Storage
More like this
Modify a Media Storage
Modify a Media Storage
More like this
Create a Direct Storage
Create a Direct Storage
More like this
Remove a Media Storage
Remove a Media Storage
More like this
Creating an Image Storage
Creating an Image Storage
More like this
Creating an Image Storage
Creating an Image Storage
More like this