CreateNasDatastoreRequestType

CreateNasDatastoreRequestType
CreateNasDatastoreRequestType

The parameters of CreateNasDatastore.

JSON Example
{
    "spec": {
        "_typeName": "string",
        "remoteHost": "string",
        "remotePath": "string",
        "localPath": "string",
        "accessMode": "string",
        "type": "string",
        "userName": "string",
        "password": "string",
        "remoteHostNames": [
            "string"
        ],
        "securityType": "string",
        "vmknicToBind": "string",
        "vmknicBound": false,
        "connections": 0
    }
}
spec
Required

Specification for creating NAS volume.

When mounting a NAS volume on multiple hosts, the same remoteHost and remotePath values should be used on every host, otherwise it will be treated as different datastores. For example, if one host references the remotePath of a NAS volume as "/mnt/mount1" and another references it as "/mnt/mount1/", it will not be recognized as the same datastore.