你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MaintenanceWindow Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
MaintenanceWindow resource properties Serialized Name: MaintenanceWindow
public class MaintenanceWindow : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.OracleDatabase.Models.MaintenanceWindow>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.OracleDatabase.Models.MaintenanceWindow>
type MaintenanceWindow = class
interface IJsonModel<MaintenanceWindow>
interface IPersistableModel<MaintenanceWindow>
Public Class MaintenanceWindow
Implements IJsonModel(Of MaintenanceWindow), IPersistableModel(Of MaintenanceWindow)
- Inheritance
-
MaintenanceWindow
- Implements
Constructors
MaintenanceWindow() |
Initializes a new instance of MaintenanceWindow. |
Properties
CustomActionTimeoutInMins |
Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive). Serialized Name: MaintenanceWindow.customActionTimeoutInMins |
DaysOfWeek |
Days during the week when maintenance should be performed. Serialized Name: MaintenanceWindow.daysOfWeek |
HoursOfDay |
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 Serialized Name: MaintenanceWindow.hoursOfDay |
IsCustomActionTimeoutEnabled |
If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations. Serialized Name: MaintenanceWindow.isCustomActionTimeoutEnabled |
IsMonthlyPatchingEnabled |
is Monthly Patching Enabled Serialized Name: MaintenanceWindow.isMonthlyPatchingEnabled |
LeadTimeInWeeks |
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. Serialized Name: MaintenanceWindow.leadTimeInWeeks |
Months |
Months during the year when maintenance should be performed. Serialized Name: MaintenanceWindow.months |
PatchingMode |
Cloud Exadata infrastructure node patching method. Serialized Name: MaintenanceWindow.patchingMode |
Preference |
The maintenance window scheduling preference. Serialized Name: MaintenanceWindow.preference |
WeeksOfMonth |
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. Serialized Name: MaintenanceWindow.weeksOfMonth |
Explicit Interface Implementations
IJsonModel<MaintenanceWindow>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MaintenanceWindow>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MaintenanceWindow>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MaintenanceWindow>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MaintenanceWindow>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |