AllocationState Enum

  • java.lang.Object
    • java.lang.Enum<AllocationState>
      • com.microsoft.azure.batch.protocol.models.AllocationState

public enum AllocationState

Defines values for AllocationState.

Fields

RESIZING

The pool is resizing; that is, compute nodes are being added to or removed from the pool.

STEADY

The pool is not resizing. There are no changes to the number of 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 nodes.

STOPPING

The pool was resizing, but the user has requested that the resize be stopped, but the stop request has not yet been completed.

Methods

fromString(String value)

public static AllocationState fromString(String value)

Parses a serialized value to a AllocationState instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed AllocationState object, or null if unable to parse.

toString()

public String toString()

Returns

String

Applies to