ProjectedDataItem

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

Bases: object

The timestamp of the projected event and their corresponding resource value. highValue and lowValue are the uncertainty bounds of the corresponding value.

Methods

__init__(**kwargs) Initializes a new ProjectedDataItem object with values from keyword arguments.

Attributes

end_timestamp [Required] Gets the end_timestamp of this ProjectedDataItem.
high_value [Required] Gets the high_value of this ProjectedDataItem.
low_value [Required] Gets the low_value of this ProjectedDataItem.
usage [Required] Gets the usage of this ProjectedDataItem.
__init__(**kwargs)

Initializes a new ProjectedDataItem 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 ProjectedDataItem.
  • usage (float) – The value to assign to the usage property of this ProjectedDataItem.
  • high_value (float) – The value to assign to the high_value property of this ProjectedDataItem.
  • low_value (float) – The value to assign to the low_value property of this ProjectedDataItem.
end_timestamp

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

Returns:The end_timestamp of this ProjectedDataItem.
Return type:datetime
high_value

[Required] Gets the high_value of this ProjectedDataItem. Upper uncertainty bound of the current usage value.

Returns:The high_value of this ProjectedDataItem.
Return type:float
low_value

[Required] Gets the low_value of this ProjectedDataItem. Lower uncertainty bound of the current usage value.

Returns:The low_value of this ProjectedDataItem.
Return type:float
usage

[Required] Gets the usage of this ProjectedDataItem. Total amount used of the resource metric type (CPU, STORAGE).

Returns:The usage of this ProjectedDataItem.
Return type:float