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.
__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.
base_capacity

[Required] Gets the base_capacity of this ResourceCapacityTrendAggregation. The base allocated amount of the resource metric type (CPU, STORAGE).

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).

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