Share via


AutoPatchingSettings Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AutoPatchingSettingsTypeConverter))]
public class AutoPatchingSettings : Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAutoPatchingSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AutoPatchingSettingsTypeConverter))>]
type AutoPatchingSettings = class
    interface IAutoPatchingSettings
    interface IJsonSerializable
Public Class AutoPatchingSettings
Implements IAutoPatchingSettings
Inheritance
AutoPatchingSettings
Attributes
Implements

Constructors

AutoPatchingSettings()

Creates an new AutoPatchingSettings instance.

Properties

DayOfWeek

Day of week to apply the patch on.

Enable

Enable or disable autopatching on SQL virtual machine.

MaintenanceWindowDuration

Duration of patching.

MaintenanceWindowStartingHour

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutoPatchingSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutoPatchingSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAutoPatchingSettings.

FromJsonString(String)

Creates a new instance of AutoPatchingSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutoPatchingSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to