Dela via


BatchAccountPoolScaleSettings Class

Definition

Defines the desired size of the pool. This can either be 'fixedScale' where the requested targetDedicatedNodes is specified, or 'autoScale' which defines a formula which is periodically reevaluated. If this property is not specified, the pool will have a fixed scale with 0 targetDedicatedNodes.

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

Constructors

BatchAccountPoolScaleSettings()

Initializes a new instance of BatchAccountPoolScaleSettings.

Properties

AutoScale

This property and fixedScale are mutually exclusive and one of the properties must be specified.

FixedScale

This property and autoScale are mutually exclusive and one of the properties must be specified.

Explicit Interface Implementations

IJsonModel<BatchAccountPoolScaleSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchAccountPoolScaleSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchAccountPoolScaleSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchAccountPoolScaleSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchAccountPoolScaleSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to