ResourceCapacityTrendAggregation¶
-
class
oci.opsi.models.
ResourceCapacityTrendAggregation
(**kwargs)¶ Bases:
object
Resource Capacity samples
Methods
__init__
(**kwargs)Initializes a new ResourceCapacityTrendAggregation object with values from keyword arguments. Attributes
base_capacity
[Required] Gets the base_capacity of this ResourceCapacityTrendAggregation. capacity
[Required] Gets the capacity of this ResourceCapacityTrendAggregation. end_timestamp
[Required] Gets the end_timestamp of this ResourceCapacityTrendAggregation. total_host_capacity
Gets the total_host_capacity of this ResourceCapacityTrendAggregation. -
__init__
(**kwargs)¶ Initializes a new ResourceCapacityTrendAggregation 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 ResourceCapacityTrendAggregation.
- capacity (float) – The value to assign to the capacity property of this ResourceCapacityTrendAggregation.
- base_capacity (float) – The value to assign to the base_capacity property of this ResourceCapacityTrendAggregation.
- total_host_capacity (float) – The value to assign to the total_host_capacity property of this ResourceCapacityTrendAggregation.
-
base_capacity
¶ [Required] Gets the base_capacity of this ResourceCapacityTrendAggregation. The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Returns: The base_capacity of this ResourceCapacityTrendAggregation. Return type: float
-
capacity
¶ [Required] Gets the capacity of this ResourceCapacityTrendAggregation. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
Returns: The capacity of this ResourceCapacityTrendAggregation. Return type: float
-
end_timestamp
¶ [Required] Gets the end_timestamp of this ResourceCapacityTrendAggregation. The timestamp in which the current sampling period ends in RFC 3339 format.
Returns: The end_timestamp of this ResourceCapacityTrendAggregation. Return type: datetime
-
total_host_capacity
¶ Gets the total_host_capacity of this ResourceCapacityTrendAggregation. 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 ResourceCapacityTrendAggregation. Return type: float
-