Class WindowsVMGuestPatchMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<WindowsVMGuestPatchMode>
com.azure.resourcemanager.compute.models.WindowsVMGuestPatchMode

public final class WindowsVMGuestPatchMode extends com.azure.core.util.ExpandableStringEnum<WindowsVMGuestPatchMode>
Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true.
  • Field Details

    • MANUAL

      public static final WindowsVMGuestPatchMode MANUAL
      Static value Manual for WindowsVMGuestPatchMode.
    • AUTOMATIC_BY_OS

      public static final WindowsVMGuestPatchMode AUTOMATIC_BY_OS
      Static value AutomaticByOS for WindowsVMGuestPatchMode.
    • AUTOMATIC_BY_PLATFORM

      public static final WindowsVMGuestPatchMode AUTOMATIC_BY_PLATFORM
      Static value AutomaticByPlatform for WindowsVMGuestPatchMode.
  • Constructor Details

    • WindowsVMGuestPatchMode

      @Deprecated public WindowsVMGuestPatchMode()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of WindowsVMGuestPatchMode value.
  • Method Details

    • fromString

      public static WindowsVMGuestPatchMode fromString(String name)
      Creates or finds a WindowsVMGuestPatchMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding WindowsVMGuestPatchMode.
    • values

      public static Collection<WindowsVMGuestPatchMode> values()
      Gets known WindowsVMGuestPatchMode values.
      Returns:
      known WindowsVMGuestPatchMode values.