VirtualGpuConfig#
- class VirtualGpuConfig(type=None, device_id=None, device_name=None, vendor_name=None, is_in_use=None, sbdf=None, numa_node=None, assignable=None, fraction=None, guest_driver_version=None, licenses=None, number_of_virtual_display_heads=None, frame_buffer_size_bytes=None, max_resolution=None, max_instances_per_vm=None, *args, **kwargs)#
Bases:
objectVirtual GPU configuration details.
- Parameters:
type – (
type)device_id – (
device_id) Device Id.device_name – (
device_name) Device name.vendor_name (max=128 chars) – (
vendor_name) Vendor name.is_in_use – (
is_in_use) GPU in use.sbdf – (
sbdf) SBDF address.numa_node – (
numa_node) NUMA node.assignable – (
assignable) GPU assignable.fraction – (
fraction) GPU fraction.guest_driver_version – (
guest_driver_version) Guest driver version.licenses – (
licenses) GPU license list.number_of_virtual_display_heads – (
number_of_virtual_display_heads) Number of virtual display heads.frame_buffer_size_bytes – (
frame_buffer_size_bytes) Frame buffer size in bytes.max_resolution (max=16 chars) – (
max_resolution) Maximum resolution per display heads.max_instances_per_vm – (
max_instances_per_vm) Maximum instances allowed per VM.
- property assignable#
GPU assignable.
- Type:
int
- property device_id#
Device Id.
- Type:
int
- property device_name#
Device name.
- Type:
str
- property fraction#
GPU fraction.
- Type:
int
- property frame_buffer_size_bytes#
Frame buffer size in bytes.
- Type:
int
- property guest_driver_version#
Guest driver version.
- Type:
str
- property is_in_use#
GPU in use.
- Type:
bool
- property licenses#
GPU license list.
- Type:
list[
str]
- property max_instances_per_vm#
Maximum instances allowed per VM.
- Type:
int
- property max_resolution#
Maximum resolution per display heads.
- Type:
str
- property numa_node#
NUMA node.
- Type:
str
- property number_of_virtual_display_heads#
Number of virtual display heads.
- Type:
int
- property sbdf#
SBDF address.
- Type:
str
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model
- property vendor_name#
Vendor name.
- Type:
str