共用方式為


BatchNodeRemoveContent Class

Definition

Parameters for removing nodes from an Azure Batch Pool.

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

Constructors

BatchNodeRemoveContent(IEnumerable<String>)

Initializes a new instance of BatchNodeRemoveContent.

Properties

NodeDeallocationOption

Determines what to do with a Compute Node and its running task(s) after it has been selected for deallocation. The default value is requeue.

NodeList

A list containing the IDs of the Compute Nodes to be removed from the specified Pool. A maximum of 100 nodes may be removed per request.

ResizeTimeout

The timeout for removal of Compute Nodes to the Pool. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service returns an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).

Explicit Interface Implementations

IJsonModel<BatchNodeRemoveContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchNodeRemoveContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchNodeRemoveContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchNodeRemoveContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchNodeRemoveContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to