Share via


MachineInstallPatchesResult Class

Definition

The result summary of an installation operation.

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

Constructors

MachineInstallPatchesResult()

Creates an new MachineInstallPatchesResult instance.

Properties

ErrorDetailAdditionalInfo

The error additional info.

ErrorDetailCode

The error code.

ErrorDetailDetails

The error details.

ErrorDetailMessage

The error message.

ErrorDetailTarget

The error target.

ExcludedPatchCount

The number of patches that were not installed due to the user blocking their installation.

FailedPatchCount

The number of patches that could not be installed due to some issue. See errors for details.

InstallationActivityId

The activity ID of the operation that produced this result.

InstalledPatchCount

The number of patches successfully installed.

LastModifiedDateTime

The UTC timestamp when the operation finished.

MaintenanceWindowExceeded

Whether the operation ran out of time before it completed all its intended actions.

NotSelectedPatchCount

The number of patches that were detected as available for install, but did not meet the operation's criteria.

OSType

The operating system type of the machine.

PatchServiceUsed

Specifies the patch service used for the operation.

PendingPatchCount

The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.

RebootStatus

The reboot state of the VM following completion of the operation.

StartDateTime

The UTC timestamp when the operation began.

StartedBy

Indicates if operation was triggered by user or by platform.

Status

The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings."

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MachineInstallPatchesResult.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineInstallPatchesResult.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineInstallPatchesResult into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to