Share via


BatchJobDisableOptions Class

Definition

Parameters for disabling an Azure Batch Job.

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

Constructors

BatchJobDisableOptions(DisableBatchJobOption)

Initializes a new instance of BatchJobDisableOptions.

Properties

DisableTasks

What to do with active Tasks associated with the Job.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BatchJobDisableOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchJobDisableOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchJobDisableOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchJobDisableOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchJobDisableOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to