Megosztás a következőn keresztül:


BatchPoolEnableAutoScaleContent Class

Definition

Parameters for enabling automatic scaling on an Azure Batch Pool.

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

Constructors

BatchPoolEnableAutoScaleContent()

Initializes a new instance of BatchPoolEnableAutoScaleContent.

Properties

AutoScaleEvaluationInterval

The time interval at which to automatically adjust the Pool size according to the autoscale formula. The default value is 15 minutes. The minimum and maximum value are 5 minutes and 168 hours respectively. If you specify a value less than 5 minutes or greater than 168 hours, the Batch service rejects the request with an invalid property value error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request). If you specify a new interval, then the existing autoscale evaluation schedule will be stopped and a new autoscale evaluation schedule will be started, with its starting time being the time when this request was issued.

AutoScaleFormula

The formula for the desired number of Compute Nodes in the Pool. The formula is checked for validity before it is applied to the Pool. If the formula is not valid, the Batch service rejects the request with detailed error information. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling).

Explicit Interface Implementations

IJsonModel<BatchPoolEnableAutoScaleContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchPoolEnableAutoScaleContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchPoolEnableAutoScaleContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchPoolEnableAutoScaleContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchPoolEnableAutoScaleContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to