# virt.instance.device_list

List all devices associated to an instance.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: string

##

#### Result

Type: array
No Additional Items

##### Each item of this array must be:

## One of

#### Disk

Type: object
No Additional Properties

##

#### Name

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Description

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Readonly

Type: boolean Default: false

##

#### Dev Type

Type: const
Specific value: `"DISK"`

##

#### Source

Default: null

For CONTAINER instances, this would be a valid pool path. For VM instances, it
can be a valid zvol path or an incus storage volume name

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Destination

Default: null

## Any of

Type: string
Type: null

##

#### Boot Priority

Default: null

## Any of

Type: integer

Value must be greater or equal to `0`

Type: null

##

#### Io Bus

Type: enum (of null or string) Default: null

##### Must be one of:

- "NVME"
- "VIRTIO-BLK"
- "VIRTIO-SCSI"
- null

##

#### Storage Pool

Default: null

Storage pool in which the device is located. This must be one
of the storage pools listed in virt.global.config output.
If this is set to None during device creation, then the default storage
pool defined in virt.global.config will be used.

## Any of

Type: string

Must be at least `1` characters long

Type: null

#### GPU

Type: object
No Additional Properties

##

#### Name

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Description

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Readonly

Type: boolean Default: false

##

#### Dev Type

Type: const
Specific value: `"GPU"`

##

#### Gpu Type

Type: enum (of string)

##### Must be one of:

- "PHYSICAL"
- "MDEV"
- "MIG"
- "SRIOV"

##

#### Id

Default: null

## Any of

Type: string
Type: null

##

#### Gid

Default: null

## Any of

Type: integer

Value must be greater or equal to `0` and lesser or equal to `90000000`

Type: null

##

#### Uid

Default: null

## Any of

Type: integer

Value must be greater or equal to `0` and lesser or equal to `90000000`

Type: null

##

#### Mode

Default: null

## Any of

Type: string
Type: null

##

#### Mdev

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Mig Uuid

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Pci

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Productid

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Vendorid

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

#### Proxy

Type: object
No Additional Properties

##

#### Name

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Description

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Readonly

Type: boolean Default: false

##

#### Dev Type

Type: const
Specific value: `"PROXY"`

##

#### Source Proto

Type: enum (of string)

##### Must be one of:

- "UDP"
- "TCP"

##

#### Source Port

Type: integer

Value must be greater or equal to `1` and lesser or equal to `65535`

##

#### Dest Proto

Type: enum (of string)

##### Must be one of:

- "UDP"
- "TCP"

##

#### Dest Port

Type: integer

Value must be greater or equal to `1` and lesser or equal to `65535`

#### TPM

Type: object
No Additional Properties

##

#### Name

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Description

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Readonly

Type: boolean Default: false

##

#### Dev Type

Type: const
Specific value: `"TPM"`

##

#### Path

Default: null

## Any of

Type: string
Type: null

##

#### Pathrm

Default: null

## Any of

Type: string
Type: null

#### USB

Type: object
No Additional Properties

##

#### Name

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Description

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Readonly

Type: boolean Default: false

##

#### Dev Type

Type: const
Specific value: `"USB"`

##

#### Bus

Default: null

## Any of

Type: integer
Type: null

##

#### Dev

Default: null

## Any of

Type: integer
Type: null

##

#### Product Id

Default: null

## Any of

Type: string
Type: null

##

#### Vendor Id

Default: null

## Any of

Type: string
Type: null

#### NIC

Type: object
No Additional Properties

##

#### Name

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Description

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Readonly

Type: boolean Default: false

##

#### Dev Type

Type: const
Specific value: `"NIC"`

##

#### Network

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Nic Type

Default: null

## Any of

Type: enum (of string)

##### Must be one of:

- "BRIDGED"
- "MACVLAN"

Type: null

##

#### Parent

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

#### PCI

Type: object
No Additional Properties

##

#### Name

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Description

Default: null

## Any of

Type: string

Must be at least `1` characters long

Type: null

##

#### Readonly

Type: boolean Default: false

##

#### Dev Type

Type: const
Specific value: `"PCI"`

##

#### Address

Type: string

Must be at least `1` characters long

Required roles: VIRT_INSTANCE_READ