Condividi tramite


BatchNodeRebootContent Class

Definition

Parameters for rebooting an Azure Batch Compute Node.

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

Constructors

BatchNodeRebootContent()

Initializes a new instance of BatchNodeRebootContent.

Properties

NodeRebootOption

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

Explicit Interface Implementations

IJsonModel<BatchNodeRebootContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodeRebootContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeRebootContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeRebootContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodeRebootContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to