Preparing search index...
The search index is not available
proxmox-api
proxmox-api
QmMonitor
Class QmMonitor
Hierarchy
QmMonitor
Index
Constructors
constructor
Properties
_node
_vmid
monitor
Accessors
node
vmid
Methods
device
Add
By
Id
device
Add
By
Port
device
Add
Missing
device
Del
info
info
Usb
info
Usbhost
Constructors
constructor
new
Qm
Monitor
(
proxmox
:
Api
, node
:
string
, vmid
:
number
)
:
QmMonitor
Parameters
proxmox:
Api
node:
string
vmid:
number
Returns
QmMonitor
Properties
Private
_node
_node
:
string
Private
_vmid
_vmid
:
number
monitor
monitor
:
(
(
command
:
string
)
=>
Promise
<
string
>
)
Type declaration
(
command
:
string
)
:
Promise
<
string
>
Parameters
command:
string
Returns
Promise
<
string
>
Accessors
node
get
node
(
)
:
string
Returns
string
vmid
get
vmid
(
)
:
number
Returns
number
Methods
device
Add
By
Id
device
Add
By
Id
(
id
:
string
, params
:
{
productId
:
string
;
vendorId
:
string
}
)
:
Promise
<
any
>
Parameters
id:
string
params:
{
productId
:
string
;
vendorId
:
string
}
product
Id
:
string
vendor
Id
:
string
Returns
Promise
<
any
>
device
Add
By
Port
device
Add
By
Port
(
id
:
string
, params
:
{
bus
:
number
;
port
:
string
}
)
:
Promise
<
any
>
Parameters
id:
string
params:
{
bus
:
number
;
port
:
string
}
bus
:
number
port
:
string
Returns
Promise
<
any
>
device
Add
Missing
device
Add
Missing
(
id
:
string
, filters
:
{
name
?:
RegExp
;
productId
?:
RegExp
;
vendorId
?:
RegExp
}
)
:
Promise
<
any
>
Parameters
id:
string
filters:
{
name
?:
RegExp
;
productId
?:
RegExp
;
vendorId
?:
RegExp
}
Optional
name
?:
RegExp
Optional
product
Id
?:
RegExp
Optional
vendor
Id
?:
RegExp
Returns
Promise
<
any
>
device
Del
device
Del
(
id
:
string
)
:
Promise
<
string
>
Parameters
id:
string
Returns
Promise
<
string
>
info
info
(
type
:
"name"
|
"backup"
|
"migrate"
|
"rdma"
|
"network"
|
"status"
|
"version"
|
"cpus"
|
"balloon"
|
"kvm"
|
"numa"
|
"spice"
|
"history"
|
"block-jobs"
|
"blockstats"
|
"capture"
|
"chardev"
|
"cpustats"
|
"dump"
|
"hotpluggable-cpus"
|
"ioapic"
|
"iothreads"
|
"irq"
|
"jit"
|
"memdev"
|
"memory-devices"
|
"memory_size_summary"
|
"mice"
|
"migrate_cache_size"
|
"migrate_capabilities"
|
"migrate_parameters"
|
"opcount"
|
"pci"
|
"pic"
|
"profile"
|
"qdm"
|
"qtree"
|
"ramblock"
|
"roms"
|
"savevm"
|
"sev"
|
"snapshots"
|
"tpm"
|
"usb"
|
"usbhost"
|
"usernet"
|
"uuid"
|
"vm-generation-id"
|
"vnc"
)
:
Promise
<
string
>
Parameters
type:
"name"
|
"backup"
|
"migrate"
|
"rdma"
|
"network"
|
"status"
|
"version"
|
"cpus"
|
"balloon"
|
"kvm"
|
"numa"
|
"spice"
|
"history"
|
"block-jobs"
|
"blockstats"
|
"capture"
|
"chardev"
|
"cpustats"
|
"dump"
|
"hotpluggable-cpus"
|
"ioapic"
|
"iothreads"
|
"irq"
|
"jit"
|
"memdev"
|
"memory-devices"
|
"memory_size_summary"
|
"mice"
|
"migrate_cache_size"
|
"migrate_capabilities"
|
"migrate_parameters"
|
"opcount"
|
"pci"
|
"pic"
|
"profile"
|
"qdm"
|
"qtree"
|
"ramblock"
|
"roms"
|
"savevm"
|
"sev"
|
"snapshots"
|
"tpm"
|
"usb"
|
"usbhost"
|
"usernet"
|
"uuid"
|
"vm-generation-id"
|
"vnc"
Returns
Promise
<
string
>
info
(
type
:
"block"
|
"lapic"
|
"mtree"
|
"qom-tree"
|
"registers"
|
"sync-profile"
|
"trace-events"
,
...
args
:
string
[]
)
:
Promise
<
string
>
Parameters
type:
"block"
|
"lapic"
|
"mtree"
|
"qom-tree"
|
"registers"
|
"sync-profile"
|
"trace-events"
Rest
...
args:
string
[]
Returns
Promise
<
string
>
info
(
type
:
"rocker-of-dpa-flows"
|
"rocker-of-dpa-groups"
|
"rocker-ports"
, arg1
:
string
,
...
args
:
string
[]
)
:
Promise
<
string
>
Parameters
type:
"rocker-of-dpa-flows"
|
"rocker-of-dpa-groups"
|
"rocker-ports"
arg1:
string
Rest
...
args:
string
[]
Returns
Promise
<
string
>
info
Usb
info
Usb
(
filters
?:
{
name
?:
RegExp
;
productId
?:
RegExp
;
vendorId
?:
RegExp
}
)
:
Promise
<
USBInfo
[]
>
Parameters
Optional
filters:
{
name
?:
RegExp
;
productId
?:
RegExp
;
vendorId
?:
RegExp
}
Optional
name
?:
RegExp
Optional
product
Id
?:
RegExp
Optional
vendor
Id
?:
RegExp
Returns
Promise
<
USBInfo
[]
>
info
Usbhost
info
Usbhost
(
filters
?:
{
name
?:
RegExp
;
productId
?:
RegExp
;
vendorId
?:
RegExp
}
)
:
Promise
<
USBHostInfo
[]
>
list available usb on host
Parameters
Optional
filters:
{
name
?:
RegExp
;
productId
?:
RegExp
;
vendorId
?:
RegExp
}
Optional
name
?:
RegExp
Optional
product
Id
?:
RegExp
Optional
vendor
Id
?:
RegExp
Returns
Promise
<
USBHostInfo
[]
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
proxmox-
api
Proxmox
Qm
Monitor
constructor
_node
_vmid
monitor
node
vmid
device
Add
By
Id
device
Add
By
Port
device
Add
Missing
device
Del
info
info
Usb
info
Usbhost
Generated using
TypeDoc
list available usb on host