Share via


ComputeBatchModelFactory.BatchNodeDisableSchedulingOptions Method

Definition

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.

Applies to