VirtualMachineInstallPatchesResult interface

The result summary of an installation operation.

Properties

error

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

excludedPatchCount

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

failedPatchCount

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

installationActivityId

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

installedPatchCount

The number of patches successfully installed.

maintenanceWindowExceeded

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

notSelectedPatchCount

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

patches

The patches that were installed during the operation.

pendingPatchCount

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

The reboot state of the VM following completion of the operation.

startDateTime

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 "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings."

Property Details

error

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

error?: ApiError

Property Value

excludedPatchCount

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

excludedPatchCount?: number

Property Value

number

failedPatchCount

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

failedPatchCount?: number

Property Value

number

installationActivityId

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

installationActivityId?: string

Property Value

string

installedPatchCount

The number of patches successfully installed.

installedPatchCount?: number

Property Value

number

maintenanceWindowExceeded

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

maintenanceWindowExceeded?: boolean

Property Value

boolean

notSelectedPatchCount

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

notSelectedPatchCount?: number

Property Value

number

patches

The patches that were installed during the operation.

patches?: PatchInstallationDetail[]

Property Value

pendingPatchCount

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.

pendingPatchCount?: number

Property Value

number

rebootStatus

The reboot state of the VM following completion of the operation.

rebootStatus?: string

Property Value

string

startDateTime

The UTC timestamp when the operation began.

startDateTime?: Date

Property Value

Date

status

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

status?: string

Property Value

string