Udostępnij za pośrednictwem


VirtualMachineAssessPatchesResult Class

Definition

Describes the properties of an AssessPatches result.

public class VirtualMachineAssessPatchesResult
type VirtualMachineAssessPatchesResult = class
Public Class VirtualMachineAssessPatchesResult
Inheritance
VirtualMachineAssessPatchesResult

Constructors

VirtualMachineAssessPatchesResult()

Initializes a new instance of the VirtualMachineAssessPatchesResult class.

VirtualMachineAssessPatchesResult(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTime>, IList<VirtualMachineSoftwarePatchProperties>, ApiError)

Initializes a new instance of the VirtualMachineAssessPatchesResult class.

Properties

AssessmentActivityId

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

AvailablePatches

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

CriticalAndSecurityPatchCount

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

Error

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

OtherPatchCount

Gets the number of all available patches excluding critical and security.

RebootPending

Gets 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.

StartDateTime

Gets the UTC timestamp when the operation began.

Status

Gets 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.". Possible values include: 'Unknown', 'InProgress', 'Failed', 'Succeeded', 'CompletedWithWarnings'

Applies to