A newer release of this product is available.
Protocols NFS services endpoint overview
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Retrieving an NFS configuration
# The API: GET /api/protocols/nfs/services # The call: curl -X GET "https://<mgmt-ip>/api/protocols/nfs/services"
Creating an NFS configuration for an SVM
# The API: POST /api/protocols/nfs/services # The call: curl -d "@test_nfs_post.txt" -X POST "https://<mgmt-ip>/api/protocols/nfs/services" test_nfs_post.txt(body): { "svm": { "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412" }, "protocol": { "v4_id_domain": "nfs-nsr-w01.rtp.netapp.com" }, "vstorage_enabled": "true" }
Updating an NFS configuration for an SVM
# The API: PATCH /api/protocols/nfs/services/{svm.uuid} # The call: curl -d "@test_nfs_patch.txt" -X PATCH "https://<mgmt-ip>/api/protocols/nfs/services/4a415601-548c-11e8-a21d-0050568bcbc9" test_nfs_patch.txt(body): { "protocol": { "v4_id_domain": "nfs-nsr-w01.rtp.netapp.com" }, "vstorage_enabled": "false" }
Deleting an NFS configuration for an SVM
# The API: DELETE /api/protocols/nfs/services/{svm.uuid} # The call: curl -X DELETE "https://<mgmt-ip>/api/protocols/nfs/services/4a415601-548c-11e8-a21d-0050568bcbc9"