Share via


BatchNodeRebootOptions Class

Definition

Parameters for rebooting an Azure Batch Compute Node.

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

Constructors

BatchNodeRebootOptions()

Initializes a new instance of BatchNodeRebootOptions.

Properties

NodeRebootKind

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BatchNodeRebootOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodeRebootOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeRebootOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeRebootOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodeRebootOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to