Share via


VirtualMachineInstallPatchesResult Class

Definition

The result summary of an installation operation.

public class VirtualMachineInstallPatchesResult
type VirtualMachineInstallPatchesResult = class
Public Class VirtualMachineInstallPatchesResult
Inheritance
VirtualMachineInstallPatchesResult

Constructors

VirtualMachineInstallPatchesResult()

Initializes a new instance of the VirtualMachineInstallPatchesResult class.

VirtualMachineInstallPatchesResult(String, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IList<PatchInstallationDetail>, Nullable<DateTime>, ApiError)

Initializes a new instance of the VirtualMachineInstallPatchesResult class.

Properties

Error

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

ExcludedPatchCount

Gets the number of patches that were not installed due to the user blocking their installation.

FailedPatchCount

Gets the number of patches that could not be installed due to some issue. See errors for details.

InstallationActivityId

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

InstalledPatchCount

Gets the number of patches successfully installed.

MaintenanceWindowExceeded

Gets whether the operation ran out of time before it completed all its intended actions.

NotSelectedPatchCount

Gets the number of patches that were detected as available for install, but did not meet the operation's criteria.

Patches

Gets the patches that were installed during the operation.

PendingPatchCount

Gets the number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.

RebootStatus

Gets the reboot state of the VM following completion of the operation. Possible values include: 'Unknown', 'NotNeeded', 'Required', 'Started', 'Failed', 'Completed'

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

Applies to