Class VMScaleSetLifecycleHookEventState

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

public final class VMScaleSetLifecycleHookEventState extends com.azure.core.util.ExpandableStringEnum<VMScaleSetLifecycleHookEventState>
The states that a virtual machine scale set lifecycle hook event can be in. This is not settable by the customer. It is set only by the platform.
  • Field Details

    • ACTIVE

      public static final VMScaleSetLifecycleHookEventState ACTIVE
      The lifecycle hook event is active. E.g., waiting on a response from the customer.
    • COMPLETED

      public static final VMScaleSetLifecycleHookEventState COMPLETED
      The lifecycle hook event is completed. i.e., all the target resources in the event have moved to a terminal state.
  • Constructor Details

    • VMScaleSetLifecycleHookEventState

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

    • fromString

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

      Gets known VMScaleSetLifecycleHookEventState values.
      Returns:
      known VMScaleSetLifecycleHookEventState values.