NetApp ONTAP SAN icon

NetApp ONTAP SAN

Manage NetApp ONTAP LUNs, igroups, FC interfaces, and protocols

LUN → Update

AI-generated

Summary

Update properties of a specified LUN in a NetApp ONTAP SAN environment by its UUID or path.

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.
  • LUN (required) — Specify the target LUN by UUID or by its path, e.g., '/vol/vol1/lun1'.
  • Update Fields (required) — Set one or more of the LUN attributes to update: Comment, QoS Policy (name), and New Name.
  • Options — Optional additional parameters such as a comma-separated list of fields to include in the API response.

Output shape

a JSON object representing the updated LUN, including job metadata if the operation is asynchronous

The operation resolves the LUN identifier from UUID or path, applies the specified updates using a PATCH request, and returns the API response after waiting for any asynchronous job to complete. If specified, the 'fields' option controls which LUN fields are included in the response.

Examples

Example 1: Update the comment and QoS policy of a LUN identified by UUID

Set 'LUN' mode to 'By UUID' with the LUN's UUID, fill in the 'Comment' and 'QoS Policy' fields in 'Update Fields', and execute the node to apply changes.

Links

Discussion