DataPoints

class oci.database_management.models.DataPoints(**kwargs)

Bases: object

The aggregated datapoints of the metric.

Methods

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

Attributes

timestamp Gets the timestamp of this DataPoints.
value Gets the value of this DataPoints.
__init__(**kwargs)

Initializes a new DataPoints 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 DataPoints.
  • value (float) – The value to assign to the value property of this DataPoints.
timestamp

Gets the timestamp of this DataPoints. The data point date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.

Returns:The timestamp of this DataPoints.
Return type:datetime
value

Gets the value of this DataPoints. The value of the metric.

Returns:The value of this DataPoints.
Return type:float