Compartir a través de


BatchPoolResizeContent Class

Definition

Parameters for changing the size of an Azure Batch Pool.

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

Constructors

BatchPoolResizeContent()

Initializes a new instance of BatchPoolResizeContent.

Properties

NodeDeallocationOption

Determines what to do with a Compute Node and its running task(s) if the Pool size is decreasing. The default value is requeue.

ResizeTimeout

The timeout for allocation of Nodes to the Pool or removal of Compute Nodes from 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).

TargetDedicatedNodes

The desired number of dedicated Compute Nodes in the Pool.

TargetLowPriorityNodes

The desired number of Spot/Low-priority Compute Nodes in the Pool.

Explicit Interface Implementations

IJsonModel<BatchPoolResizeContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchPoolResizeContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchPoolResizeContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchPoolResizeContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchPoolResizeContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to