TimeSeriesMetricDefinition¶
-
class
oci.database_management.models.
TimeSeriesMetricDefinition
(**kwargs)¶ Bases:
object
The response object representing time series metric details for a specific Managed Database at a particular time.
Methods
__init__
(**kwargs)Initializes a new TimeSeriesMetricDefinition object with values from keyword arguments. Attributes
datapoints
[Required] Gets the datapoints of this TimeSeriesMetricDefinition. metric_name
[Required] Gets the metric_name of this TimeSeriesMetricDefinition. -
__init__
(**kwargs)¶ Initializes a new TimeSeriesMetricDefinition 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 TimeSeriesMetricDefinition.
- datapoints (list[oci.database_management.models.TimeSeriesMetricDataPoint]) – The value to assign to the datapoints property of this TimeSeriesMetricDefinition.
-
datapoints
¶ [Required] Gets the datapoints of this TimeSeriesMetricDefinition. The time series metric data for the given metric.
Returns: The datapoints of this TimeSeriesMetricDefinition. Return type: list[oci.database_management.models.TimeSeriesMetricDataPoint]
-
metric_name
¶ [Required] Gets the metric_name of this TimeSeriesMetricDefinition. The name of the metric the time series data corresponds to.
Returns: The metric_name of this TimeSeriesMetricDefinition. Return type: str
-