ComputeNodeReimageOption Enum

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

public enum ComputeNodeReimageOption

Defines values for ComputeNodeReimageOption.

Fields

REQUEUE

Terminate running task processes and requeue the tasks. The tasks will run again when a node is available. Reimage the node 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. Reimage the node when all task retention periods have expired.

TASK_COMPLETION

Allow currently running tasks to complete. Schedule no new tasks while waiting. Reimage the node 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. Reimage the node as soon as tasks have been terminated.

Methods

fromString(String value)

public static ComputeNodeReimageOption fromString(String value)

Parses a serialized value to a ComputeNodeReimageOption instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

String

Applies to