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