HistoricalMetric

class oci.cloud_bridge.models.HistoricalMetric(**kwargs)

Bases: object

Metric details.

Methods

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

Attributes

aggregation [Required] Gets the aggregation of this HistoricalMetric.
name [Required] Gets the name of this HistoricalMetric.
value [Required] Gets the value of this HistoricalMetric.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this HistoricalMetric.
  • aggregation (str) – The value to assign to the aggregation property of this HistoricalMetric.
  • value (float) – The value to assign to the value property of this HistoricalMetric.
aggregation

[Required] Gets the aggregation of this HistoricalMetric. Aggregation time interval.

Returns:The aggregation of this HistoricalMetric.
Return type:str
name

[Required] Gets the name of this HistoricalMetric. Metric name.

Returns:The name of this HistoricalMetric.
Return type:str
value

[Required] Gets the value of this HistoricalMetric. Aggregation value.

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