Package com.azure.compute.batch.models
Class AllocationState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AllocationState>
com.azure.compute.batch.models.AllocationState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class AllocationState
extends com.azure.core.util.ExpandableStringEnum<AllocationState>
AllocationState enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AllocationState
The Pool is resizing; that is, Compute Nodes are being added to or removed from the Pool.static final AllocationState
The Pool is not resizing.static final AllocationState
The Pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AllocationState
fromString
(String name) Creates or finds a AllocationState from its string representation.static Collection
<AllocationState> values()
Gets known AllocationState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
STEADY
The Pool is not resizing. There are no changes to the number of Compute Nodes in the Pool in progress. A Pool enters this state when it is created and when no operations are being performed on the Pool to change the number of Compute Nodes. -
RESIZING
The Pool is resizing; that is, Compute Nodes are being added to or removed from the Pool. -
STOPPING
The Pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed.
-
-
Constructor Details
-
AllocationState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AllocationState value.
-
-
Method Details
-
fromString
Creates or finds a AllocationState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AllocationState.
-
values
Gets known AllocationState values.- Returns:
- known AllocationState values.
-
fromString(String)
factory method.