VirtualMachineInstallPatchesResult Class
The result summary of an installation operation.
Constructor
VirtualMachineInstallPatchesResult(*args: Any, **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
|
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
|
The number of patches that were not installed due to the user blocking their installation. |
|
not_selected_patch_count
|
The number of patches that were detected as available for install, but did not meet the operation's criteria. |
|
pending_patch_count
|
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
|
The number of patches successfully installed. |
|
failed_patch_count
|
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. |
Attributes
error
The errors that were encountered during execution of the operation. The details array contains the list of them.
error: _models.ApiError | None
excluded_patch_count
The number of patches that were not installed due to the user blocking their installation.
excluded_patch_count: int | None
failed_patch_count
The number of patches that could not be installed due to some issue. See errors for details.
failed_patch_count: int | None
installation_activity_id
The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
installation_activity_id: str | None
installed_patch_count
The number of patches successfully installed.
installed_patch_count: int | None
maintenance_window_exceeded
Whether the operation ran out of time before it completed all its intended actions.
maintenance_window_exceeded: bool | None
not_selected_patch_count
The number of patches that were detected as available for install, but did not meet the operation's criteria.
not_selected_patch_count: int | None
patches
The patches that were installed during the operation.
patches: list['_models.PatchInstallationDetail'] | None
pending_patch_count
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.
pending_patch_count: int | None
reboot_status
The reboot state of the VM following completion of the operation. Known values are: "Unknown", "NotNeeded", "Required", "Started", "Failed", and "Completed".
reboot_status: str | _models.VMGuestPatchRebootStatus | None
start_date_time
The UTC timestamp when the operation began.
start_date_time: datetime | None
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".
status: str | _models.PatchOperationStatus | None