Condividi tramite


LinuxPatchSettings Class

Definition

Specifies settings related to VM Guest Patching on Linux.

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

Constructors

LinuxPatchSettings()

Initializes a new instance of LinuxPatchSettings.

Properties

AssessmentMode

Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> ImageDefault - You control the timing of patch assessments on a virtual machine. <br /><br /> AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.

AutomaticByPlatformSettings

Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.

PatchMode

Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> ImageDefault - The virtual machine's default patching configuration is used. <br /><br /> AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LinuxPatchSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LinuxPatchSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LinuxPatchSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LinuxPatchSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LinuxPatchSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to