你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PatchSettings Class
Specifies settings related to VM Guest Patching on Windows.
- Inheritance
-
azure.mgmt.compute._serialization.ModelPatchSettings
Constructor
PatchSettings(*, patch_mode: str | _models.WindowsVMGuestPatchMode | None = None, enable_hotpatching: bool | None = None, assessment_mode: str | _models.WindowsPatchAssessmentMode | None = None, automatic_by_platform_settings: _models.WindowsVMGuestPatchAutomaticByPlatformSettings | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
patch_mode
|
Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual
machines associated to virtual machine scale set with OrchestrationMode as Flexible. |
enable_hotpatching
|
Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. |
assessment_mode
|
Specifies the mode of VM Guest patch assessment for the IaaS virtual
machine. |
automatic_by_platform_settings
|
Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows. |
Variables
Name | Description |
---|---|
patch_mode
|
Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual
machines associated to virtual machine scale set with OrchestrationMode as Flexible. |
enable_hotpatching
|
Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. |
assessment_mode
|
Specifies the mode of VM Guest patch assessment for the IaaS virtual
machine. |
automatic_by_platform_settings
|
Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows. |