Dela via


WindowsParameters Class

Definition

Input for InstallPatches on a Windows VM, as directly received by the API.

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

Constructors

WindowsParameters()

Initializes a new instance of WindowsParameters.

Properties

ClassificationsToInclude

The update classifications to select when installing patches for Windows.

ExcludeKbsRequiringReboot

Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.

KbNumbersToExclude

Kbs to exclude in the patch operation.

KbNumbersToInclude

Kbs to include in the patch operation.

MaxPatchPublishOn

This is used to install patches that were published on or before this given max published date.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WindowsParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WindowsParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WindowsParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WindowsParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WindowsParameters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to