Apache CloudStack 4.21.0.0 Root Admin API Reference

updateGpuDevice

Updates an existing GPU device

Request parameters

Parameter NameDescriptionRequired
idID of the GPU device to updatetrue
gpucardidNew GPU card IDfalse
numanodeNew NUMA node of the GPU devicefalse
parentgpudeviceidNew parent GPU device ID (for virtual GPU devices)false
typeNew type of GPU device (PCI, MDEV, VGPUOnly)false
vgpuprofileidNew vGPU profile IDfalse

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