AggregatedDatapoint

class oci.monitoring.models.AggregatedDatapoint(**kwargs)

Bases: object

A timestamp-value pair returned for the specified request.

Methods:

__init__(**kwargs)

Initializes a new AggregatedDatapoint object with values from keyword arguments.

Attributes:

timestamp

[Required] Gets the timestamp of this AggregatedDatapoint.

value

[Required] Gets the value of this AggregatedDatapoint.

__init__(**kwargs)

Initializes a new AggregatedDatapoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • timestamp (datetime) – The value to assign to the timestamp property of this AggregatedDatapoint.

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

property timestamp

[Required] Gets the timestamp of this AggregatedDatapoint. The date and time associated with the value of this data point. Format defined by RFC3339.

Example: 2023-02-01T01:02:29.600Z

Returns

The timestamp of this AggregatedDatapoint.

Return type

datetime

property value

[Required] Gets the value of this AggregatedDatapoint. Numeric value of the metric.

Example: 10.4

Returns

The value of this AggregatedDatapoint.

Return type

float