AverageLoadScalingTriggerArgs

data class AverageLoadScalingTriggerArgs(val kind: Output<String>, val lowerLoadThreshold: Output<Double>, val metric: Output<AutoScalingResourceMetricArgs>, val scaleIntervalInSeconds: Output<Int>, val upperLoadThreshold: Output<Double>) : ConvertibleToJava<AverageLoadScalingTriggerArgs>

Describes the average load trigger used for auto scaling.

Constructors

Link copied to clipboard
constructor(kind: Output<String>, lowerLoadThreshold: Output<Double>, metric: Output<AutoScalingResourceMetricArgs>, scaleIntervalInSeconds: Output<Int>, upperLoadThreshold: Output<Double>)

Properties

Link copied to clipboard
val kind: Output<String>

Enumerates the triggers for auto scaling. Expected value is 'AverageLoad'.

Link copied to clipboard

Lower load threshold (if average load is below this threshold, service will scale down).

Link copied to clipboard

Description of the metric that is used for scaling.

Link copied to clipboard

Scale interval that indicates how often will this trigger be checked.

Link copied to clipboard

Upper load threshold (if average load is above this threshold, service will scale up).

Functions

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