ComputeNodeDeallocationOption Enum

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

public enum ComputeNodeDeallocationOption

Defines values for ComputeNodeDeallocationOption.

Fields

REQUEUE

Terminate running task processes and requeue the tasks. The tasks will run again when a node is available. Remove nodes as soon as tasks have been terminated.

RETAINED_DATA

Allow currently running tasks to complete, then wait for all task data retention periods to expire. Schedule no new tasks while waiting. Remove nodes when all task retention periods have expired.

TASK_COMPLETION

Allow currently running tasks to complete. Schedule no new tasks while waiting. Remove nodes when all tasks have completed.

TERMINATE

Terminate running tasks. The tasks will be completed with failureInfo indicating that they were terminated, and will not run again. Remove nodes as soon as tasks have been terminated.

Methods

fromString(String value)

public static ComputeNodeDeallocationOption fromString(String value)

Parses a serialized value to a ComputeNodeDeallocationOption instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

String

Applies to