boot.environment.query¶
No Additional Items
Tuple Validation
Parameter 1: filters
filters
Type: array Default: []No Additional Items
Each item of this array must be:
Parameter 2: options
options
Type: objectNo Additional Properties
Relationships
Type: boolean Default: trueExtend
Default: nullExtend Context
Default: nullPrefix
Default: nullExtra
Type: object Default: {}Order By
Type: array of string Default: []No Additional Items
Each item of this array must be:
Select
Type: array Default: []No Additional Items
Each item of this array must be:
No Additional Items
Each item of this array must be:
Count
Type: boolean Default: falseGet
Type: boolean Default: falseOffset
Type: integer Default: 0Limit
Type: integer Default: 0Force Sql Filters
Type: boolean Default: falseResult
No Additional Items
Each item of this array must be:
BootEnvironmentQueryResultItem
Type: objectNo Additional Properties
Id
Type: stringThe name of the boot environment referenced by the boot environment tool.
Must be at least 1
characters long
Dataset
Type: stringThe name of the zfs dataset that represents the boot environment.
Must be at least 1
characters long
Active
Type: booleanIf active is True, this is the currently running boot environment.
Activated
Type: booleanIf True, this will be the boot environment that is used at next boot.
Created
Type: stringFormat: date-timeThe date when the boot environment was created.
Used Bytes
Type: integerThe total amount of bytes used by the boot environment.
Used
Type: stringThe boot environment's used space in human readable format.
Must be at least 1
characters long
Keep
Type: booleanWhen set to false, this makes the boot environment subject to
automatic deletion if the TrueNAS updater needs space for an update.
Otherwise, the updater will not delete this boot environment if it is
set to true.
Can Activate
Type: booleanIf set to true, the given boot environment may be activated.
BootEnvironmentQueryResultItem
Type: objectNo Additional Properties
Id
Type: stringThe name of the boot environment referenced by the boot environment tool.
Must be at least 1
characters long
Dataset
Type: stringThe name of the zfs dataset that represents the boot environment.
Must be at least 1
characters long
Active
Type: booleanIf active is True, this is the currently running boot environment.
Activated
Type: booleanIf True, this will be the boot environment that is used at next boot.
Created
Type: stringFormat: date-timeThe date when the boot environment was created.
Used Bytes
Type: integerThe total amount of bytes used by the boot environment.
Used
Type: stringThe boot environment's used space in human readable format.
Must be at least 1
characters long
Keep
Type: booleanWhen set to false, this makes the boot environment subject to
automatic deletion if the TrueNAS updater needs space for an update.
Otherwise, the updater will not delete this boot environment if it is
set to true.
Can Activate
Type: booleanIf set to true, the given boot environment may be activated.
Required roles: BOOT_ENV_READ