Gpu#

class Gpu(mode=None, device_id=None, vendor=None, pci_address=None, guest_driver_version=None, name=None, frame_buffer_size_bytes=None, num_virtual_display_heads=None, fraction=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#

Bases: ExternalizableAbstractModel

Graphics resource information for the Virtual Machine.

Parameters:
property device_id#

The device Id of the GPU.

Type:

int

property fraction#

Fraction of the physical GPU assigned.

Type:

int

property frame_buffer_size_bytes#

GPU frame buffer size in bytes.

Type:

int

property guest_driver_version#

Last determined guest driver version.

Type:

str

property mode#
Type:

GpuMode

property name#

Name of the GPU resource.

Type:

str

property num_virtual_display_heads#

Number of supported virtual display heads.

Type:

int

property pci_address#
Type:

SBDF

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property vendor#
Type:

GpuVendor