HeatWaveFleetMetricDefinition¶
-
class
oci.database_management.models.
HeatWaveFleetMetricDefinition
(**kwargs)¶ Bases:
object
An aggregated metric for a HeatWave cluster.
Methods
__init__
(**kwargs)Initializes a new HeatWaveFleetMetricDefinition object with values from keyword arguments. Attributes
dimensions
[Required] Gets the dimensions of this HeatWaveFleetMetricDefinition. metric_name
[Required] Gets the metric_name of this HeatWaveFleetMetricDefinition. metric_value
[Required] Gets the metric_value of this HeatWaveFleetMetricDefinition. timestamp
[Required] Gets the timestamp of this HeatWaveFleetMetricDefinition. unit
[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.
-
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]
-
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
-
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
-
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
-
unit
¶ [Required] Gets the unit of this HeatWaveFleetMetricDefinition. The unit of the metric value.
Returns: The unit of this HeatWaveFleetMetricDefinition. Return type: str
-