Share via


AvailablePatchSummary Class

Definition

Describes the properties of an virtual machine instance view for available patch summary.

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

Properties

AssessmentActivityId

The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.

CriticalAndSecurityPatchCount

The number of critical or security patches that have been detected as available and not yet installed.

Error

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

LastModifiedOn

The UTC timestamp when the operation began.

OtherPatchCount

The number of all available patches excluding critical and security.

RebootPending

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.

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

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

IJsonModel<AvailablePatchSummary>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AvailablePatchSummary>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AvailablePatchSummary>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AvailablePatchSummary>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to