WindowsVMGuestPatchAutomaticByPlatformSettings Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. WindowsVMGuestPatchAutomaticByPlatformSettings
- com.
Implements
public final class WindowsVMGuestPatchAutomaticByPlatformSettings
implements JsonSerializable<WindowsVMGuestPatchAutomaticByPlatformSettings>
Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.
Constructor Summary
Constructor | Description |
---|---|
WindowsVMGuestPatchAutomaticByPlatformSettings() |
Creates an instance of Windows |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
bypassPlatformSafetyChecksOnUserSchedule()
Get the bypass |
static
Windows |
fromJson(JsonReader jsonReader)
Reads an instance of Windows |
Windows |
rebootSetting()
Get the reboot |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Windows |
withBypassPlatformSafetyChecksOnUserSchedule(Boolean bypassPlatformSafetyChecksOnUserSchedule)
Set the bypass |
Windows |
withRebootSetting(WindowsVMGuestPatchAutomaticByPlatformRebootSetting rebootSetting)
Set the reboot |
Methods inherited from java.lang.Object
Constructor Details
WindowsVMGuestPatchAutomaticByPlatformSettings
public WindowsVMGuestPatchAutomaticByPlatformSettings()
Creates an instance of WindowsVMGuestPatchAutomaticByPlatformSettings class.
Method Details
bypassPlatformSafetyChecksOnUserSchedule
public Boolean bypassPlatformSafetyChecksOnUserSchedule()
Get the bypassPlatformSafetyChecksOnUserSchedule property: Enables customer to schedule patching without accidental upgrades.
Returns:
fromJson
public static WindowsVMGuestPatchAutomaticByPlatformSettings fromJson(JsonReader jsonReader)
Reads an instance of WindowsVMGuestPatchAutomaticByPlatformSettings from the JsonReader.
Parameters:
Returns:
Throws:
rebootSetting
public WindowsVMGuestPatchAutomaticByPlatformRebootSetting rebootSetting()
Get the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBypassPlatformSafetyChecksOnUserSchedule
public WindowsVMGuestPatchAutomaticByPlatformSettings withBypassPlatformSafetyChecksOnUserSchedule(Boolean bypassPlatformSafetyChecksOnUserSchedule)
Set the bypassPlatformSafetyChecksOnUserSchedule property: Enables customer to schedule patching without accidental upgrades.
Parameters:
Returns:
withRebootSetting
public WindowsVMGuestPatchAutomaticByPlatformSettings withRebootSetting(WindowsVMGuestPatchAutomaticByPlatformRebootSetting rebootSetting)
Set the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
Parameters:
Returns:
Applies to
Azure SDK for Java