Actions36
- Aggregate Actions
- Disk Actions
- Qtree Actions
- Quota Actions
- Snapshot Actions
- Volume Actions
Quota → Create Rule
AI-generatedSummary
Create a new quota rule on a specified NetApp ONTAP volume to limit space and file usage for users, groups, or trees.
Inputs
- Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
- Port — HTTPS port for the ONTAP REST API. Defaults to 443.
- Volume (required) — The target volume by UUID where the quota rule will be applied.
- Quota Type (required) — Type of quota rule to create: User, Group, or Tree.
- Space Hard Limit — Hard limit for space usage (e.g., '10GB').
- Space Soft Limit — Soft limit for space usage that triggers alerts (e.g., '8GB').
- Files Hard Limit — Hard limit for number of files. Zero (0) means unlimited.
- Options — Additional request options, such as a comma-separated list of fields to include in the response.
Output shape
a single record representing the newly created quota rule or job status if processed asynchronously
The operation returns the created quota rule details including any job completion information. If the creation triggers an asynchronous job, the node polls until job completion and returns the final job data.
Examples
Example 1: Create a tree quota rule with specific space limits
Specify the target cluster host, volume UUID, quota type as 'tree', and set soft and hard space limits to '8GB' and '10GB' respectively.