Class VMScaleSetLifecycleHookEventType

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

public final class VMScaleSetLifecycleHookEventType extends com.azure.core.util.ExpandableStringEnum<VMScaleSetLifecycleHookEventType>
Specifies the scenario for which the customer is interested in receiving virtual machine scale set lifecycle hook events.
  • Field Details

    • UPGRADE_AUTO_OSSCHEDULING

      public static final VMScaleSetLifecycleHookEventType UPGRADE_AUTO_OSSCHEDULING
      Lifecycle hook event sent to the customer before an Auto OS Upgrade operation starts on the virtual machine scale set.
    • UPGRADE_AUTO_OSROLLING_BATCH_STARTING

      public static final VMScaleSetLifecycleHookEventType UPGRADE_AUTO_OSROLLING_BATCH_STARTING
      Lifecycle hook event sent to the customer before upgrade starts on a batch of virtual machines belonging to a virtual machine scale set during an Auto OS Upgrade operation.
  • Constructor Details

    • VMScaleSetLifecycleHookEventType

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

    • fromString

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

      Gets known VMScaleSetLifecycleHookEventType values.
      Returns:
      known VMScaleSetLifecycleHookEventType values.