NetApp ONTAP NAS icon

NetApp ONTAP NAS

Manage NetApp ONTAP CIFS shares, NFS exports, and NAS protocols

Actions27

NFS Service → Get

AI-generated

Summary

Retrieve details of an NFS service configured on a specified Storage Virtual Machine (SVM) within a NetApp ONTAP cluster.

Inputs

  • Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
  • Port — HTTPS port for the ONTAP REST API, defaulting to 443.
  • SVM (required) — The name of the Storage Virtual Machine (SVM) to identify which NFS service to retrieve.
  • Options — Optional parameters including a comma-separated list of fields to include in the returned data (use * for all).

Output shape

a single JSON object containing the details of the requested NFS service for the specified SVM.

Requires valid NetApp ONTAP API credentials configured in the node. The operation queries the NFS service associated with the SVM by first resolving the SVM's UUID and then fetching service details. Fields can be controlled via the 'fields' option to limit or expand data returned. Errors such as SVM not found are returned as node errors.

Examples

Example 1: Get NFS service details for SVM named 'svm01'

Specify 'Cluster Host' as your cluster's management host, provide the 'SVM' name as 'svm01', and optionally set 'Options.Fields' to '*' to retrieve all available fields.

Links

Discussion