TablespaceUsageTrend¶
- class oci.opsi.models.TablespaceUsageTrend(**kwargs)¶
Bases:
objectUsage data samples
Methods:
__init__(**kwargs)Initializes a new TablespaceUsageTrend object with values from keyword arguments.
Attributes:
[Required] Gets the capacity of this TablespaceUsageTrend.
[Required] Gets the end_timestamp of this TablespaceUsageTrend.
[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.
- property 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
- property 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
- property 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