OcpuUtilizationInfo¶
- class oci.blockchain.models.OcpuUtilizationInfo(**kwargs)¶
Bases:
objectOcpu utilization for a VM host
Methods:
__init__(**kwargs)Initializes a new OcpuUtilizationInfo object with values from keyword arguments.
Attributes:
Gets the host of this OcpuUtilizationInfo.
Gets the ocpu_capacity_number of this OcpuUtilizationInfo.
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.
- property host¶
Gets the host of this OcpuUtilizationInfo. Host name of VM
- Returns
The host of this OcpuUtilizationInfo.
- Return type
str
- property 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
- property 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