ComputeNodes.disableScheduling Method

Definition

Overloads

disableScheduling(String poolId, String nodeId)

Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.

disableScheduling(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.

disableScheduling(String poolId, String nodeId)

Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.

public abstract void disableScheduling(String poolId, String nodeId)

Parameters

poolId
java.lang.String

The ID of the Pool that contains the Compute Node.

nodeId
java.lang.String

The ID of the Compute Node on which you want to disable Task scheduling.

disableScheduling(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Disables Task scheduling on the specified Compute Node. You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.

public abstract void disableScheduling(String poolId, String nodeId, DisableComputeNodeSchedulingOption nodeDisableSchedulingOption, ComputeNodeDisableSchedulingOptions computeNodeDisableSchedulingOptions)

Parameters

poolId
java.lang.String

The ID of the Pool that contains the Compute Node.

nodeId
java.lang.String

The ID of the Compute Node on which you want to disable Task scheduling.

nodeDisableSchedulingOption
DisableComputeNodeSchedulingOption

What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'

computeNodeDisableSchedulingOptions
ComputeNodeDisableSchedulingOptions

Additional parameters for the operation

Applies to