Condividi tramite


VirtualMachineAssessPatchesResult Class

Definition

Describes the properties of an AssessPatches result.

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

Properties

AssessmentActivityId

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

AvailablePatches

The list of patches that have been detected as available for installation.

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.

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

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

IJsonModel<VirtualMachineAssessPatchesResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineAssessPatchesResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineAssessPatchesResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineAssessPatchesResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to