LoadBasedConfigArgs

data class LoadBasedConfigArgs(val cooldownPeriod: Output<Int>? = null, val maxNodes: Output<Int>, val minNodes: Output<Int>, val pollInterval: Output<Int>? = null, val scalingRules: Output<List<ScalingRuleArgs>>) : ConvertibleToJava<LoadBasedConfigArgs>

Profile of load based Autoscale.

Constructors

Link copied to clipboard
constructor(cooldownPeriod: Output<Int>? = null, maxNodes: Output<Int>, minNodes: Output<Int>, pollInterval: Output<Int>? = null, scalingRules: Output<List<ScalingRuleArgs>>)

Properties

Link copied to clipboard
val cooldownPeriod: Output<Int>? = null

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.

Link copied to clipboard
val maxNodes: Output<Int>

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.

Link copied to clipboard
val minNodes: Output<Int>

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.

Link copied to clipboard
val pollInterval: Output<Int>? = null

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

Link copied to clipboard

The scaling rules.

Functions

Link copied to clipboard
open override fun toJava(): LoadBasedConfigArgs