pool.snapshot.query¶
Sent on pool.snapshot changes.
PoolSnapshotAddedEvent
Type: objectNo Additional Properties
Id
Type: stringPoolSnapshotEntry
Type: objectNo Additional Properties
Id
Type: stringFull snapshot identifier including dataset and snapshot name.
Properties
Type: objectObject mapping ZFS property names to their values and metadata.
Each additional property must conform to the following schema
PoolSnapshotEntryPropertyFields
Type: objectNo Additional Properties
Value
Type: stringCurrent effective value of the ZFS property as a string.
Rawvalue
Type: stringRaw string value of the ZFS property as stored.
Source
Type: enum (of string)Source of the property value.
NONE
: Property is not setDEFAULT
: Using ZFS default valueLOCAL
: Set locally on this snapshotTEMPORARY
: Temporary override valueINHERITED
: Inherited from parent datasetRECEIVED
: Set by ZFS receive operation
Must be one of:
- "NONE"
- "DEFAULT"
- "LOCAL"
- "TEMPORARY"
- "INHERITED"
- "RECEIVED"
Parsed
Type: objectProperty value parsed into the appropriate type (string, boolean, integer, etc.).
Pool
Type: stringName of the ZFS pool containing this snapshot.
Name
Type: stringFull name of the snapshot including dataset path.
Type
Type: constType identifier indicating this is a ZFS snapshot.
Must be one of:
- "SNAPSHOT"
"SNAPSHOT"
Snapshot Name
Type: stringJust the snapshot name portion without the dataset path.
Dataset
Type: stringName of the dataset this snapshot was taken from.
Createtxg
Type: stringTransaction group ID when the snapshot was created.
Holds
Type: objectReturned when options.extra.holds is set.
No Additional PropertiesTruenas
Type: integerPresent if a hold has been placed on the snapshot.
Retention
Returned when options.extra.retention is set.
PoolSnapshotRetentionPST
Type: objectNo Additional Properties
Datetime
Type: stringFormat: date-timeTimestamp when the snapshot will be eligible for removal.
Source
Type: constIndicates retention is managed by a periodic snapshot task.
Must be one of:
- "periodic_snapshot_task"
"periodic_snapshot_task"
Periodic Snapshot Task Id
Type: integerID of the periodic snapshot task managing this retention.
PoolSnapshotRetentionProperty
Type: objectNo Additional Properties
Datetime
Type: stringFormat: date-timeTimestamp when the snapshot will be eligible for removal.
Source
Type: constIndicates retention is managed by ZFS properties.
Must be one of:
- "property"
"property"
PoolSnapshotChangedEvent
Type: objectNo Additional Properties
Id
Type: stringPoolSnapshotEntry
Type: objectNo Additional Properties
Id
Type: stringFull snapshot identifier including dataset and snapshot name.
Properties
Type: objectObject mapping ZFS property names to their values and metadata.
Each additional property must conform to the following schema
PoolSnapshotEntryPropertyFields
Type: objectNo Additional Properties
Value
Type: stringCurrent effective value of the ZFS property as a string.
Rawvalue
Type: stringRaw string value of the ZFS property as stored.
Source
Type: enum (of string)Source of the property value.
NONE
: Property is not setDEFAULT
: Using ZFS default valueLOCAL
: Set locally on this snapshotTEMPORARY
: Temporary override valueINHERITED
: Inherited from parent datasetRECEIVED
: Set by ZFS receive operation
Must be one of:
- "NONE"
- "DEFAULT"
- "LOCAL"
- "TEMPORARY"
- "INHERITED"
- "RECEIVED"
Parsed
Type: objectProperty value parsed into the appropriate type (string, boolean, integer, etc.).
Pool
Type: stringName of the ZFS pool containing this snapshot.
Name
Type: stringFull name of the snapshot including dataset path.
Type
Type: constType identifier indicating this is a ZFS snapshot.
Must be one of:
- "SNAPSHOT"
"SNAPSHOT"
Snapshot Name
Type: stringJust the snapshot name portion without the dataset path.
Dataset
Type: stringName of the dataset this snapshot was taken from.
Createtxg
Type: stringTransaction group ID when the snapshot was created.
Holds
Type: objectReturned when options.extra.holds is set.
No Additional PropertiesTruenas
Type: integerPresent if a hold has been placed on the snapshot.
Retention
Returned when options.extra.retention is set.
PoolSnapshotRetentionPST
Type: objectNo Additional Properties
Datetime
Type: stringFormat: date-timeTimestamp when the snapshot will be eligible for removal.
Source
Type: constIndicates retention is managed by a periodic snapshot task.
Must be one of:
- "periodic_snapshot_task"
"periodic_snapshot_task"
Periodic Snapshot Task Id
Type: integerID of the periodic snapshot task managing this retention.
PoolSnapshotRetentionProperty
Type: objectNo Additional Properties
Datetime
Type: stringFormat: date-timeTimestamp when the snapshot will be eligible for removal.
Source
Type: constIndicates retention is managed by ZFS properties.
Must be one of:
- "property"
"property"
PoolSnapshotRemovedEvent
Type: objectNo Additional Properties
Id
Type: stringRequired roles: SNAPSHOT_READ