Class MaintenanceWindow
The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
Inherited Members
Namespace: Oci.DataccService.Models
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class MaintenanceWindow
Properties
CustomActionTimeoutInMins
Declaration
[JsonProperty(PropertyName = "customActionTimeoutInMins")]
public int? CustomActionTimeoutInMins { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Determines the amount of time the system will wait before the start of each Database Infrastructure server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive). |
DaysOfWeek
Declaration
[JsonProperty(PropertyName = "daysOfWeek", ItemConverterType = typeof(ResponseEnumConverter))]
public List<MaintenanceWindow.DaysOfWeekEnum> DaysOfWeek { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MaintenanceWindow.DaysOfWeekEnum> | Days during the week when maintenance should be performed. |
HoursOfDay
Declaration
[JsonProperty(PropertyName = "hoursOfDay")]
public List<int> HoursOfDay { get; set; }
Property Value
| Type | Description |
|---|---|
| List<int> | The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are - 0 - represents time slot 0:00 - 3:59 UTC - 4 - represents time slot 4:00 - 7:59 UTC - 8 - represents time slot 8:00 - 11:59 UTC - 12 - represents time slot 12:00 - 15:59 UTC - 16 - represents time slot 16:00 - 19:59 UTC - 20 - represents time slot 20:00 - 23:59 UTC |
IsCustomActionTimeoutEnabled
Declaration
[JsonProperty(PropertyName = "isCustomActionTimeoutEnabled")]
public bool? IsCustomActionTimeoutEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | If true, enables the configuration of a custom action timeout (waiting period) between Database Infrastructure server patching operations. |
IsMonthlyPatchingEnabled
Declaration
[JsonProperty(PropertyName = "isMonthlyPatchingEnabled")]
public bool? IsMonthlyPatchingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | If true, enables the monthly patching option. |
LeadTimeInWeeks
Declaration
[JsonProperty(PropertyName = "leadTimeInWeeks")]
public int? LeadTimeInWeeks { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4. |
Months
Declaration
[JsonProperty(PropertyName = "months", ItemConverterType = typeof(ResponseEnumConverter))]
public List<MaintenanceWindow.MonthsEnum> Months { get; set; }
Property Value
| Type | Description |
|---|---|
| List<MaintenanceWindow.MonthsEnum> | Months during the year when maintenance should be performed. |
PatchingMode
Declaration
[JsonProperty(PropertyName = "patchingMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BasePatchingMode? PatchingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| BasePatchingMode? | Cloud Database Infrastructure node patching method. IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Database Infrastructure Maintenance Updates for more information. |
Preference
Declaration
[JsonProperty(PropertyName = "preference")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenancePreference? Preference { get; set; }
Property Value
| Type | Description |
|---|---|
| MaintenancePreference? | The maintenance window scheduling preference. |
WeeksOfMonth
Declaration
[JsonProperty(PropertyName = "weeksOfMonth")]
public List<int> WeeksOfMonth { get; set; }
Property Value
| Type | Description |
|---|---|
| List<int> | Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week.For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. |