Class LinuxVMGuestPatchMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<LinuxVMGuestPatchMode>
com.azure.resourcemanager.compute.models.LinuxVMGuestPatchMode
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class LinuxVMGuestPatchMode extends com.azure.core.util.ExpandableStringEnum<LinuxVMGuestPatchMode>
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 /> **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.
  • Field Details

    • IMAGE_DEFAULT

      public static final LinuxVMGuestPatchMode IMAGE_DEFAULT
      Static value ImageDefault for LinuxVMGuestPatchMode.
    • AUTOMATIC_BY_PLATFORM

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

    • LinuxVMGuestPatchMode

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

    • fromString

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

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