Validate Nfs

Validate Nfs

Validates nfs parameters and mount point. Performs mount and runs diagnostic checks.

Request
URI
POST
https://{api_host}/api/1.0.0/mount/validate
COPY
Query Parameters
boolean
overwrite
Optional
Constraints: default: false

Value "true" means the NFS validator will allow the presence of "appliance-nodes", "cells", and "responses.properties" on the share, however validation will fail if the node directories within "appliance-nodes" have been modified within the last two minutes. It will not actively remove or overwrite anything on the share. The default is "false" meaning that the NFS validator will insist that share be empty.


Request Body
NfsMountInfo of type(s) application/json
Optional

Show optional properties

{
    "nfs": "192.168.100.1:/data/transfer"
}
{
    "nfs": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
202

Response Body is empty. Response includes Location header with URL to related task-id.

Operation doesn't return any data structure

Response Headers

string
Location

Task URL. Example: https://<vcd-appliance-ip>:5480/api/1.0.0/tasks/<task-id>


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"nfs:"string"}' https://{api_host}/api/1.0.0/mount/validate