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 Summary
FieldsModifier and TypeFieldDescriptionstatic final VMScaleSetLifecycleHookEventStateThe lifecycle hook event is active.static final VMScaleSetLifecycleHookEventStateThe lifecycle hook event is completed. i.e., all the target resources in the event have moved to a terminal state. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a VMScaleSetLifecycleHookEventState from its string representation.values()Gets known VMScaleSetLifecycleHookEventState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ACTIVE
The lifecycle hook event is active. E.g., waiting on a response from the customer. -
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.Use thefromString(String)factory method.Creates a new instance of VMScaleSetLifecycleHookEventState value.
-
-
Method Details
-
fromString
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.
-
fromString(String)factory method.