HostResourceCapacityTrendAggregation

class oci.opsi.models.HostResourceCapacityTrendAggregation(**kwargs)

Bases: object

Host Resource Capacity samples

Methods:

__init__(**kwargs)

Initializes a new HostResourceCapacityTrendAggregation object with values from keyword arguments.

Attributes:

capacity

[Required] Gets the capacity of this HostResourceCapacityTrendAggregation.

end_timestamp

[Required] Gets the end_timestamp of this HostResourceCapacityTrendAggregation.

__init__(**kwargs)

Initializes a new HostResourceCapacityTrendAggregation 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 HostResourceCapacityTrendAggregation.

  • capacity (float) – The value to assign to the capacity property of this HostResourceCapacityTrendAggregation.

property capacity

[Required] Gets the capacity of this HostResourceCapacityTrendAggregation. The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.

Returns

The capacity of this HostResourceCapacityTrendAggregation.

Return type

float

property end_timestamp

[Required] Gets the end_timestamp of this HostResourceCapacityTrendAggregation. The timestamp in which the current sampling period ends in RFC 3339 format.

Returns

The end_timestamp of this HostResourceCapacityTrendAggregation.

Return type

datetime