Skip to content

Commit

Permalink
Add expose_snapshots to 25.10 schema (#15713)
Browse files Browse the repository at this point in the history
  • Loading branch information
anodos325 authored Feb 14, 2025
1 parent 7e0a704 commit cb68829
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/middlewared/middlewared/api/v25_10_0/nfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ class NfsShareEntry(BaseModel):
""" Enable or disable the share. """
locked: bool | None
""" Lock state of the dataset (if encrypted). """
expose_snapshots: bool = False
"""
Enterprise feature to enable access to the ZFS snapshot directory for the export.
Export path must be the root directory of a ZFS dataset.
"""


class NfsShareCreate(NfsShareEntry):
Expand Down

0 comments on commit cb68829

Please sign in to comment.