Share via


BatchResizeOperationStatus Class

Definition

Describes either the current operation (if the pool AllocationState is Resizing) or the previously completed operation (if the AllocationState is Steady).

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

Properties

Errors

This property is set only if an error occurred during the last pool resize, and only when the pool allocationState is Steady.

NodeDeallocationOption

The default value is requeue.

ResizeTimeout

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).

StartOn

The time when this resize operation was started.

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<BatchResizeOperationStatus>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchResizeOperationStatus>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchResizeOperationStatus>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchResizeOperationStatus>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchResizeOperationStatus>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to