Freigeben über


MachineAssessPatchesResult Class

Definition

Describes the properties of an AssessPatches result.

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

Properties

AssessmentActivityId

The activity ID of the operation that produced this result.

AvailablePatchCountByClassification

Summarization of patches available for installation on the machine by classification.

ErrorDetails

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

IsRebootPending

The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.

LastModifiedOn

The UTC timestamp when the operation finished.

OSType

The operating system type of the machine.

PatchServiceUsed

Specifies the patch service used for 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 "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.".

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MachineAssessPatchesResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineAssessPatchesResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineAssessPatchesResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineAssessPatchesResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineAssessPatchesResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to