Class MaintenanceEvent
The details of a maintenance event.
Inherited Members
Namespace: Oci.MysqlService.Models
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class MaintenanceEvent
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 the maintenance event belongs to. |
Remarks
Required
DbSystemId
Declaration
[Required(ErrorMessage = "DbSystemId is required.")]
[JsonProperty(PropertyName = "dbSystemId")]
public string DbSystemId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the DB System this maintenance event is associated with. |
Remarks
Required
MaintenanceAction
Declaration
[Required(ErrorMessage = "MaintenanceAction is required.")]
[JsonProperty(PropertyName = "maintenanceAction")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceAction? MaintenanceAction { get; set; }
Property Value
| Type | Description |
|---|---|
| MaintenanceAction? | The nature of the maintenance event.
|
Remarks
Required
MaintenanceNotes
Declaration
[JsonProperty(PropertyName = "maintenanceNotes")]
public string MaintenanceNotes { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Information regarding what was performed during that maintenance. |
MaintenanceScope
Declaration
[JsonProperty(PropertyName = "maintenanceScope")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceScope? MaintenanceScope { get; set; }
Property Value
| Type | Description |
|---|---|
| MaintenanceScope? | The MySQL instances operated during a maintenance event.
|
MaintenanceStatus
Declaration
[Required(ErrorMessage = "MaintenanceStatus is required.")]
[JsonProperty(PropertyName = "maintenanceStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceEvent.MaintenanceStatusEnum? MaintenanceStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| MaintenanceEvent.MaintenanceStatusEnum? | The last status of the maintenance event. |
Remarks
Required
MaintenanceType
Declaration
[Required(ErrorMessage = "MaintenanceType is required.")]
[JsonProperty(PropertyName = "maintenanceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceType? MaintenanceType { get; set; }
Property Value
| Type | Description |
|---|---|
| MaintenanceType? | How the maintenance event was triggered.
|
Remarks
Required
MysqlVersionAfterMaintenance
Declaration
[Required(ErrorMessage = "MysqlVersionAfterMaintenance is required.")]
[JsonProperty(PropertyName = "mysqlVersionAfterMaintenance")]
public string MysqlVersionAfterMaintenance { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The MySQL version after the maintenance. |
Remarks
Required
MysqlVersionBeforeMaintenance
Declaration
[Required(ErrorMessage = "MysqlVersionBeforeMaintenance is required.")]
[JsonProperty(PropertyName = "mysqlVersionBeforeMaintenance")]
public string MysqlVersionBeforeMaintenance { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The MySQL version prior to the maintenance. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the record was created, as described by RFC 3339. |
Remarks
Required
TimeEnded
Declaration
[JsonProperty(PropertyName = "timeEnded")]
public DateTime? TimeEnded { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the maintenance event ended, as described by RFC 3339. |
TimeMysqlSwitchOverEnded
Declaration
[JsonProperty(PropertyName = "timeMysqlSwitchOverEnded")]
public DateTime? TimeMysqlSwitchOverEnded { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the DB System came back online during the maintenance, as described by RFC 3339. |
TimeMysqlSwitchOverStarted
Declaration
[JsonProperty(PropertyName = "timeMysqlSwitchOverStarted")]
public DateTime? TimeMysqlSwitchOverStarted { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the DB System was initially down during the maintenance, as described by RFC 3339. |
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The date and time the maintenance event started, as described by RFC 3339. |