HeatWaveFleetMetricDefinition¶
- class oci.database_management.models.HeatWaveFleetMetricDefinition(**kwargs)¶
Bases:
objectAn aggregated metric for a HeatWave cluster. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.
Methods:
__init__(**kwargs)Initializes a new HeatWaveFleetMetricDefinition object with values from keyword arguments.
Attributes:
[Required] Gets the dimensions of this HeatWaveFleetMetricDefinition.
[Required] Gets the metric_name of this HeatWaveFleetMetricDefinition.
[Required] Gets the metric_value of this HeatWaveFleetMetricDefinition.
[Required] Gets the timestamp of this HeatWaveFleetMetricDefinition.
[Required] Gets the unit of this HeatWaveFleetMetricDefinition.
- __init__(**kwargs)¶
Initializes a new HeatWaveFleetMetricDefinition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
metric_name (str) – The value to assign to the metric_name property of this HeatWaveFleetMetricDefinition.
metric_value (float) – The value to assign to the metric_value property of this HeatWaveFleetMetricDefinition.
timestamp (datetime) – The value to assign to the timestamp property of this HeatWaveFleetMetricDefinition.
dimensions (list[oci.database_management.models.MetricDimensionDefinition]) – The value to assign to the dimensions property of this HeatWaveFleetMetricDefinition.
unit (str) – The value to assign to the unit property of this HeatWaveFleetMetricDefinition.
- property dimensions¶
[Required] Gets the dimensions of this HeatWaveFleetMetricDefinition. The dimensions of the metric.
- Returns
The dimensions of this HeatWaveFleetMetricDefinition.
- Return type
list[oci.database_management.models.MetricDimensionDefinition]
- property metric_name¶
[Required] Gets the metric_name of this HeatWaveFleetMetricDefinition. The name of the metric.
- Returns
The metric_name of this HeatWaveFleetMetricDefinition.
- Return type
str
- property metric_value¶
[Required] Gets the metric_value of this HeatWaveFleetMetricDefinition. The value of the metric.
- Returns
The metric_value of this HeatWaveFleetMetricDefinition.
- Return type
float
- property timestamp¶
[Required] Gets the timestamp of this HeatWaveFleetMetricDefinition. The data point date and time in UTC in ISO-8601 format.
- Returns
The timestamp of this HeatWaveFleetMetricDefinition.
- Return type
datetime
- property unit¶
[Required] Gets the unit of this HeatWaveFleetMetricDefinition. The unit of the metric value.
- Returns
The unit of this HeatWaveFleetMetricDefinition.
- Return type
str