Condividi tramite


MachineInstallPatchesResult Class

Definition

The result summary of an installation operation.

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

Properties

ErrorDetails

The errors that were encountered during execution of the operation. The details array contains the list of them.

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.

LastModifiedOn

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.

StartedBy

Indicates if operation was triggered by user or by platform.

StartOn

The UTC timestamp when the operation began.

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MachineInstallPatchesResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineInstallPatchesResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineInstallPatchesResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineInstallPatchesResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineInstallPatchesResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to