Share via


ComputeBatchModelFactory.BatchTaskSchedulingPolicy Method

Definition

Specifies how Tasks should be distributed across Compute Nodes.

public static Azure.Compute.Batch.BatchTaskSchedulingPolicy BatchTaskSchedulingPolicy(Azure.Compute.Batch.BatchJobDefaultOrder? jobDefaultOrder = default, Azure.Compute.Batch.BatchNodeFillType nodeFillType = default);
static member BatchTaskSchedulingPolicy : Nullable<Azure.Compute.Batch.BatchJobDefaultOrder> * Azure.Compute.Batch.BatchNodeFillType -> Azure.Compute.Batch.BatchTaskSchedulingPolicy
Public Shared Function BatchTaskSchedulingPolicy (Optional jobDefaultOrder As Nullable(Of BatchJobDefaultOrder) = Nothing, Optional nodeFillType As BatchNodeFillType = Nothing) As BatchTaskSchedulingPolicy

Parameters

jobDefaultOrder
Nullable<BatchJobDefaultOrder>

The order for scheduling tasks from different jobs with the same priority. If not specified, the default is none.

nodeFillType
BatchNodeFillType

How Tasks are distributed across Compute Nodes in a Pool. If not specified, the default is spread.

Returns

A new BatchTaskSchedulingPolicy instance for mocking.

Applies to