# iscsi.extent.update

Update iSCSI Extent of id.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

ID of the iSCSI extent to update.

##### Parameter 2: iscsi_extent_update

#### iscsi_extent_update

Type: object

Updated iSCSI extent configuration data.

No Additional Properties

##

#### 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)

Type of the extent storage backend.

##### Must be one of:

- "DISK"
- "FILE"

##

#### Disk

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

## Any of

Type: string
Type: null

##

#### Serial

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

## Any of

Type: string
Type: null

##

#### Path

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

## Any of

Type: string
Type: null

##

#### Filesize

Size of the file-based extent in bytes.

## Any of

Type: string
Type: integer

##

#### Blocksize

Type: enum (of integer)

Block size for the extent in bytes.

##### Must be one of:

- 512
- 1024
- 2048
- 4096

##

#### Pblocksize

Type: boolean

Whether to use physical block size reporting.

##

#### Avail Threshold

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

Optional comment describing the extent.

##

#### Insecure Tpc

Type: boolean

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

##

#### Xen

Type: boolean

Whether to enable Xen compatibility mode.

##

#### Rpm

Type: enum (of string)

Reported RPM type for the extent.

##### Must be one of:

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

##

#### Ro

Type: boolean

Whether the extent is read-only.

##

#### Enabled

Type: boolean

Whether the extent is enabled and available for use.

##

#### Product Id

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

##

#### iSCSITargetExtentEntry

Type: object

The updated iSCSI extent configuration.

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

Required roles: SHARING_ISCSI_EXTENT_WRITE