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