# vm.get_console

Get the console device from a given guest.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

ID of the virtual machine to get console connection information for.

##

#### Result

Type: string

Console connection string or command for accessing the VM console.

Must be at least `1` characters long

Required roles: VM_READ