# pool.get_disks

Get all disks in use by pools. If id is provided only the disks from the given pool id will be returned.

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.

## Any of

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