Share via


SqlVmAutoPatchingSettings Class

Definition

Set a patching window during which Windows and SQL patches will be applied.

public class SqlVmAutoPatchingSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmAutoPatchingSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmAutoPatchingSettings>
public class SqlVmAutoPatchingSettings
type SqlVmAutoPatchingSettings = class
    interface IJsonModel<SqlVmAutoPatchingSettings>
    interface IPersistableModel<SqlVmAutoPatchingSettings>
type SqlVmAutoPatchingSettings = class
Public Class SqlVmAutoPatchingSettings
Implements IJsonModel(Of SqlVmAutoPatchingSettings), IPersistableModel(Of SqlVmAutoPatchingSettings)
Public Class SqlVmAutoPatchingSettings
Inheritance
SqlVmAutoPatchingSettings
Implements

Constructors

SqlVmAutoPatchingSettings()

Initializes a new instance of SqlVmAutoPatchingSettings.

Properties

DayOfWeek

Day of week to apply the patch on.

IsEnabled

Enable or disable autopatching on SQL virtual machine.

MaintenanceWindowDurationInMinutes

Duration of patching.

MaintenanceWindowStartingHour

Hour of the day when patching is initiated. Local VM time.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SqlVmAutoPatchingSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SqlVmAutoPatchingSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlVmAutoPatchingSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlVmAutoPatchingSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SqlVmAutoPatchingSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to