MetricDataPoint¶
- class oci.database_management.models.MetricDataPoint(**kwargs)¶
Bases:
objectThe metric values with dimension details.
Methods:
__init__(**kwargs)Initializes a new MetricDataPoint object with values from keyword arguments.
Attributes:
Gets the dimensions of this MetricDataPoint.
Gets the unit of this MetricDataPoint.
Gets the value of this MetricDataPoint.
- __init__(**kwargs)¶
Initializes a new MetricDataPoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
value (float) – The value to assign to the value property of this MetricDataPoint.
unit (str) – The value to assign to the unit property of this MetricDataPoint.
dimensions (list[oci.database_management.models.MetricDimensionDefinition]) – The value to assign to the dimensions property of this MetricDataPoint.
- property dimensions¶
Gets the dimensions of this MetricDataPoint. The dimensions of the metric.
- Returns
The dimensions of this MetricDataPoint.
- Return type
list[oci.database_management.models.MetricDimensionDefinition]
- property unit¶
Gets the unit of this MetricDataPoint. The unit of the metric value.
- Returns
The unit of this MetricDataPoint.
- Return type
str
- property value¶
Gets the value of this MetricDataPoint. The value of the metric.
- Returns
The value of this MetricDataPoint.
- Return type
float