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

Name Description
BatchJobDisableOptions(DisableBatchJobOption)

Initializes a new instance of BatchJobDisableOptions.

Properties

Name Description
DisableTasks

What to do with active Tasks associated with the Job.

JobOption

What to do with active Tasks associated with the Job.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Implicit(BatchJobDisableOptions to RequestContent)

Explicit Interface Implementations

Name Description
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