Actions27
CIFS Session → Get Many
AI-generatedSummary
Retrieve a list of CIFS sessions from a NetApp ONTAP cluster, optionally filtered and limited by user-defined parameters.
Inputs
- Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF where the CIFS sessions are queried.
- Port — The HTTPS port number for the ONTAP REST API, defaults to 443.
- Filters — Optional filters to apply on the CIFS sessions list using ONTAP API filter expressions (e.g., 'type=rw,state=!offline'). Includes an option to return all matching sessions or limit the results to a specified number.
- Options — Additional options including a comma-separated list of fields to include in the response (use '*' for all fields).
Output shape
a list of CIFS session records matching the specified filters.
Supports pagination internally to return all results if 'Return All' is enabled. Otherwise, limits the results to the specified 'Limit' value. Returned data fields can be controlled via the 'Fields' option. Errors during request execution will be reported unless workflow is set to continue on fail.
Examples
Example 1: Get all CIFS sessions without filters
Specify the Cluster Host and keep 'Return All' set to true (default).
Example 2: Get a limited number of CIFS sessions with specific attributes
Provide the 'Cluster Host', set 'Return All' to false, specify a 'Limit', and optionally use 'API Filters' and 'Fields' to narrow and customize returned data.