Package version:

Interface VirtualMachineAssessPatchesResult

Describes the properties of an AssessPatches result.

interface VirtualMachineAssessPatchesResult {
    assessmentActivityId?: string;
    availablePatches?: VirtualMachineSoftwarePatchProperties[];
    criticalAndSecurityPatchCount?: number;
    error?: ApiError;
    otherPatchCount?: number;
    rebootPending?: boolean;
    startDateTime?: any;
    status?: string;
}

Properties

assessmentActivityId?: string

The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. NOTE: This property will not be serialized. It can only be populated by the server.

The list of patches that have been detected as available for installation. NOTE: This property will not be serialized. It can only be populated by the server.

criticalAndSecurityPatchCount?: number

The number of critical or security patches that have been detected as available and not yet installed. NOTE: This property will not be serialized. It can only be populated by the server.

error?: ApiError

The errors that were encountered during execution of the operation. The details array contains the list of them. NOTE: This property will not be serialized. It can only be populated by the server.

otherPatchCount?: number

The number of all available patches excluding critical and security. NOTE: This property will not be serialized. It can only be populated by the server.

rebootPending?: boolean

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. NOTE: This property will not be serialized. It can only be populated by the server.

startDateTime?: any

The UTC timestamp when the operation began. NOTE: This property will not be serialized. It can only be populated by the server.

status?: string

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." NOTE: This property will not be serialized. It can only be populated by the server.