Поделиться через


BatchNodeDeallocateContent Class

Definition

Options for deallocating a Compute Node.

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

Constructors

BatchNodeDeallocateContent()

Initializes a new instance of BatchNodeDeallocateContent.

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<BatchNodeDeallocateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodeDeallocateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeDeallocateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeDeallocateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodeDeallocateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to