# iscsi.extent.query

Sent on iscsi.extent changes.

Type: object

##

#### IscsiExtentAddedEvent

Type: object
No Additional Properties

##

#### Id

Type: integer

##

#### IscsiExtentEntry

Type: object
No Additional Properties

##

#### Id

Type: integer

Unique identifier for the iSCSI extent.

##

#### Name

Type: string

Name of the iSCSI extent.

Must be at least `1` characters long

Must be at most `64` characters long

##

#### Type

Type: enum (of string) Default: "DISK"

Type of the extent storage backend.

##### Must be one of:

- "DISK"
- "FILE"

##

#### Disk

Default: null

Disk device to use for the extent or `null` if using a file.

## Any of

Type: string
Type: null

##

#### Serial

Default: null

Serial number for the extent or `null` to auto-generate.

## Any of

Type: string
Type: null

##

#### Path

Default: null

File path for file-based extents or `null` if using a disk.

## Any of

Type: string
Type: null

##

#### Filesize

Default: "0"

Size of the file-based extent in bytes.

## Any of

Type: string
Type: integer

##

#### Blocksize

Type: enum (of integer) Default: 512

Block size for the extent in bytes.

##### Must be one of:

- 512
- 1024
- 2048
- 4096

##

#### Pblocksize

Type: boolean Default: false

Whether to use physical block size reporting.

##

#### Avail Threshold

Default: null

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

##

#### Comment

Type: string Default: ""

Optional comment describing the extent.

##

#### Naa

Type: string

Network Address Authority (NAA) identifier for the extent.

Must be at most `34` characters long

##

#### Insecure Tpc

Type: boolean Default: true

Whether to enable insecure Third Party Copy (TPC) operations.

##

#### Xen

Type: boolean Default: false

Whether to enable Xen compatibility mode.

##

#### Rpm

Type: enum (of string) Default: "SSD"

Reported RPM type for the extent.

##### Must be one of:

- "UNKNOWN"
- "SSD"
- "5400"
- "7200"
- "10000"
- "15000"

##

#### Ro

Type: boolean Default: false

Whether the extent is read-only.

##

#### Enabled

Type: boolean Default: true

Whether the extent is enabled and available for use.

##

#### Vendor

Type: string

Vendor string reported by the extent.

##

#### Product Id

Default: null

Product ID string for the extent or `null` for default.

## Any of

Type: string

Must be at least `1` characters long

Must be at most `16` characters long

Type: null

##

#### Locked

Read-only value indicating whether the iscsi extent is located on a locked dataset.

- `true`: The extent is in a locked dataset.
- `false`: The extent is not in a locked dataset.
- `null`: Lock status is not available because path locking information was not requested.

## Any of

Type: boolean
Type: null

##

#### IscsiExtentChangedEvent

Type: object
No Additional Properties

##

#### Id

Type: integer

##

#### IscsiExtentEntry

Type: object
No Additional Properties

##

#### Id

Type: integer

Unique identifier for the iSCSI extent.

##

#### Name

Type: string

Name of the iSCSI extent.

Must be at least `1` characters long

Must be at most `64` characters long

##

#### Type

Type: enum (of string) Default: "DISK"

Type of the extent storage backend.

##### Must be one of:

- "DISK"
- "FILE"

##

#### Disk

Default: null

Disk device to use for the extent or `null` if using a file.

## Any of

Type: string
Type: null

##

#### Serial

Default: null

Serial number for the extent or `null` to auto-generate.

## Any of

Type: string
Type: null

##

#### Path

Default: null

File path for file-based extents or `null` if using a disk.

## Any of

Type: string
Type: null

##

#### Filesize

Default: "0"

Size of the file-based extent in bytes.

## Any of

Type: string
Type: integer

##

#### Blocksize

Type: enum (of integer) Default: 512

Block size for the extent in bytes.

##### Must be one of:

- 512
- 1024
- 2048
- 4096

##

#### Pblocksize

Type: boolean Default: false

Whether to use physical block size reporting.

##

#### Avail Threshold

Default: null

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

##

#### Comment

Type: string Default: ""

Optional comment describing the extent.

##

#### Naa

Type: string

Network Address Authority (NAA) identifier for the extent.

Must be at most `34` characters long

##

#### Insecure Tpc

Type: boolean Default: true

Whether to enable insecure Third Party Copy (TPC) operations.

##

#### Xen

Type: boolean Default: false

Whether to enable Xen compatibility mode.

##

#### Rpm

Type: enum (of string) Default: "SSD"

Reported RPM type for the extent.

##### Must be one of:

- "UNKNOWN"
- "SSD"
- "5400"
- "7200"
- "10000"
- "15000"

##

#### Ro

Type: boolean Default: false

Whether the extent is read-only.

##

#### Enabled

Type: boolean Default: true

Whether the extent is enabled and available for use.

##

#### Vendor

Type: string

Vendor string reported by the extent.

##

#### Product Id

Default: null

Product ID string for the extent or `null` for default.

## Any of

Type: string

Must be at least `1` characters long

Must be at most `16` characters long

Type: null

##

#### Locked

Read-only value indicating whether the iscsi extent is located on a locked dataset.

- `true`: The extent is in a locked dataset.
- `false`: The extent is not in a locked dataset.
- `null`: Lock status is not available because path locking information was not requested.

## Any of

Type: boolean
Type: null

##

#### IscsiExtentRemovedEvent

Type: object
No Additional Properties

##

#### Id

Type: integer

Required roles: SHARING_ISCSI_EXTENT_READ