iscsi.target.query¶
Sent on iscsi.target changes.
IscsiTargetAddedEvent
Type: objectNo Additional Properties
Id
Type: integerIscsiTargetEntry
Type: objectNo Additional Properties
Id
Type: integerUnique identifier for the iSCSI target.
Name
Type: stringName of the iSCSI target (maximum 120 characters).
Must be at least 1
characters long
Must be at most 120
characters long
Alias
Default: nullOptional alias name for the iSCSI target.
Mode
Type: enum (of string) Default: "ISCSI"Protocol mode for the target.
ISCSI
: iSCSI protocol onlyFC
: Fibre Channel protocol onlyBOTH
: Both iSCSI and Fibre Channel protocols
Fibre Channel may only be selected on TrueNAS Enterprise-licensed systems with a suitable Fibre Channel HBA.
Must be one of:
- "ISCSI"
- "FC"
- "BOTH"
Groups
Type: array of object Default: []Array of portal-initiator group associations for this target.
No Additional ItemsEach item of this array must be:
IscsiGroup
Type: objectNo Additional Properties
Portal
Type: integerID of the iSCSI portal to use for this target group.
Initiator
Default: nullID of the authorized initiator group or null
to allow any initiator.
Authmethod
Type: enum (of string) Default: "NONE"Authentication method for this target group.
Must be one of:
- "NONE"
- "CHAP"
- "CHAP_MUTUAL"
Auth
Default: nullID of the authentication credential or null
if no authentication.
Auth Networks
Type: array of string Default: []Array of network addresses allowed to access this target.
No Additional ItemsEach item of this array must be:
Rel Tgt Id
Type: integerRelative target ID number assigned by the system.
Optional iSCSI-specific parameters for this target.
IscsiTargetParameters
Type: objectNo Additional Properties
Queuedcommands
Default: nullMaximum number of queued commands per iSCSI session.
32
: Standard queue depth for most use cases128
: Higher queue depth for performance-critical applications
Must be one of:
- 32
- 128
IscsiTargetChangedEvent
Type: objectNo Additional Properties
Id
Type: integerIscsiTargetEntry
Type: objectNo Additional Properties
Id
Type: integerUnique identifier for the iSCSI target.
Name
Type: stringName of the iSCSI target (maximum 120 characters).
Must be at least 1
characters long
Must be at most 120
characters long
Alias
Default: nullOptional alias name for the iSCSI target.
Mode
Type: enum (of string) Default: "ISCSI"Protocol mode for the target.
ISCSI
: iSCSI protocol onlyFC
: Fibre Channel protocol onlyBOTH
: Both iSCSI and Fibre Channel protocols
Fibre Channel may only be selected on TrueNAS Enterprise-licensed systems with a suitable Fibre Channel HBA.
Must be one of:
- "ISCSI"
- "FC"
- "BOTH"
Groups
Type: array of object Default: []Array of portal-initiator group associations for this target.
No Additional ItemsEach item of this array must be:
IscsiGroup
Type: objectNo Additional Properties
Portal
Type: integerID of the iSCSI portal to use for this target group.
Initiator
Default: nullID of the authorized initiator group or null
to allow any initiator.
Authmethod
Type: enum (of string) Default: "NONE"Authentication method for this target group.
Must be one of:
- "NONE"
- "CHAP"
- "CHAP_MUTUAL"
Auth
Default: nullID of the authentication credential or null
if no authentication.
Auth Networks
Type: array of string Default: []Array of network addresses allowed to access this target.
No Additional ItemsEach item of this array must be:
Rel Tgt Id
Type: integerRelative target ID number assigned by the system.
Optional iSCSI-specific parameters for this target.
IscsiTargetParameters
Type: objectNo Additional Properties
Queuedcommands
Default: nullMaximum number of queued commands per iSCSI session.
32
: Standard queue depth for most use cases128
: Higher queue depth for performance-critical applications
Must be one of:
- 32
- 128
IscsiTargetRemovedEvent
Type: objectNo Additional Properties
Id
Type: integerRequired roles: SHARING_ISCSI_TARGET_READ