Class MySqlFleetMetricDefinition
The list of aggregated metrics for the Managed MySQL Databases in the fleet. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class MySqlFleetMetricDefinition
Properties
Dimensions
Declaration
[Required(ErrorMessage = "Dimensions is required.")]
[JsonProperty(PropertyName = "dimensions")]
public List<MetricDimensionDefinition> Dimensions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MetricDimensionDefinition> | The dimensions of the metric. |
Remarks
Required
MetricName
Declaration
[Required(ErrorMessage = "MetricName is required.")]
[JsonProperty(PropertyName = "metricName")]
public string MetricName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the metric. |
Remarks
Required
MetricValue
Declaration
[Required(ErrorMessage = "MetricValue is required.")]
[JsonProperty(PropertyName = "metricValue")]
public int? MetricValue { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The value of the metric. |
Remarks
Required
MetricValueDouble
Declaration
[JsonProperty(PropertyName = "metricValueDouble")]
public double MetricValueDouble { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The value of the metric. |
Timestamp
Declaration
[Required(ErrorMessage = "Timestamp is required.")]
[JsonProperty(PropertyName = "timestamp")]
public DateTime? Timestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The data point date and time in UTC in ISO-8601 format. |
Remarks
Required
Unit
Declaration
[Required(ErrorMessage = "Unit is required.")]
[JsonProperty(PropertyName = "unit")]
public string Unit { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The unit of the metric value. |
Remarks
Required