ComputeNodeRebootOption Enum

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

public enum ComputeNodeRebootOption

Defines values for ComputeNodeRebootOption.

Fields

REQUEUE

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

TASK_COMPLETION

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

Methods

fromString(String value)

public static ComputeNodeRebootOption fromString(String value)

Parses a serialized value to a ComputeNodeRebootOption instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

String

Applies to