ComputeBatchModelFactory.BatchNodeDisableSchedulingOptions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parameters for disabling scheduling on an Azure Batch Compute Node.
public static Azure.Compute.Batch.BatchNodeDisableSchedulingOptions BatchNodeDisableSchedulingOptions(Azure.Compute.Batch.BatchNodeDisableSchedulingOption? nodeDisableSchedulingOption = default);
static member BatchNodeDisableSchedulingOptions : Nullable<Azure.Compute.Batch.BatchNodeDisableSchedulingOption> -> Azure.Compute.Batch.BatchNodeDisableSchedulingOptions
Public Shared Function BatchNodeDisableSchedulingOptions (Optional nodeDisableSchedulingOption As Nullable(Of BatchNodeDisableSchedulingOption) = Nothing) As BatchNodeDisableSchedulingOptions
Parameters
- nodeDisableSchedulingOption
- Nullable<BatchNodeDisableSchedulingOption>
What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue.
Returns
A new BatchNodeDisableSchedulingOptions instance for mocking.