Class LifecycleHookAction

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

public final class LifecycleHookAction extends com.azure.core.util.ExpandableStringEnum<LifecycleHookAction>
The action that will be applied to a target resource in the virtual machine scale set lifecycle hook event if the platform does not receive a response from the customer for the target resource before waitUntil.
  • Field Details

    • APPROVE

      public static final LifecycleHookAction APPROVE
      The lifecycle hook of a target resource in a lifecycle hook event will be approved.
    • REJECT

      public static final LifecycleHookAction REJECT
      The lifecycle hook of a target resource in a lifecycle hook event will be rejected.
  • Constructor Details

    • LifecycleHookAction

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

    • fromString

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

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