Bagikan melalui


MachineInstallPatchesParameters Class

Definition

Input for InstallPatches as directly received by the API

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

Constructors

MachineInstallPatchesParameters()

Creates an new MachineInstallPatchesParameters instance.

Properties

LinuxParameterClassificationsToInclude

The update classifications to select when installing patches for Linux.

LinuxParameterPackageNameMasksToExclude

packages to exclude in the patch operation. Format: packageName_packageVersion

LinuxParameterPackageNameMasksToInclude

packages to include in the patch operation. Format: packageName_packageVersion

MaximumDuration

Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)

RebootSetting

Defines when it is acceptable to reboot a VM during a software update operation.

WindowParameterClassificationsToInclude

The update classifications to select when installing patches for Windows.

WindowParameterExcludeKbsRequiringReboot

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

WindowParameterKbNumbersToExclude

Kbs to exclude in the patch operation

WindowParameterKbNumbersToInclude

Kbs to include in the patch operation

WindowParameterMaxPatchPublishDate

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 MachineInstallPatchesParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineInstallPatchesParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineInstallPatchesParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to