Class LifecycleHookActionState

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

public final class LifecycleHookActionState extends com.azure.core.util.ExpandableStringEnum<LifecycleHookActionState>
Approval status of a target resource in a virtual machine scale set lifecycle hook event.
  • Field Details

    • WAITING

      public static final LifecycleHookActionState WAITING
      The lifecycle hook for the target resource is waiting for approval.
    • APPROVED

      public static final LifecycleHookActionState APPROVED
      The lifecycle hook for the target resource is approved.
    • REJECTED

      public static final LifecycleHookActionState REJECTED
      The lifecycle hook for the target resource is rejected.
  • Constructor Details

    • LifecycleHookActionState

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

    • fromString

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

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