Class LinuxVMGuestPatchAutomaticByPlatformSettings

java.lang.Object
com.azure.resourcemanager.compute.models.LinuxVMGuestPatchAutomaticByPlatformSettings

public final class LinuxVMGuestPatchAutomaticByPlatformSettings extends Object
Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.
  • Constructor Details

    • LinuxVMGuestPatchAutomaticByPlatformSettings

      public LinuxVMGuestPatchAutomaticByPlatformSettings()
      Creates an instance of LinuxVMGuestPatchAutomaticByPlatformSettings class.
  • Method Details

    • rebootSetting

      Get the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
      Returns:
      the rebootSetting value.
    • withRebootSetting

      Set the rebootSetting property: Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
      Parameters:
      rebootSetting - the rebootSetting value to set.
      Returns:
      the LinuxVMGuestPatchAutomaticByPlatformSettings object itself.
    • bypassPlatformSafetyChecksOnUserSchedule

      public Boolean bypassPlatformSafetyChecksOnUserSchedule()
      Get the bypassPlatformSafetyChecksOnUserSchedule property: Enables customer to schedule patching without accidental upgrades.
      Returns:
      the bypassPlatformSafetyChecksOnUserSchedule value.
    • withBypassPlatformSafetyChecksOnUserSchedule

      public LinuxVMGuestPatchAutomaticByPlatformSettings withBypassPlatformSafetyChecksOnUserSchedule(Boolean bypassPlatformSafetyChecksOnUserSchedule)
      Set the bypassPlatformSafetyChecksOnUserSchedule property: Enables customer to schedule patching without accidental upgrades.
      Parameters:
      bypassPlatformSafetyChecksOnUserSchedule - the bypassPlatformSafetyChecksOnUserSchedule value to set.
      Returns:
      the LinuxVMGuestPatchAutomaticByPlatformSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.