共用方式為


DisableComputeNodeSchedulingOption Enum

Definition

Defines values for DisableComputeNodeSchedulingOption.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum DisableComputeNodeSchedulingOption
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type DisableComputeNodeSchedulingOption = 
Public Enum DisableComputeNodeSchedulingOption
Inheritance
DisableComputeNodeSchedulingOption
Attributes
Newtonsoft.Json.JsonConverterAttribute

Fields

Name Value Description
Requeue 0

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 Compute Node. Enter offline state 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. Enter offline state as soon as Tasks have been terminated.

TaskCompletion 2

Allow currently running Tasks to complete. Schedule no new Tasks while waiting. Enter offline state when all Tasks have completed.

Applies to