NodeDisableSchedulingParameter Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.NodeDisableSchedulingParameter

public class NodeDisableSchedulingParameter

Options for disabling scheduling on a compute node.

Method Summary

Modifier and Type Method and Description
DisableComputeNodeSchedulingOption nodeDisableSchedulingOption()

Get the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'.

NodeDisableSchedulingParameter withNodeDisableSchedulingOption(DisableComputeNodeSchedulingOption nodeDisableSchedulingOption)

Set the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'.

Method Details

nodeDisableSchedulingOption

public DisableComputeNodeSchedulingOption nodeDisableSchedulingOption()

Get the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'.

Returns:

the nodeDisableSchedulingOption value

withNodeDisableSchedulingOption

public NodeDisableSchedulingParameter withNodeDisableSchedulingOption(DisableComputeNodeSchedulingOption nodeDisableSchedulingOption)

Set the default value is requeue. Possible values include: 'requeue', 'terminate', 'taskCompletion'.

Parameters:

nodeDisableSchedulingOption - the nodeDisableSchedulingOption value to set

Returns:

the NodeDisableSchedulingParameter object itself.

Applies to