Apache CloudStack 4.21.0.0 Root Admin API Reference

discoverGpuDevices

Discovers available GPU devices on a host

Request parameters

Parameter NameDescriptionRequired
idID of the hosttrue
keywordList by keywordfalse
pagefalse
pagesizefalse

Response Tags

Response NameDescription
idthe ID of the GPU device
busaddressbus address of the GPU device or MDEV UUID for vGPU devices
gpucardidthe GPU card ID associated with this GPU device
gpucardnamethe GPU card name associated with this GPU device
gpudevicetypebus address of the GPU device
hostidthe host ID where the GPU device is attached
hostnamethe host name where the GPU device is attached
managedstatethe managed state of the GPU device (Enabled/Disabled)
numanodethe NUMA node where the GPU device is located
parentgpudeviceidthe ID of the parent GPU device, if this is a vGPU
statethe vGPU profile name assigned to this GPU device
vgpuprofileidthe vGPU profile ID assigned to this GPU device
vgpuprofilenamethe vGPU profile name assigned to this GPU device
virtualmachineidthe vGPU profile ID assigned to this GPU device
virtualmachinenamethe vGPU profile name assigned to this GPU device
vmstatethe state of the virtual machine to which this GPU device is allocated