Dela via


AutoPatchingSettings Constructors

Definition

Overloads

AutoPatchingSettings()

Initializes a new instance of the AutoPatchingSettings class.

AutoPatchingSettings(Nullable<Boolean>, Nullable<DayOfWeek>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the AutoPatchingSettings class.

AutoPatchingSettings()

Initializes a new instance of the AutoPatchingSettings class.

public AutoPatchingSettings ();
Public Sub New ()

Applies to

AutoPatchingSettings(Nullable<Boolean>, Nullable<DayOfWeek>, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the AutoPatchingSettings class.

public AutoPatchingSettings (bool? enable = default, Microsoft.Azure.Management.SqlVirtualMachine.Models.DayOfWeek? dayOfWeek = default, int? maintenanceWindowStartingHour = default, int? maintenanceWindowDuration = default);
new Microsoft.Azure.Management.SqlVirtualMachine.Models.AutoPatchingSettings : Nullable<bool> * Nullable<Microsoft.Azure.Management.SqlVirtualMachine.Models.DayOfWeek> * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.SqlVirtualMachine.Models.AutoPatchingSettings
Public Sub New (Optional enable As Nullable(Of Boolean) = Nothing, Optional dayOfWeek As Nullable(Of DayOfWeek) = Nothing, Optional maintenanceWindowStartingHour As Nullable(Of Integer) = Nothing, Optional maintenanceWindowDuration As Nullable(Of Integer) = Nothing)

Parameters

enable
Nullable<Boolean>

Enable or disable autopatching on SQL virtual machine.

dayOfWeek
Nullable<DayOfWeek>

Day of week to apply the patch on. Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'

maintenanceWindowStartingHour
Nullable<Int32>

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

maintenanceWindowDuration
Nullable<Int32>

Duration of patching.

Applies to