Class AllocationState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AllocationState>
com.azure.resourcemanager.machinelearning.models.AllocationState
public final class AllocationState
extends com.azure.core.util.ExpandableStringEnum<AllocationState>
Allocation state.
Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are
no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created
and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates
that the compute is resizing; that is, compute nodes are being added to or removed from the compute.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AllocationStateStatic value Resizing for AllocationState.static final AllocationStateStatic value Steady for AllocationState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AllocationStatefromString(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, hashCode, toString, values
-
Field Details
-
STEADY
Static value Steady for AllocationState. -
RESIZING
Static value Resizing for AllocationState.
-
-
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.