DisableComputeNodeSchedulingOption Enum

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

public enum DisableComputeNodeSchedulingOption

Defines values for DisableComputeNodeSchedulingOption.

Fields

REQUEUE

Terminate running task processes and requeue the tasks. The tasks may run again on other compute nodes, or when task scheduling is re-enabled on this node. Enter offline state as soon as tasks have been terminated.

TASK_COMPLETION

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

Methods

fromString(String value)

public static DisableComputeNodeSchedulingOption fromString(String value)

Parses a serialized value to a DisableComputeNodeSchedulingOption instance.

Parameters

value
String
the serialized value to parse.

Returns

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

toString()

public String toString()

Returns

String

Applies to