Actions23
Relationship → Get Many
AI-generatedSummary
Retrieve multiple SnapMirror relationships from a NetApp ONTAP cluster, applying optional filters and field selections to limit and customize the returned data.
Inputs
- Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
- Port — HTTPS port for the ONTAP REST API (default 443).
- Filters — Filter expression to narrow results; supports ONTAP API syntax (e.g., 'type=rw,state=!offline'), options to return all results or limit the number returned.
- Options — Comma-separated list of fields to include in the results (use '*' for all fields).
Output shape
a list of SnapMirror relationship records
Results respect the API filters and the 'returnAll' or 'limit' parameters. If 'returnAll' is true or omitted, all matching relationships are returned, paginating automatically. Otherwise, results are limited to 'limit' items. Fields parameter can restrict returned fields to optimize data size.
Examples
Example 1: Fetch all SnapMirror relationships including all fields
Set 'Cluster Host' and optionally 'Port', leave 'Filters' with 'Return All' enabled (default true), and leave 'Options.Fields' empty or '*'
Example 2: Fetch up to 50 SnapMirror relationships in 'snapmirrored' state
Set 'Filters.API Filters' to 'state=snapmirrored', set 'Filters.Return All' to false, and 'Filters.Limit' to 50