BatchNodeDisableSchedulingContent Class

Definition

Parameters for disabling scheduling on an Azure Batch Compute Node.

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

Constructors

BatchNodeDisableSchedulingContent()

Initializes a new instance of BatchNodeDisableSchedulingContent.

Properties

NodeDisableSchedulingOption

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

Explicit Interface Implementations

IJsonModel<BatchNodeDisableSchedulingContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodeDisableSchedulingContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeDisableSchedulingContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeDisableSchedulingContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodeDisableSchedulingContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to