HostIoStatistics¶
-
class
oci.opsi.models.
HostIoStatistics
(**kwargs)¶ Bases:
oci.opsi.models.host_resource_statistics.HostResourceStatistics
Contains io statistics.
Attributes
RESOURCE_NAME_HOST_CPU_STATISTICS
str(object=’’) -> str RESOURCE_NAME_HOST_IO_STATISTICS
str(object=’’) -> str RESOURCE_NAME_HOST_MEMORY_STATISTICS
str(object=’’) -> str RESOURCE_NAME_HOST_NETWORK_STATISTICS
str(object=’’) -> str RESOURCE_NAME_HOST_STORAGE_STATISTICS
str(object=’’) -> str capacity
[Required] Gets the capacity of this HostResourceStatistics. disk_iops
Gets the disk_iops of this HostIoStatistics. disk_read_in_mbs
Gets the disk_read_in_mbs of this HostIoStatistics. disk_write_in_mbs
Gets the disk_write_in_mbs of this HostIoStatistics. resource_name
[Required] Gets the resource_name of this HostResourceStatistics. usage
[Required] Gets the usage of this HostResourceStatistics. usage_change_percent
[Required] Gets the usage_change_percent of this HostResourceStatistics. utilization_percent
[Required] Gets the utilization_percent of this HostResourceStatistics. Methods
__init__
(**kwargs)Initializes a new HostIoStatistics 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. -
RESOURCE_NAME_HOST_CPU_STATISTICS
= 'HOST_CPU_STATISTICS'¶
-
RESOURCE_NAME_HOST_IO_STATISTICS
= 'HOST_IO_STATISTICS'¶
-
RESOURCE_NAME_HOST_MEMORY_STATISTICS
= 'HOST_MEMORY_STATISTICS'¶
-
RESOURCE_NAME_HOST_NETWORK_STATISTICS
= 'HOST_NETWORK_STATISTICS'¶
-
RESOURCE_NAME_HOST_STORAGE_STATISTICS
= 'HOST_STORAGE_STATISTICS'¶
-
__init__
(**kwargs)¶ Initializes a new HostIoStatistics object with values from keyword arguments. The default value of the
resource_name
attribute of this class isHOST_IO_STATISTICS
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - usage (float) – The value to assign to the usage property of this HostIoStatistics.
- capacity (float) – The value to assign to the capacity property of this HostIoStatistics.
- utilization_percent (float) – The value to assign to the utilization_percent property of this HostIoStatistics.
- usage_change_percent (float) – The value to assign to the usage_change_percent property of this HostIoStatistics.
- resource_name (str) – The value to assign to the resource_name property of this HostIoStatistics. Allowed values for this property are: “HOST_CPU_STATISTICS”, “HOST_MEMORY_STATISTICS”, “HOST_STORAGE_STATISTICS”, “HOST_NETWORK_STATISTICS”, “HOST_IO_STATISTICS”
- disk_read_in_mbs (float) – The value to assign to the disk_read_in_mbs property of this HostIoStatistics.
- disk_write_in_mbs (float) – The value to assign to the disk_write_in_mbs property of this HostIoStatistics.
- disk_iops (float) – The value to assign to the disk_iops property of this HostIoStatistics.
-
capacity
¶ [Required] Gets the capacity of this HostResourceStatistics. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Returns: The capacity of this HostResourceStatistics. Return type: float
-
disk_iops
¶ Gets the disk_iops of this HostIoStatistics.
Returns: The disk_iops of this HostIoStatistics. Return type: float
-
disk_read_in_mbs
¶ Gets the disk_read_in_mbs of this HostIoStatistics.
Returns: The disk_read_in_mbs of this HostIoStatistics. Return type: float
-
disk_write_in_mbs
¶ Gets the disk_write_in_mbs of this HostIoStatistics.
Returns: The disk_write_in_mbs of this HostIoStatistics. 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.
-
resource_name
¶ [Required] Gets the resource_name of this HostResourceStatistics. Name of resource for host
Allowed values for this property are: “HOST_CPU_STATISTICS”, “HOST_MEMORY_STATISTICS”, “HOST_STORAGE_STATISTICS”, “HOST_NETWORK_STATISTICS”, “HOST_IO_STATISTICS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The resource_name of this HostResourceStatistics. Return type: str
-
usage
¶ [Required] Gets the usage of this HostResourceStatistics. Total amount used of the resource metric type (CPU, STORAGE).
Returns: The usage of this HostResourceStatistics. Return type: float
-
usage_change_percent
¶ [Required] Gets the usage_change_percent of this HostResourceStatistics. Change in resource utilization in percentage
Returns: The usage_change_percent of this HostResourceStatistics. Return type: float
-
utilization_percent
¶ [Required] Gets the utilization_percent of this HostResourceStatistics. Resource utilization in percentage.
Returns: The utilization_percent of this HostResourceStatistics. Return type: float
-