HostGpuConfiguration

class oci.opsi.models.HostGpuConfiguration(**kwargs)

Bases: HostConfigurationMetricGroup

GPU configuration metrics

Attributes:

METRIC_NAME_HOST_CONTAINERS

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_ENTITES

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_GPU_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_HARDWARE_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_MEMORY_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_NETWORK_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_PRODUCT

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_RESOURCE_ALLOCATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

bus_id

[Required] Gets the bus_id of this HostGpuConfiguration.

bus_width

[Required] Gets the bus_width of this HostGpuConfiguration.

cuda_version

[Required] Gets the cuda_version of this HostGpuConfiguration.

driver_version

[Required] Gets the driver_version of this HostGpuConfiguration.

gpu_capabilities

Gets the gpu_capabilities of this HostGpuConfiguration.

gpu_id

[Required] Gets the gpu_id of this HostGpuConfiguration.

metric_name

[Required] Gets the metric_name of this HostConfigurationMetricGroup.

product_name

[Required] Gets the product_name of this HostGpuConfiguration.

time_collected

[Required] Gets the time_collected of this HostConfigurationMetricGroup.

total_graphics_clock_speed

[Required] Gets the total_graphics_clock_speed of this HostGpuConfiguration.

total_memory

[Required] Gets the total_memory of this HostGpuConfiguration.

total_memory_clock_speed

[Required] Gets the total_memory_clock_speed of this HostGpuConfiguration.

total_power

[Required] Gets the total_power of this HostGpuConfiguration.

total_sm_clock_speed

[Required] Gets the total_sm_clock_speed of this HostGpuConfiguration.

total_video_clock_speed

[Required] Gets the total_video_clock_speed of this HostGpuConfiguration.

vendor

[Required] Gets the vendor of this HostGpuConfiguration.

Methods:

__init__(**kwargs)

Initializes a new HostGpuConfiguration object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

METRIC_NAME_HOST_CONTAINERS = 'HOST_CONTAINERS'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_CONTAINERS”

METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION = 'HOST_CPU_HARDWARE_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_CPU_HARDWARE_CONFIGURATION”

METRIC_NAME_HOST_ENTITES = 'HOST_ENTITES'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_ENTITES”

METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION = 'HOST_FILESYSTEM_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_FILESYSTEM_CONFIGURATION”

METRIC_NAME_HOST_GPU_CONFIGURATION = 'HOST_GPU_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_GPU_CONFIGURATION”

METRIC_NAME_HOST_HARDWARE_CONFIGURATION = 'HOST_HARDWARE_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_HARDWARE_CONFIGURATION”

METRIC_NAME_HOST_MEMORY_CONFIGURATION = 'HOST_MEMORY_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_MEMORY_CONFIGURATION”

METRIC_NAME_HOST_NETWORK_CONFIGURATION = 'HOST_NETWORK_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_NETWORK_CONFIGURATION”

METRIC_NAME_HOST_PRODUCT = 'HOST_PRODUCT'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_PRODUCT”

METRIC_NAME_HOST_RESOURCE_ALLOCATION = 'HOST_RESOURCE_ALLOCATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_RESOURCE_ALLOCATION”

__init__(**kwargs)

Initializes a new HostGpuConfiguration object with values from keyword arguments. The default value of the metric_name attribute of this class is HOST_GPU_CONFIGURATION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • metric_name (str) – The value to assign to the metric_name property of this HostGpuConfiguration. Allowed values for this property are: “HOST_PRODUCT”, “HOST_RESOURCE_ALLOCATION”, “HOST_MEMORY_CONFIGURATION”, “HOST_HARDWARE_CONFIGURATION”, “HOST_CPU_HARDWARE_CONFIGURATION”, “HOST_NETWORK_CONFIGURATION”, “HOST_ENTITES”, “HOST_FILESYSTEM_CONFIGURATION”, “HOST_GPU_CONFIGURATION”, “HOST_CONTAINERS”

  • time_collected (datetime) – The value to assign to the time_collected property of this HostGpuConfiguration.

  • gpu_id (int) – The value to assign to the gpu_id property of this HostGpuConfiguration.

  • product_name (str) – The value to assign to the product_name property of this HostGpuConfiguration.

  • vendor (str) – The value to assign to the vendor property of this HostGpuConfiguration.

  • bus_id (str) – The value to assign to the bus_id property of this HostGpuConfiguration.

  • bus_width (int) – The value to assign to the bus_width property of this HostGpuConfiguration.

  • gpu_capabilities (str) – The value to assign to the gpu_capabilities property of this HostGpuConfiguration.

  • total_power (float) – The value to assign to the total_power property of this HostGpuConfiguration.

  • total_memory (float) – The value to assign to the total_memory property of this HostGpuConfiguration.

  • total_video_clock_speed (float) – The value to assign to the total_video_clock_speed property of this HostGpuConfiguration.

  • total_sm_clock_speed (float) – The value to assign to the total_sm_clock_speed property of this HostGpuConfiguration.

  • total_graphics_clock_speed (float) – The value to assign to the total_graphics_clock_speed property of this HostGpuConfiguration.

  • total_memory_clock_speed (float) – The value to assign to the total_memory_clock_speed property of this HostGpuConfiguration.

  • cuda_version (str) – The value to assign to the cuda_version property of this HostGpuConfiguration.

  • driver_version (str) – The value to assign to the driver_version property of this HostGpuConfiguration.

property bus_id

[Required] Gets the bus_id of this HostGpuConfiguration. Bus Identifier

Returns

The bus_id of this HostGpuConfiguration.

Return type

str

property bus_width

[Required] Gets the bus_width of this HostGpuConfiguration. Bus Width

Returns

The bus_width of this HostGpuConfiguration.

Return type

int

property cuda_version

[Required] Gets the cuda_version of this HostGpuConfiguration. CUDA library version

Returns

The cuda_version of this HostGpuConfiguration.

Return type

str

property driver_version

[Required] Gets the driver_version of this HostGpuConfiguration. GPU Driver version

Returns

The driver_version of this HostGpuConfiguration.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property gpu_capabilities

Gets the gpu_capabilities of this HostGpuConfiguration. GPU Capabilities

Returns

The gpu_capabilities of this HostGpuConfiguration.

Return type

str

property gpu_id

[Required] Gets the gpu_id of this HostGpuConfiguration. GPU Identifier

Returns

The gpu_id of this HostGpuConfiguration.

Return type

int

property metric_name

[Required] Gets the metric_name of this HostConfigurationMetricGroup. Name of the metric group

Allowed values for this property are: “HOST_PRODUCT”, “HOST_RESOURCE_ALLOCATION”, “HOST_MEMORY_CONFIGURATION”, “HOST_HARDWARE_CONFIGURATION”, “HOST_CPU_HARDWARE_CONFIGURATION”, “HOST_NETWORK_CONFIGURATION”, “HOST_ENTITES”, “HOST_FILESYSTEM_CONFIGURATION”, “HOST_GPU_CONFIGURATION”, “HOST_CONTAINERS”

Returns

The metric_name of this HostConfigurationMetricGroup.

Return type

str

property product_name

[Required] Gets the product_name of this HostGpuConfiguration. GPU Product Name

Returns

The product_name of this HostGpuConfiguration.

Return type

str

property time_collected

[Required] Gets the time_collected of this HostConfigurationMetricGroup. Collection timestamp Example: “2020-05-06T00:00:00.000Z”

Returns

The time_collected of this HostConfigurationMetricGroup.

Return type

datetime

property total_graphics_clock_speed

[Required] Gets the total_graphics_clock_speed of this HostGpuConfiguration. Max Graphics Clock Speed

Returns

The total_graphics_clock_speed of this HostGpuConfiguration.

Return type

float

property total_memory

[Required] Gets the total_memory of this HostGpuConfiguration. Total Memory Allocated to GPU

Returns

The total_memory of this HostGpuConfiguration.

Return type

float

property total_memory_clock_speed

[Required] Gets the total_memory_clock_speed of this HostGpuConfiguration. Max Memory Clock Speed

Returns

The total_memory_clock_speed of this HostGpuConfiguration.

Return type

float

property total_power

[Required] Gets the total_power of this HostGpuConfiguration. Power Capacity

Returns

The total_power of this HostGpuConfiguration.

Return type

float

property total_sm_clock_speed

[Required] Gets the total_sm_clock_speed of this HostGpuConfiguration. Max SM (Streaming Multiprocessor) Clock Speed

Returns

The total_sm_clock_speed of this HostGpuConfiguration.

Return type

float

property total_video_clock_speed

[Required] Gets the total_video_clock_speed of this HostGpuConfiguration. Max Video Clock Speed

Returns

The total_video_clock_speed of this HostGpuConfiguration.

Return type

float

property vendor

[Required] Gets the vendor of this HostGpuConfiguration. GPU Vendor

Returns

The vendor of this HostGpuConfiguration.

Return type

str