VirtualMachineInstallPatchesResult Class

The result summary of an installation operation.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.compute._serialization.Model
VirtualMachineInstallPatchesResult

Constructor

VirtualMachineInstallPatchesResult(**kwargs: Any)

Variables

Name Description
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.". Known values are: "Unknown", "InProgress", "Failed", "Succeeded", and "CompletedWithWarnings".

installation_activity_id
str

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

reboot_status

The reboot state of the VM following completion of the operation. Known values are: "Unknown", "NotNeeded", "Required", "Started", "Failed", and "Completed".

maintenance_window_exceeded

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

excluded_patch_count
int

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

not_selected_patch_count
int

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

pending_patch_count
int

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.

installed_patch_count
int

The number of patches successfully installed.

failed_patch_count
int

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

patches

The patches that were installed during the operation.

start_date_time

The UTC timestamp when the operation began.

error

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