zfs.resource.snapshot.count =========================== Count ZFS snapshots per dataset. This method provides a fast way to count snapshots without retrieving full snapshot information. Useful for UI displays and quota checks. Examples: Count snapshots for root filesystems only: .. code:: json {} Count all snapshots recursively: .. code:: json {"recursive": true} Count snapshots for a specific dataset: .. code:: json {"paths": ["tank/data"]} Count snapshots for a dataset and all of its children: .. code:: json {"paths": ["tank"], "recursive": true} .. raw:: html
Count parameters for counting ZFS snapshots.
No Additional PropertiesDataset paths to count snapshots for. If empty, counts all snapshots.
All items must be unique
No Additional ItemsInclude snapshots from child datasets when counting.
Mapping of dataset names to their snapshot counts.
Each additional property must conform to the following schema
Type: integer