BatchNodeDeallocationOption Enum

Definition

Determines what to do with a node and its running task(s) after it has been selected for deallocation.

public enum BatchNodeDeallocationOption
type BatchNodeDeallocationOption = 
Public Enum BatchNodeDeallocationOption
Inheritance
BatchNodeDeallocationOption

Fields

Name Value Description
Requeue 0

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.

Terminate 1

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.

TaskCompletion 2

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

RetainedData 3

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.

Applies to