pool.get_disks ============== Return the device names of all disks belonging to a pool. Queries the database for the pool matching the given ``id`` and resolves each vdev, cache, log, special, dedup, and spare device to its whole-disk device name (e.g. sda, nvme0n1). If ``id`` is not provided, disks for all imported pools in the database are returned. Pools that are not currently imported are skipped. Raises a ``ValidationError`` if ``id`` is provided but does not match any pool in the database. .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Default: null

ID of the pool to get disks for. If null, returns disks from all pools.

Type: integer
Type: null

Result

Type: array of string

Array of disk device names used in the specified pool(s).

No Additional Items
Each item of this array must be:
Type: string


*Required roles:* POOL_READ