zms_list_resource_groups
Retrieve ZMS resource groups with details including ID, name, type, origin, member count, and CIDRs/FQDNs. Filter results by name, hostname, or JMESPath expression.
Instructions
List ZMS resource groups.
Read-only. Returns one row per group (id, name, managed/unmanaged type, origin, member count, and CIDRs/FQDNs for unmanaged groups). Requires ZSCALER_CUSTOMER_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| query | No | Optional JMESPath expression applied to the results after the API call, for client-side filtering and projection. Field names are exactly what the Zscaler API returns. Examples: "[?enabled==`true`]", "[*].{name: name, id: id}", "length(@)". Omit to get the full records. | |
| page_num | No | ||
| page_size | No | ||
| resource_hostname | No |