Share via


BatchNodeReimageOptions Class

Definition

Parameters for reimaging an Azure Batch Compute Node.

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

Constructors

BatchNodeReimageOptions()

Initializes a new instance of BatchNodeReimageOptions.

Properties

NodeReimageOption

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BatchNodeReimageOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodeReimageOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeReimageOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeReimageOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodeReimageOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to