Freigeben über


WindowsParameters Class

Definition

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

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

Constructors

WindowsParameters()

Creates an new WindowsParameters instance.

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

MaxPatchPublishDate

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WindowsParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WindowsParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WindowsParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to