Actions27
NFS Export Rule → Get
AI-generatedSummary
Retrieve details of a specific NFS export rule by its export policy ID and rule index from 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, default is 443.
- Export Policy (required) — The ID of the export policy containing the export rule.
- Rule Index (required) — The index of the export rule to retrieve within the specified export policy.
- Options — Optional parameters such as a comma-separated list of fields to include in the response (use * to include all fields).
Output shape
a single JSON object representing the details of the specified export rule.
Returns the export rule details as a single record. The output respects the optional 'fields' parameter to include specific properties. Errors occur if the policy or rule does not exist.
Examples
Example 1: Get details for export rule index 1 under export policy with ID '123e4567-e89b-12d3-a456-426614174000'.
Set Cluster Host to your ONTAP cluster management LIF hostname or IP. Use default port 443 or specify if different. Set Export Policy to mode 'By ID' with value '123e4567-e89b-12d3-a456-426614174000'. Set Rule Index to 1. Optionally specify fields to limit included attributes.