Share via


VirtualMachineInstallPatchesResult Class

Definition

The result summary of an installation operation.

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

Properties

Error

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. It is used to correlate across CRP and extension logs.

InstalledPatchCount

The number of patches successfully installed.

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.

Patches

The patches that were installed during 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.

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<VirtualMachineInstallPatchesResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineInstallPatchesResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineInstallPatchesResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineInstallPatchesResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineInstallPatchesResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to