Share via


BatchNodeDisableSchedulingOptions Class

Definition

Parameters for disabling scheduling on an Azure Batch Compute Node.

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

Constructors

BatchNodeDisableSchedulingOptions()

Initializes a new instance of BatchNodeDisableSchedulingOptions.

Properties

NodeDisableSchedulingOption

What to do with currently running Tasks when disabling Task scheduling on the Compute Node. The default value is requeue.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BatchNodeDisableSchedulingOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodeDisableSchedulingOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeDisableSchedulingOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeDisableSchedulingOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodeDisableSchedulingOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to