Class VMGuestPatchRebootBehavior

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

public final class VMGuestPatchRebootBehavior extends com.azure.core.util.ExpandableStringEnum<VMGuestPatchRebootBehavior>
Describes the reboot requirements of the patch.
  • Field Details

    • UNKNOWN

      public static final VMGuestPatchRebootBehavior UNKNOWN
      Static value Unknown for VMGuestPatchRebootBehavior.
    • NEVER_REBOOTS

      public static final VMGuestPatchRebootBehavior NEVER_REBOOTS
      Static value NeverReboots for VMGuestPatchRebootBehavior.
    • ALWAYS_REQUIRES_REBOOT

      public static final VMGuestPatchRebootBehavior ALWAYS_REQUIRES_REBOOT
      Static value AlwaysRequiresReboot for VMGuestPatchRebootBehavior.
    • CAN_REQUEST_REBOOT

      public static final VMGuestPatchRebootBehavior CAN_REQUEST_REBOOT
      Static value CanRequestReboot for VMGuestPatchRebootBehavior.
  • Constructor Details

    • VMGuestPatchRebootBehavior

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

    • fromString

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

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