MySqlFleetMetricSummaryDefinition¶
-
class
oci.database_management.models.MySqlFleetMetricSummaryDefinition(**kwargs)¶ Bases:
objectA summary of the fleet metrics, which provides the metric aggregated value of the MySQL Databases in the fleet.
Methods
__init__(**kwargs)Initializes a new MySqlFleetMetricSummaryDefinition object with values from keyword arguments. Attributes
dimensions[Required] Gets the dimensions of this MySqlFleetMetricSummaryDefinition. metric_name[Required] Gets the metric_name of this MySqlFleetMetricSummaryDefinition. metric_value[Required] Gets the metric_value of this MySqlFleetMetricSummaryDefinition. unit[Required] Gets the unit of this MySqlFleetMetricSummaryDefinition. -
__init__(**kwargs)¶ Initializes a new MySqlFleetMetricSummaryDefinition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - metric_value (float) – The value to assign to the metric_value property of this MySqlFleetMetricSummaryDefinition.
- dimensions (list[oci.database_management.models.MetricDimensionDefinition]) – The value to assign to the dimensions property of this MySqlFleetMetricSummaryDefinition.
- metric_name (str) – The value to assign to the metric_name property of this MySqlFleetMetricSummaryDefinition.
- unit (str) – The value to assign to the unit property of this MySqlFleetMetricSummaryDefinition.
-
dimensions¶ [Required] Gets the dimensions of this MySqlFleetMetricSummaryDefinition. The unique dimension key and values of the metric.
Returns: The dimensions of this MySqlFleetMetricSummaryDefinition. Return type: list[oci.database_management.models.MetricDimensionDefinition]
-
metric_name¶ [Required] Gets the metric_name of this MySqlFleetMetricSummaryDefinition. The name of the metric.
Returns: The metric_name of this MySqlFleetMetricSummaryDefinition. Return type: str
-
metric_value¶ [Required] Gets the metric_value of this MySqlFleetMetricSummaryDefinition. The aggregated metric value.
Returns: The metric_value of this MySqlFleetMetricSummaryDefinition. Return type: float
-
unit¶ [Required] Gets the unit of this MySqlFleetMetricSummaryDefinition. The unit of the metric value.
Returns: The unit of this MySqlFleetMetricSummaryDefinition. Return type: str
-