NetApp ONTAP NAS icon

NetApp ONTAP NAS

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

Actions27

CIFS Share → Update

AI-generated

Summary

Update specific properties of an existing CIFS share on a NetApp ONTAP cluster.

Inputs

  • Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF where the CIFS share resides.
  • Port — HTTPS port for the ONTAP REST API, defaulted to 443.
  • SVM (required) — The Storage Virtual Machine (SVM) by name that hosts the CIFS share to update.
  • Share Name (required) — The name of the CIFS share to update within the specified SVM.
  • Update Fields — Fields to modify on the CIFS share, including optional properties: Comment (string), Continuously Available (boolean), Encryption Required (boolean), and Oplocks (boolean).
  • Options — Additional request options, such as a 'Fields' string to specify which fields to include in the response (comma-separated or * for all).

Output shape

a JSON object reflecting the updated CIFS share properties and job status if applicable

The response includes the updated share details or job information if the update is asynchronous. Job completion is awaited before returning. Errors yield exceptions unless 'Continue On Fail' is enabled.

Examples

Example 1: Update the comment and enable encryption for a CIFS share named "share1" on SVM "svm1" for cluster "cluster.example.com".

Set Cluster Host to 'cluster.example.com'; specify SVM as 'svm1'; set Share Name to 'share1'; in Update Fields, set Comment to the desired text and Encryption Required to true.

Links

Discussion