TablespaceUsageTrend¶
-
class
oci.opsi.models.
TablespaceUsageTrend
(**kwargs)¶ Bases:
object
Usage data samples
Methods
__init__
(**kwargs)Initializes a new TablespaceUsageTrend object with values from keyword arguments. Attributes
capacity
[Required] Gets the capacity of this TablespaceUsageTrend. end_timestamp
[Required] Gets the end_timestamp of this TablespaceUsageTrend. usage
[Required] Gets the usage of this TablespaceUsageTrend. -
__init__
(**kwargs)¶ Initializes a new TablespaceUsageTrend object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - end_timestamp (datetime) – The value to assign to the end_timestamp property of this TablespaceUsageTrend.
- usage (float) – The value to assign to the usage property of this TablespaceUsageTrend.
- capacity (float) – The value to assign to the capacity property of this TablespaceUsageTrend.
-
capacity
¶ [Required] Gets the capacity of this TablespaceUsageTrend. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Returns: The capacity of this TablespaceUsageTrend. Return type: float
-
end_timestamp
¶ [Required] Gets the end_timestamp of this TablespaceUsageTrend. The timestamp in which the current sampling period ends in RFC 3339 format.
Returns: The end_timestamp of this TablespaceUsageTrend. Return type: datetime
-
usage
¶ [Required] Gets the usage of this TablespaceUsageTrend. Total amount used of the resource metric type (CPU, STORAGE).
Returns: The usage of this TablespaceUsageTrend. Return type: float
-