NetApp ONTAP NAS icon

NetApp ONTAP NAS

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

Actions27

NFS Service → Get Many

AI-generated

Summary

Retrieve multiple NFS services from a NetApp ONTAP cluster with optional filtering and field selection.

Inputs

  • Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
  • Port — HTTPS port for the ONTAP REST API, default is 443.
  • Filters — Optional API filter expression to filter results, using syntax like field=value, with operators =, !=, <, >, <=, >=, *, |; Also includes options to return all results or limit the number of results.
  • Options — Optional comma-separated list of fields to include in the response data; use '*' to include all fields.

Output shape

a list of NFS service objects as returned by the ONTAP API

The result is an array of NFS service records. The number of records returned respects the 'Return All' boolean and 'Limit' number input parameters. Filters are applied at the API query level. The returned fields can be customized. If the API response includes asynchronous jobs, this operation waits for completion before returning.

Examples

Example 1: Get all NFS services from a cluster to inventory existing services.

Provide Cluster Host and optionally set 'Return All' to true to list all services.

Example 2: Get up to 10 NFS services filtered by a specific field.

Specify the 'API Filters' with an expression and set 'Return All' to false with Limit set to 10.

Links

Discussion