InstanceMetrics¶
- 
class oci.opsi.models.InstanceMetrics(**kwargs)¶
- Bases: - object- Object containing instance metrics. - Methods - __init__(**kwargs)- Initializes a new InstanceMetrics object with values from keyword arguments. - Attributes - capacity- Gets the capacity of this InstanceMetrics. - host_name- Gets the host_name of this InstanceMetrics. - instance_name- Gets the instance_name of this InstanceMetrics. - total_host_capacity- Gets the total_host_capacity of this InstanceMetrics. - usage- Gets the usage of this InstanceMetrics. - usage_change_percent- Gets the usage_change_percent of this InstanceMetrics. - utilization_percent- Gets the utilization_percent of this InstanceMetrics. - 
__init__(**kwargs)¶
- Initializes a new InstanceMetrics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - host_name (str) – The value to assign to the host_name property of this InstanceMetrics.
- instance_name (str) – The value to assign to the instance_name property of this InstanceMetrics.
- usage (float) – The value to assign to the usage property of this InstanceMetrics.
- capacity (float) – The value to assign to the capacity property of this InstanceMetrics.
- total_host_capacity (float) – The value to assign to the total_host_capacity property of this InstanceMetrics.
- utilization_percent (float) – The value to assign to the utilization_percent property of this InstanceMetrics.
- usage_change_percent (float) – The value to assign to the usage_change_percent property of this InstanceMetrics.
 
 - 
capacity¶
- Gets the capacity of this InstanceMetrics. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases. - Returns: - The capacity of this InstanceMetrics. - Return type: - float 
 - 
host_name¶
- Gets the host_name of this InstanceMetrics. The hostname of the database insight resource. - Returns: - The host_name of this InstanceMetrics. - Return type: - str 
 - 
instance_name¶
- Gets the instance_name of this InstanceMetrics. The instance name of the database insight resource. - Returns: - The instance_name of this InstanceMetrics. - Return type: - str 
 - 
total_host_capacity¶
- Gets the total_host_capacity of this InstanceMetrics. The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases. - Returns: - The total_host_capacity of this InstanceMetrics. - Return type: - float 
 - 
usage¶
- Gets the usage of this InstanceMetrics. Total amount used of the resource metric type (CPU, STORAGE). - Returns: - The usage of this InstanceMetrics. - Return type: - float 
 - 
usage_change_percent¶
- Gets the usage_change_percent of this InstanceMetrics. Change in resource utilization in percentage - Returns: - The usage_change_percent of this InstanceMetrics. - Return type: - float 
 - 
utilization_percent¶
- Gets the utilization_percent of this InstanceMetrics. Resource utilization in percentage - Returns: - The utilization_percent of this InstanceMetrics. - Return type: - float 
 
-