Class MySqlDatabaseUsageMetrics
The list of aggregated metrics for 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 MySqlDatabaseUsageMetrics
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the compartment where the Managed MySQL Database resides. |
Remarks
Required
DatabaseName
Declaration
[Required(ErrorMessage = "DatabaseName is required.")]
[JsonProperty(PropertyName = "databaseName")]
public string DatabaseName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The display name of the Managed MySQL Database. |
Remarks
Required
DatabaseStatus
Declaration
[Required(ErrorMessage = "DatabaseStatus is required.")]
[JsonProperty(PropertyName = "databaseStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MySqlDatabaseStatus? DatabaseStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| MySqlDatabaseStatus? | The status of the MySQL Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. |
Remarks
Required
DatabaseType
Declaration
[Required(ErrorMessage = "DatabaseType is required.")]
[JsonProperty(PropertyName = "databaseType")]
public string DatabaseType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Indicates MySQL Database type, ONPREMISE or MySQL Database System. |
Remarks
Required
DatabaseVersion
Declaration
[Required(ErrorMessage = "DatabaseVersion is required.")]
[JsonProperty(PropertyName = "databaseVersion")]
public string DatabaseVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The version of the MySQL Database. |
Remarks
Required
DbId
Declaration
[Required(ErrorMessage = "DbId is required.")]
[JsonProperty(PropertyName = "dbId")]
public string DbId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the Managed MySQL Database. |
Remarks
Required
HeatWaveClusterDisplayName
Declaration
[JsonProperty(PropertyName = "heatWaveClusterDisplayName")]
public string HeatWaveClusterDisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the HeatWave cluster. |
HeatWaveManagementType
Declaration
[JsonProperty(PropertyName = "heatWaveManagementType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ManagedMySqlDatabase.HeatWaveManagementTypeEnum? HeatWaveManagementType { get; set; }
Property Value
| Type | Description |
|---|---|
| ManagedMySqlDatabase.HeatWaveManagementTypeEnum? | The selected management type for a HeatWave MySQL DB system. |
HeatWaveNodeCount
Declaration
[JsonProperty(PropertyName = "heatWaveNodeCount")]
public int? HeatWaveNodeCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The number of nodes in the HeatWave cluster. |
IsHeatWaveEnabled
Declaration
[JsonProperty(PropertyName = "isHeatWaveEnabled")]
public bool? IsHeatWaveEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Indicates whether HeatWave is enabled for the MySQL Database System or not. |
MdsDeploymentType
Declaration
[Required(ErrorMessage = "MdsDeploymentType is required.")]
[JsonProperty(PropertyName = "mdsDeploymentType")]
public string MdsDeploymentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The type of MySQL Database System. |
Remarks
Required
MdslifecycleState
Declaration
[Required(ErrorMessage = "MdslifecycleState is required.")]
[JsonProperty(PropertyName = "mdslifecycleState")]
public string MdslifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The lifecycle state of the MySQL Database System. |
Remarks
Required
Metrics
Declaration
[Required(ErrorMessage = "Metrics is required.")]
[JsonProperty(PropertyName = "metrics")]
public List<MySqlFleetMetricDefinition> Metrics { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MySqlFleetMetricDefinition> | A list of the database health metrics like CPU, Storage, and Memory. |
Remarks
Required