# disk.update

Update disk of `id`.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: string

Disk identifier to update.

##### Parameter 2: data

#### data

Type: object

Updated disk configuration data.

No Additional Properties

##

#### Number

Type: integer

Numeric identifier assigned to the disk.

##

#### Lunid

Logical unit number identifier or `null` if not applicable.

## Any of

Type: string
Type: null

##

#### Description

Type: string

Human-readable description of the disk device.

##

#### Hddstandby

Type: enum (of string)

Hard disk standby timer in minutes or `ALWAYS ON` to disable standby.

##### Must be one of:

- "ALWAYS ON"
- "5"
- "10"
- "20"
- "30"
- "60"
- "120"
- "180"
- "240"
- "300"
- "330"

##

#### Advpowermgmt

Type: enum (of string)

Advanced power management level or `DISABLED` to turn off power management.

##### Must be one of:

- "DISABLED"
- "1"
- "64"
- "127"
- "128"
- "192"
- "254"

##

#### Bus

Type: string

System bus type the disk is connected to.

##

Physical enclosure information or `null` if not in an enclosure.

## Any of

#### DiskEntryEnclosure

Type: object
No Additional Properties

##

#### Number

Type: integer

Enclosure number where the disk is located.

##

#### Slot

Type: integer

Physical slot position within the enclosure.

Type: null

##

#### Pool

Name of the storage pool this disk belongs to. `null` if not part of any pool.

## Any of

Type: string
Type: null

##

#### Passwd

Type: string

Disk encryption password (masked for security).

##

Type: object

The updated disk configuration.

Required roles: DISK_WRITE