Class LinuxPatchSettings

java.lang.Object
com.microsoft.azure.management.compute.LinuxPatchSettings

public class LinuxPatchSettings extends Object
Specifies settings related to VM Guest Patching on Linux.
  • Constructor Details

    • LinuxPatchSettings

      public LinuxPatchSettings()
  • Method Details

    • patchMode

      public LinuxVMGuestPatchMode patchMode()
      Get specifies the mode of VM Guest Patching to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true. Possible values include: 'ImageDefault', 'AutomaticByPlatform'.
      Returns:
      the patchMode value
    • withPatchMode

      public LinuxPatchSettings withPatchMode(LinuxVMGuestPatchMode patchMode)
      Set specifies the mode of VM Guest Patching to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true. Possible values include: 'ImageDefault', 'AutomaticByPlatform'.
      Parameters:
      patchMode - the patchMode value to set
      Returns:
      the LinuxPatchSettings object itself.