OcpuUtilizationInfo

class oci.blockchain.models.OcpuUtilizationInfo(**kwargs)

Bases: object

Ocpu utilization for a VM host

Methods

__init__(**kwargs) Initializes a new OcpuUtilizationInfo object with values from keyword arguments.

Attributes

host Gets the host of this OcpuUtilizationInfo.
ocpu_capacity_number Gets the ocpu_capacity_number of this OcpuUtilizationInfo.
ocpu_utilization_number Gets the ocpu_utilization_number of this OcpuUtilizationInfo.
__init__(**kwargs)

Initializes a new OcpuUtilizationInfo object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • host (str) – The value to assign to the host property of this OcpuUtilizationInfo.
  • ocpu_utilization_number (float) – The value to assign to the ocpu_utilization_number property of this OcpuUtilizationInfo.
  • ocpu_capacity_number (float) – The value to assign to the ocpu_capacity_number property of this OcpuUtilizationInfo.
host

Gets the host of this OcpuUtilizationInfo. Host name of VM

Returns:The host of this OcpuUtilizationInfo.
Return type:str
ocpu_capacity_number

Gets the ocpu_capacity_number of this OcpuUtilizationInfo. Number of total OCPU capacity on the host

Returns:The ocpu_capacity_number of this OcpuUtilizationInfo.
Return type:float
ocpu_utilization_number

Gets the ocpu_utilization_number of this OcpuUtilizationInfo. Number of OCPU utilized

Returns:The ocpu_utilization_number of this OcpuUtilizationInfo.
Return type:float