Create a Media Storage
Format
Method | POST |
---|---|
URL | /tasks/create |
Request content | MediaStorageCreate Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
MediaStorageCreate Object
Schema
type | String | Task type identifier. In this case, "mstorage_create" |
---|---|---|
media_storage_id | String | Unique identifier of the Media Storage |
host_list | String | Comma-separated host list of this Media Storage |
ip_address | String | IP address of the CIFS server |
path | String | Path to the shared resource in the CIFS server |
username | String | Username to log in the CIFS server |
password | String | Password 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" }