다음을 통해 공유


PatchSettings 클래스

Windows의 VM 게스트 패치와 관련된 설정을 지정합니다.

상속
azure.mgmt.compute._serialization.Model
PatchSettings

생성자

PatchSettings(*, patch_mode: str | _models.WindowsVMGuestPatchMode | None = None, enable_hotpatching: bool | None = None, assessment_mode: str | _models.WindowsPatchAssessmentMode | None = None, **kwargs: Any)

키워드 전용 매개 변수

Name Description
patch_mode

OrchestrationMode를 유연한 것으로 사용하여 가상 머신 확장 집합에 연결된 IaaS 가상 머신 또는 가상 머신에 대한 VM 게스트 패치 모드를 지정합니다.:code:
<br />가능한 값은 수동<br />``<br /> - 가상 머신에 대한 패치 적용을 제어합니다. VM 내에서 수동으로 패치를 적용하여 이 작업을 수행합니다. 이 모드에서는 자동 업데이트를 사용할 수 없습니다. 속성 WindowsConfiguration.enableAutomaticUpdates는 false:code여야 합니다.
<br />AutomaticByOS - 가상 머신이 OS에 의해 자동으로 업데이트됩니다. 속성 WindowsConfiguration.enableAutomaticUpdates는 true여야 합니다. <br />``<br />AutomaticByPlatform - 가상 머신이 플랫폼에서 자동으로 업데이트됩니다. provisionVMAgent 및 WindowsConfiguration.enableAutomaticUpdates 속성은 true여야 합니다. 알려진 값은 "Manual", "AutomaticByOS" 및 "AutomaticByPlatform"입니다.

enable_hotpatching

고객이 다시 부팅하지 않고도 Azure VM을 패치할 수 있습니다. enableHotpatching의 경우 'provisionVMAgent'를 true로 설정하고 'patchMode'를 'AutomaticByPlatform'으로 설정해야 합니다.

assessment_mode

IaaS 가상 머신에 대한 VM 게스트 패치 평가 모드를 지정합니다.:code:
<br /> 가능한 값은 다음과 같습니다.<br />``<br />ImageDefault - 가상 머신에서 패치 평가의 타이밍을 제어합니다.:code:
<br />AutomaticByPlatform - 플랫폼은 주기적인 패치 평가를 트리거합니다. provisionVMAgent 속성은 true여야 합니다. 알려진 값은 "ImageDefault" 및 "AutomaticByPlatform"입니다.

변수

Name Description
patch_mode

OrchestrationMode를 유연한 것으로 사용하여 가상 머신 확장 집합에 연결된 IaaS 가상 머신 또는 가상 머신에 대한 VM 게스트 패치 모드를 지정합니다.:code:
<br />가능한 값은 수동<br />``<br /> - 가상 머신에 대한 패치 적용을 제어합니다. VM 내에서 수동으로 패치를 적용하여 이 작업을 수행합니다. 이 모드에서는 자동 업데이트를 사용할 수 없습니다. 속성 WindowsConfiguration.enableAutomaticUpdates는 false:code여야 합니다.
<br />AutomaticByOS - 가상 머신이 OS에 의해 자동으로 업데이트됩니다. 속성 WindowsConfiguration.enableAutomaticUpdates는 true여야 합니다. <br />``<br />AutomaticByPlatform - 가상 머신이 플랫폼에서 자동으로 업데이트됩니다. provisionVMAgent 및 WindowsConfiguration.enableAutomaticUpdates 속성은 true여야 합니다. 알려진 값은 "Manual", "AutomaticByOS" 및 "AutomaticByPlatform"입니다.

enable_hotpatching

고객이 다시 부팅하지 않고도 Azure VM을 패치할 수 있습니다. enableHotpatching의 경우 'provisionVMAgent'를 true로 설정하고 'patchMode'를 'AutomaticByPlatform'으로 설정해야 합니다.

assessment_mode

IaaS 가상 머신에 대한 VM 게스트 패치 평가 모드를 지정합니다.:code:
<br /> 가능한 값은 다음과 같습니다.<br />``<br />ImageDefault - 가상 머신에서 패치 평가의 타이밍을 제어합니다.:code:
<br />AutomaticByPlatform - 플랫폼은 주기적인 패치 평가를 트리거합니다. provisionVMAgent 속성은 true여야 합니다. 알려진 값은 "ImageDefault" 및 "AutomaticByPlatform"입니다.