AllocationState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. AllocationState
- com.
- com.
public final class AllocationState
extends ExpandableStringEnum<AllocationState>
AllocationState enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Allocation |
RESIZING
The Pool is resizing; that is, Compute Nodes are being added to or removed from the Pool. |
|
static final
Allocation |
STEADY
The Pool is not resizing. |
|
static final
Allocation |
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 Summary
| Constructor | Description |
|---|---|
| AllocationState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Allocation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Allocation |
fromString(String name)
Creates or finds a Allocation |
|
static
Collection<Allocation |
values()
Gets known Allocation |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
RESIZING
public static final AllocationState RESIZING
The Pool is resizing; that is, Compute Nodes are being added to or removed from the Pool.
STEADY
public static final AllocationState 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.
STOPPING
public static final AllocationState 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
public AllocationState()
Deprecated
Creates a new instance of AllocationState value.
Method Details
fromString
public static AllocationState fromString(String name)
Creates or finds a AllocationState from its string representation.
Parameters:
Returns:
values
public static Collection<AllocationState> values()
Gets known AllocationState values.
Returns: