HostCpuHardwareConfiguration

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

Bases: oci.opsi.models.host_configuration_metric_group.HostConfigurationMetricGroup

CPU Hardware Configuration metric for the host

Attributes

METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_ENTITES str(object=’’) -> str
METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_HARDWARE_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_MEMORY_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_NETWORK_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_PRODUCT str(object=’’) -> str
METRIC_NAME_HOST_RESOURCE_ALLOCATION str(object=’’) -> str
cache_in_mb Gets the cache_in_mb of this HostCpuHardwareConfiguration.
cores_per_socket Gets the cores_per_socket of this HostCpuHardwareConfiguration.
cpu_family Gets the cpu_family of this HostCpuHardwareConfiguration.
cpu_implementation Gets the cpu_implementation of this HostCpuHardwareConfiguration.
frequency_in_mhz Gets the frequency_in_mhz of this HostCpuHardwareConfiguration.
hyper_threading_enabled Gets the hyper_threading_enabled of this HostCpuHardwareConfiguration.
metric_name [Required] Gets the metric_name of this HostConfigurationMetricGroup.
model Gets the model of this HostCpuHardwareConfiguration.
threads_per_socket Gets the threads_per_socket of this HostCpuHardwareConfiguration.
time_collected [Required] Gets the time_collected of this HostConfigurationMetricGroup.
total_sockets Gets the total_sockets of this HostCpuHardwareConfiguration.
vendor_name Gets the vendor_name of this HostCpuHardwareConfiguration.

Methods

__init__(**kwargs) Initializes a new HostCpuHardwareConfiguration 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_CPU_HARDWARE_CONFIGURATION = 'HOST_CPU_HARDWARE_CONFIGURATION'
METRIC_NAME_HOST_ENTITES = 'HOST_ENTITES'
METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION = 'HOST_FILESYSTEM_CONFIGURATION'
METRIC_NAME_HOST_HARDWARE_CONFIGURATION = 'HOST_HARDWARE_CONFIGURATION'
METRIC_NAME_HOST_MEMORY_CONFIGURATION = 'HOST_MEMORY_CONFIGURATION'
METRIC_NAME_HOST_NETWORK_CONFIGURATION = 'HOST_NETWORK_CONFIGURATION'
METRIC_NAME_HOST_PRODUCT = 'HOST_PRODUCT'
METRIC_NAME_HOST_RESOURCE_ALLOCATION = 'HOST_RESOURCE_ALLOCATION'
__init__(**kwargs)

Initializes a new HostCpuHardwareConfiguration object with values from keyword arguments. The default value of the metric_name attribute of this class is HOST_CPU_HARDWARE_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 HostCpuHardwareConfiguration. 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”
  • time_collected (datetime) – The value to assign to the time_collected property of this HostCpuHardwareConfiguration.
  • total_sockets (int) – The value to assign to the total_sockets property of this HostCpuHardwareConfiguration.
  • vendor_name (str) – The value to assign to the vendor_name property of this HostCpuHardwareConfiguration.
  • frequency_in_mhz (float) – The value to assign to the frequency_in_mhz property of this HostCpuHardwareConfiguration.
  • cache_in_mb (float) – The value to assign to the cache_in_mb property of this HostCpuHardwareConfiguration.
  • cpu_implementation (str) – The value to assign to the cpu_implementation property of this HostCpuHardwareConfiguration.
  • model (str) – The value to assign to the model property of this HostCpuHardwareConfiguration.
  • cpu_family (str) – The value to assign to the cpu_family property of this HostCpuHardwareConfiguration.
  • cores_per_socket (int) – The value to assign to the cores_per_socket property of this HostCpuHardwareConfiguration.
  • threads_per_socket (int) – The value to assign to the threads_per_socket property of this HostCpuHardwareConfiguration.
  • hyper_threading_enabled (str) – The value to assign to the hyper_threading_enabled property of this HostCpuHardwareConfiguration.
cache_in_mb

Gets the cache_in_mb of this HostCpuHardwareConfiguration. Size of cache memory in megabytes

Returns:The cache_in_mb of this HostCpuHardwareConfiguration.
Return type:float
cores_per_socket

Gets the cores_per_socket of this HostCpuHardwareConfiguration. Number of cores per socket

Returns:The cores_per_socket of this HostCpuHardwareConfiguration.
Return type:int
cpu_family

Gets the cpu_family of this HostCpuHardwareConfiguration. Type of processor in the system

Returns:The cpu_family of this HostCpuHardwareConfiguration.
Return type:str
cpu_implementation

Gets the cpu_implementation of this HostCpuHardwareConfiguration. Model name of processor

Returns:The cpu_implementation of this HostCpuHardwareConfiguration.
Return type:str
frequency_in_mhz

Gets the frequency_in_mhz of this HostCpuHardwareConfiguration. Clock frequency of the processor in megahertz

Returns:The frequency_in_mhz of this HostCpuHardwareConfiguration.
Return type:float
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.

hyper_threading_enabled

Gets the hyper_threading_enabled of this HostCpuHardwareConfiguration. Indicates if hyper-threading is enabled or not

Returns:The hyper_threading_enabled of this HostCpuHardwareConfiguration.
Return type:str
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”

Returns:The metric_name of this HostConfigurationMetricGroup.
Return type:str
model

Gets the model of this HostCpuHardwareConfiguration. CPU model

Returns:The model of this HostCpuHardwareConfiguration.
Return type:str
threads_per_socket

Gets the threads_per_socket of this HostCpuHardwareConfiguration. Number of threads per socket

Returns:The threads_per_socket of this HostCpuHardwareConfiguration.
Return type:int
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
total_sockets

Gets the total_sockets of this HostCpuHardwareConfiguration. Total number of CPU Sockets

Returns:The total_sockets of this HostCpuHardwareConfiguration.
Return type:int
vendor_name

Gets the vendor_name of this HostCpuHardwareConfiguration. Name of the CPU vendor

Returns:The vendor_name of this HostCpuHardwareConfiguration.
Return type:str