Apache CloudStack 4.21.0.0 Root Admin API Reference

listGpuDevices

Lists all available GPU devices

Request parameters

Parameter NameDescriptionRequired
gpucardidthe GPU card ID associated with the GPU devicefalse
hostidthe host ID where the GPU device is attachedfalse
idID of the GPU devicefalse
keywordList by keywordfalse
pagefalse
pagesizefalse
vgpuprofileidthe vGPU profile ID assigned to the GPU devicefalse
virtualmachineidthe virtual machine ID to which the GPU device is allocatedfalse

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