共用方式為


MachineInstallPatchesResult 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.hybridcompute._serialization.Model
MachineInstallPatchesResult

Constructor

MachineInstallPatchesResult(**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.

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.

start_date_time

The UTC timestamp when the operation began.

last_modified_date_time

The UTC timestamp when the operation finished.

started_by

Indicates if operation was triggered by user or by platform. Known values are: "User" and "Platform".

patch_service_used

Specifies the patch service used for the operation. Known values are: "Unknown", "WU", "WU_WSUS", "YUM", "APT", and "Zypper".

os_type
str or OsType

The operating system type of the machine. Known values are: "Windows" and "Linux".

error_details

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