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 pools in the database are returned. Raises a `ValidationError` if no pool matches the given `id` or if the pool is not currently imported. .. 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