NetApp ONTAP NAS icon

NetApp ONTAP NAS

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

Actions27

NFS Export Policy → Get

AI-generated

Summary

Retrieve details of a specific NetApp ONTAP NFS export policy by its identifier.

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.
  • Export Policy (required) — The identifier (ID) of the export policy to retrieve.
  • Options — Optional parameters, including a 'Fields' string to specify a comma-separated list of fields to include in the response (use '*' to include all).

Output shape

a single record representing the details of the specified NFS export policy

The operation returns the export policy details as JSON. If the specified export policy ID is invalid or not found, an error is thrown. The 'Fields' option can be used to limit the returned fields.

Examples

Example 1: Get details of an NFS export policy by ID

Provide the target ONTAP cluster's hostname, optional port (default 443), the export policy ID, and optionally specify fields to include in the response.

Links

Discussion