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 Summary
FieldsModifier and TypeFieldDescriptionstatic final LifecycleHookActionThe lifecycle hook of a target resource in a lifecycle hook event will be approved.static final LifecycleHookActionThe lifecycle hook of a target resource in a lifecycle hook event will be rejected. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LifecycleHookActionfromString(String name) Creates or finds a LifecycleHookAction from its string representation.static Collection<LifecycleHookAction> values()Gets known LifecycleHookAction values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
APPROVE
The lifecycle hook of a target resource in a lifecycle hook event will be approved. -
REJECT
The lifecycle hook of a target resource in a lifecycle hook event will be rejected.
-
-
Constructor Details
-
LifecycleHookAction
Deprecated.Use thefromString(String)factory method.Creates a new instance of LifecycleHookAction value.
-
-
Method Details
-
fromString
Creates or finds a LifecycleHookAction from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LifecycleHookAction.
-
values
Gets known LifecycleHookAction values.- Returns:
- known LifecycleHookAction values.
-
fromString(String)factory method.