HostStorageStatistics¶
-
class
oci.opsi.models.HostStorageStatistics(**kwargs)¶ Bases:
oci.opsi.models.host_resource_statistics.HostResourceStatisticsContains storage statistics.
Attributes
RESOURCE_NAME_HOST_CPU_STATISTICSstr(object=’’) -> str RESOURCE_NAME_HOST_IO_STATISTICSstr(object=’’) -> str RESOURCE_NAME_HOST_MEMORY_STATISTICSstr(object=’’) -> str RESOURCE_NAME_HOST_NETWORK_STATISTICSstr(object=’’) -> str RESOURCE_NAME_HOST_STORAGE_STATISTICSstr(object=’’) -> str capacity[Required] Gets the capacity of this HostResourceStatistics. filesystem_available_in_percentGets the filesystem_available_in_percent of this HostStorageStatistics. 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 HostStorageStatistics 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 HostStorageStatistics object with values from keyword arguments. The default value of the
resource_nameattribute of this class isHOST_STORAGE_STATISTICSand 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 HostStorageStatistics.
- capacity (float) – The value to assign to the capacity property of this HostStorageStatistics.
- utilization_percent (float) – The value to assign to the utilization_percent property of this HostStorageStatistics.
- usage_change_percent (float) – The value to assign to the usage_change_percent property of this HostStorageStatistics.
- resource_name (str) – The value to assign to the resource_name property of this HostStorageStatistics. Allowed values for this property are: “HOST_CPU_STATISTICS”, “HOST_MEMORY_STATISTICS”, “HOST_STORAGE_STATISTICS”, “HOST_NETWORK_STATISTICS”, “HOST_IO_STATISTICS”
- filesystem_available_in_percent (float) – The value to assign to the filesystem_available_in_percent property of this HostStorageStatistics.
-
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
-
filesystem_available_in_percent¶ Gets the filesystem_available_in_percent of this HostStorageStatistics.
Returns: The filesystem_available_in_percent of this HostStorageStatistics. 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
-