Class WindowsVMGuestPatchAutomaticByPlatformSettings
java.lang.Object
com.azure.resourcemanager.compute.models.WindowsVMGuestPatchAutomaticByPlatformSettings
Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch
settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.voidvalidate()Validates the instance.Set the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
-
Constructor Details
-
WindowsVMGuestPatchAutomaticByPlatformSettings
public WindowsVMGuestPatchAutomaticByPlatformSettings()
-
-
Method Details
-
rebootSetting
Get the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.- Returns:
- the rebootSetting value.
-
withRebootSetting
public WindowsVMGuestPatchAutomaticByPlatformSettings withRebootSetting(WindowsVMGuestPatchAutomaticByPlatformRebootSetting rebootSetting) Set the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.- Parameters:
rebootSetting- the rebootSetting value to set.- Returns:
- the WindowsVMGuestPatchAutomaticByPlatformSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-