Condividi tramite


LoadBasedConfig Class

Definition

Profile of load based Autoscale.

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

Constructors

LoadBasedConfig(Int32, Int32, IEnumerable<ScalingRule>)

Initializes a new instance of LoadBasedConfig.

Properties

CooldownPeriod

This is a cool down period, this is a time period in seconds, which determines the amount of time that must elapse between a scaling activity started by a rule and the start of the next scaling activity, regardless of the rule that triggers it. The default value is 300 seconds.

MaxNodes

User needs to set the maximum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

MinNodes

User needs to set the minimum number of nodes for load based scaling, the load based scaling will use this to scale up and scale down between minimum and maximum number of nodes.

PollIntervalInSeconds

User can specify the poll interval, this is the time period (in seconds) after which scaling metrics are polled for triggering a scaling operation.

ScalingRules

The scaling rules.

Explicit Interface Implementations

IJsonModel<LoadBasedConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LoadBasedConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LoadBasedConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LoadBasedConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LoadBasedConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to