Actions36
- Aggregate Actions
- Disk Actions
- Qtree Actions
- Quota Actions
- Snapshot Actions
- Volume Actions
Volume → Update
AI-generatedSummary
Update settings of a specified NetApp ONTAP volume by modifying fields such as comment, snapshot policy, export policy, QoS policy, and autosize settings.
Inputs
- Cluster Host (required) — Hostname or IP address of the ONTAP cluster management interface.
- Port — HTTPS port for the ONTAP REST API, defaults to 443.
- Volume (required) — Identifier of the volume to update, selectable by UUID or by name (if by name, SVM must also be specified).
- SVM — Storage Virtual Machine containing the volume; required if the volume is selected by name.
- Update Fields (required) — Collection of updatable volume properties including comment, snapshot policy, export policy, QoS policy, autosize enable flag, and autosize maximum size.
- Options — Additional request options such as specifying which fields to include in the response.
Output shape
a single object containing the updated volume information or job details if the update is asynchronous
If the update request triggers an asynchronous job, the node polls for job completion before returning. If no job is returned, the response contains the updated volume data directly.
Examples
Example 1: Update a volume's comment and enable autosize with a maximum size
Specify the ONTAP cluster host, volume identifier, SVM (if needed), and set 'Comment', 'Enable Autosize', and 'Autosize Maximum' in 'Update Fields'.