# iscsi.global.update

alua is a no-op for FreeNAS.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: iscsi_update

#### iscsi_update

Type: object

ISCSIGlobalUpdateArgs parameters.

No Additional Properties

##

#### Basename

Type: string

Base name prefix for iSCSI target IQNs.

##

#### Isns Servers

Type: array of string

Array of iSNS (Internet Storage Name Service) server addresses.

No Additional Items

##### Each item of this array must be:

Type: string

##

#### Listen Port

Type: integer

TCP port number for iSCSI connections.

Value must be greater or equal to `1025` and lesser or equal to `65535`

##

#### Pool Avail Threshold

Pool available space threshold percentage or `null` to disable.

## Any of

Type: integer

Value must be greater or equal to `1` and lesser or equal to `99`

Type: null

##

#### Alua

Type: boolean

Whether Asymmetric Logical Unit Access (ALUA) is enabled. Enabling is limited to TrueNAS Enterprise-licensed high availability systems. ALUA only works when configured on both the client and server.

##

#### Iser

Type: boolean

Whether iSCSI Extensions for RDMA (iSER) are enabled. Enabling is limited to TrueNAS Enterprise-licensed systems and requires the system and network environment have Remote Direct Memory Access (RDMA)-capable hardware.

##

#### Direct Config

Whether configuration is written into the kernel directly by middlewared.

## Any of

Type: boolean
Type: null

##

#### ISCSIGlobalEntry

Type: object

The updated global iSCSI configuration.

No Additional Properties

##

#### Id

Type: integer

Unique identifier for the global iSCSI configuration.

##

#### Basename

Type: string

Base name prefix for iSCSI target IQNs.

##

#### Isns Servers

Type: array of string

Array of iSNS (Internet Storage Name Service) server addresses.

No Additional Items

##### Each item of this array must be:

Type: string

##

#### Listen Port

Type: integer Default: 3260

TCP port number for iSCSI connections.

Value must be greater or equal to `1025` and lesser or equal to `65535`

##

#### Pool Avail Threshold

Default: null

Pool available space threshold percentage or `null` to disable.

## Any of

Type: integer

Value must be greater or equal to `1` and lesser or equal to `99`

Type: null

##

#### Alua

Type: boolean

Whether Asymmetric Logical Unit Access (ALUA) is enabled. Enabling is limited to TrueNAS Enterprise-licensed high availability systems. ALUA only works when configured on both the client and server.

##

#### Iser

Type: boolean

Whether iSCSI Extensions for RDMA (iSER) are enabled. Enabling is limited to TrueNAS Enterprise-licensed systems and requires the system and network environment have Remote Direct Memory Access (RDMA)-capable hardware.

##

#### Direct Config

Whether configuration is written into the kernel directly by middlewared.

## Any of

Type: boolean
Type: null

Required roles: SHARING_ISCSI_GLOBAL_WRITE