Share via


PatchSettings Class

Definition

Specifies the patch settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PatchSettingsTypeConverter))]
public class PatchSettings : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPatchSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.PatchSettingsTypeConverter))>]
type PatchSettings = class
    interface IPatchSettings
    interface IJsonSerializable
Public Class PatchSettings
Implements IPatchSettings
Inheritance
PatchSettings
Attributes
Implements

Constructors

PatchSettings()

Creates an new PatchSettings instance.

Properties

AdditionalInfo

The error additional info.

AssessmentMode

Specifies the assessment mode.

Code

The error code.

Detail

The error details.

EnableHotpatching

Captures the hotpatch capability enrollment intent of the customers, which enables customers to patch their Windows machines without requiring a reboot.

Message

The error message.

PatchMode

Specifies the patch mode.

StatusHotpatchEnablementStatus

Indicates the current status of the hotpatch being enabled or disabled.

Target

The error target.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PatchSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PatchSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IPatchSettings.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PatchSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to