NetApp ONTAP NAS icon

NetApp ONTAP NAS

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

Actions27

CIFS Service → Update

AI-generated

Summary

Update properties of an existing CIFS service on a specified ONTAP SVM (Storage Virtual Machine).

Inputs

  • Cluster Host (required) — Hostname or IP address of the ONTAP cluster management LIF.
  • Port — HTTPS port for the ONTAP REST API (default is 443).
  • SVM (required) — The Storage Virtual Machine where the CIFS service resides, specified by name.
  • Update Fields — Fields to update on the CIFS service, including 'Comment' (string), 'Default Unix User' (string), and 'Enabled' (boolean).
  • Options — Optional parameters such as 'Fields' specifying a comma-separated list of fields to include in the response (use '*' for all).

Output shape

a single JSON object representing the updated CIFS service or async job status if applicable

Returns detailed information about the updated CIFS service. If the API response indicates an asynchronous job, the node waits for job completion before returning the result.

Examples

Example 1: Update the comment and enablement status of a CIFS service

Specify the cluster host and port, the target SVM by name, and set the 'Comment' and 'Enabled' fields within 'Update Fields' to modify the CIFS service accordingly.

Links

Discussion