MySqlFleetMetricDefinition

class oci.database_management.models.MySqlFleetMetricDefinition(**kwargs)

Bases: object

The list of aggregated metrics for the Managed MySQL Databases in the fleet.

Methods

__init__(**kwargs) Initializes a new MySqlFleetMetricDefinition object with values from keyword arguments.

Attributes

dimensions [Required] Gets the dimensions of this MySqlFleetMetricDefinition.
metric_name [Required] Gets the metric_name of this MySqlFleetMetricDefinition.
metric_value [Required] Gets the metric_value of this MySqlFleetMetricDefinition.
metric_value_double Gets the metric_value_double of this MySqlFleetMetricDefinition.
timestamp [Required] Gets the timestamp of this MySqlFleetMetricDefinition.
unit [Required] Gets the unit of this MySqlFleetMetricDefinition.
__init__(**kwargs)

Initializes a new MySqlFleetMetricDefinition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • metric_value (int) – The value to assign to the metric_value property of this MySqlFleetMetricDefinition.
  • metric_value_double (float) – The value to assign to the metric_value_double property of this MySqlFleetMetricDefinition.
  • metric_name (str) – The value to assign to the metric_name property of this MySqlFleetMetricDefinition.
  • timestamp (datetime) – The value to assign to the timestamp property of this MySqlFleetMetricDefinition.
  • dimensions (list[oci.database_management.models.MetricDimensionDefinition]) – The value to assign to the dimensions property of this MySqlFleetMetricDefinition.
  • unit (str) – The value to assign to the unit property of this MySqlFleetMetricDefinition.
dimensions

[Required] Gets the dimensions of this MySqlFleetMetricDefinition. The dimensions of the metric.

Returns:The dimensions of this MySqlFleetMetricDefinition.
Return type:list[oci.database_management.models.MetricDimensionDefinition]
metric_name

[Required] Gets the metric_name of this MySqlFleetMetricDefinition. The name of the metric.

Returns:The metric_name of this MySqlFleetMetricDefinition.
Return type:str
metric_value

[Required] Gets the metric_value of this MySqlFleetMetricDefinition. The value of the metric.

Returns:The metric_value of this MySqlFleetMetricDefinition.
Return type:int
metric_value_double

Gets the metric_value_double of this MySqlFleetMetricDefinition. The value of the metric.

Returns:The metric_value_double of this MySqlFleetMetricDefinition.
Return type:float
timestamp

[Required] Gets the timestamp of this MySqlFleetMetricDefinition. The data point date and time in UTC in ISO-8601 format.

Returns:The timestamp of this MySqlFleetMetricDefinition.
Return type:datetime
unit

[Required] Gets the unit of this MySqlFleetMetricDefinition. The unit of the metric value.

Returns:The unit of this MySqlFleetMetricDefinition.
Return type:str