Share via


BatchNodeDeallocateOptions Class

Definition

Options for deallocating a Compute Node.

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

Constructors

BatchNodeDeallocateOptions()

Initializes a new instance of BatchNodeDeallocateOptions.

Properties

NodeDeallocateOption

When to deallocate the Compute Node and what to do with currently running Tasks. The default value is requeue.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BatchNodeDeallocateOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodeDeallocateOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeDeallocateOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeDeallocateOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodeDeallocateOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to