Share via


BatchTaskSchedulingPolicy Class

Definition

Specifies how Tasks should be distributed across Compute Nodes.

public class BatchTaskSchedulingPolicy : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.BatchTaskSchedulingPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.BatchTaskSchedulingPolicy>
type BatchTaskSchedulingPolicy = class
    interface IJsonModel<BatchTaskSchedulingPolicy>
    interface IPersistableModel<BatchTaskSchedulingPolicy>
Public Class BatchTaskSchedulingPolicy
Implements IJsonModel(Of BatchTaskSchedulingPolicy), IPersistableModel(Of BatchTaskSchedulingPolicy)
Inheritance
BatchTaskSchedulingPolicy
Implements

Constructors

Name Description
BatchTaskSchedulingPolicy(BatchNodeFillType)

Initializes a new instance of BatchTaskSchedulingPolicy.

Properties

Name Description
JobDefaultOrder

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

NodeFillType

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

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BatchTaskSchedulingPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BatchTaskSchedulingPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchTaskSchedulingPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchTaskSchedulingPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BatchTaskSchedulingPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to