HistoricalMetric¶
- class oci.cloud_bridge.models.HistoricalMetric(**kwargs)¶
Bases:
objectMetric details.
Methods:
__init__(**kwargs)Initializes a new HistoricalMetric object with values from keyword arguments.
Attributes:
[Required] Gets the aggregation of this HistoricalMetric.
[Required] Gets the name of this HistoricalMetric.
[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.
- property aggregation¶
[Required] Gets the aggregation of this HistoricalMetric. Aggregation time interval.
- Returns
The aggregation of this HistoricalMetric.
- Return type
str
- property name¶
[Required] Gets the name of this HistoricalMetric. Metric name.
- Returns
The name of this HistoricalMetric.
- Return type
str
- property value¶
[Required] Gets the value of this HistoricalMetric. Aggregation value.
- Returns
The value of this HistoricalMetric.
- Return type
float