disk.update¶
Update disk of id.
No Additional Items
Tuple Validation
Parameter 1: id
id
Type: stringDisk identifier to update.
Parameter 2: data
data
Type: objectUpdated disk configuration data.
No Additional PropertiesNumber
Type: integerNumeric identifier assigned to the disk.
Lunid
Logical unit number identifier or null
if not applicable.
Description
Type: stringHuman-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: stringSystem bus type the disk is connected to.
Physical enclosure information or null
if not in an enclosure.
DiskEntryEnclosure
Type: objectNo Additional Properties
Number
Type: integerEnclosure number where the disk is located.
Slot
Type: integerPhysical slot position within the enclosure.
Pool
Name of the storage pool this disk belongs to. null
if not part of any pool.
Passwd
Type: stringDisk encryption password (masked for security).
DiskEntry
Type: objectThe updated disk configuration.
No Additional PropertiesIdentifier
Type: stringUnique identifier for the disk device.
Name
Type: stringSystem name of the disk device.
Subsystem
Type: stringStorage subsystem type.
"SCSI"
"ATA"
Number
Type: integerNumeric identifier assigned to the disk.
Serial
Type: stringManufacturer serial number of the disk.
Lunid
Logical unit number identifier or null
if not applicable.
Size
Total size of the disk in bytes. null
if not available.
Description
Type: stringHuman-readable description of the disk device.
Transfermode
Type: stringData transfer mode and capabilities of the disk.
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"
Expiretime
Expiration timestamp for disk data or null
if not applicable.
Model
Manufacturer model name/number of the disk. null
if not available.
Rotationrate
Disk rotation speed in RPM or null
for SSDs and unknown devices.
Type
Disk type classification or null
if not determined.
Zfs Guid
ZFS globally unique identifier for this disk or null
if not used in ZFS.
Bus
Type: stringSystem bus type the disk is connected to.
Devname
Type: stringDevice name in the operating system.
"/dev/sda"
Physical enclosure information or null
if not in an enclosure.
DiskEntryEnclosure
Type: objectNo Additional Properties
Number
Type: integerEnclosure number where the disk is located.
Slot
Type: integerPhysical slot position within the enclosure.
Pool
Name of the storage pool this disk belongs to. null
if not part of any pool.
Passwd
Type: stringDisk encryption password (masked for security).
Kmip Uid
KMIP (Key Management Interoperability Protocol) unique identifier or null
.
Required roles: DISK_WRITE