你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineInstallPatchesResult 类
安装操作的结果摘要。
变量仅由服务器填充,发送请求时将被忽略。
- 继承
-
azure.mgmt.compute._serialization.ModelVirtualMachineInstallPatchesResult
构造函数
VirtualMachineInstallPatchesResult(**kwargs: Any)
变量
名称 | 说明 |
---|---|
status
|
操作的总体成功或失败状态。 在操作完成之前,它将保持“InProgress”。 此时,它将变为“Failed”、“Succeeded”、“Unknown”或“CompletedWithWarnings”。 已知值为:“Unknown”、“InProgress”、“Failed”、“Succeeded”和“CompletedWithWarnings”。 |
installation_activity_id
|
生成此结果的操作的活动 ID。 它用于跨 CRP 和扩展日志进行关联。 |
reboot_status
|
完成操作后 VM 的重启状态。 已知值为:“Unknown”、“NotNeeded”、“Required”、“Started”、“Failed”和“Completed”。 |
maintenance_window_exceeded
|
操作是否在完成其所有预期操作之前用完了时间。 |
excluded_patch_count
|
由于用户阻止其安装而未安装的修补程序数。 |
not_selected_patch_count
|
检测到可安装但不符合操作条件的修补程序数。 |
pending_patch_count
|
标识为符合安装条件但无法安装的修补程序数。 通常,当 maintenanceWindowExceeded == true 时会发生这种情况。 |
installed_patch_count
|
已成功安装的修补程序数。 |
failed_patch_count
|
由于某些问题而无法安装的修补程序数。 有关详细信息,请参阅错误。 |
patches
|
操作期间安装的修补程序。 |
start_date_time
|
操作开始时的 UTC 时间戳。 |
error
|
执行操作期间遇到的错误。 详细信息数组包含它们的列表。 |