GetScalingRulesRule

data class GetScalingRulesRule(val adjustmentType: String, val adjustmentValue: Int, val cooldown: Int, val id: String, val initialMaxSize: Int, val metricName: String, val minAdjustmentMagnitude: Int, val name: String, val predictiveScalingMode: String, val predictiveTaskBufferTime: Int, val predictiveValueBehavior: String, val predictiveValueBuffer: Int, val scalingGroupId: String, val scalingRuleAri: String, val targetValue: Double, val type: String)

Constructors

Link copied to clipboard
constructor(adjustmentType: String, adjustmentValue: Int, cooldown: Int, id: String, initialMaxSize: Int, metricName: String, minAdjustmentMagnitude: Int, name: String, predictiveScalingMode: String, predictiveTaskBufferTime: Int, predictiveValueBehavior: String, predictiveValueBuffer: Int, scalingGroupId: String, scalingRuleAri: String, targetValue: Double, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Adjustment type of the scaling rule.

Link copied to clipboard

Adjustment value of the scaling rule.

Link copied to clipboard

Cooldown time of the scaling rule.

Link copied to clipboard
val id: String

ID of the scaling rule.

Link copied to clipboard

(Available since v1.242.0) The maximum number of ECS instances that can be added to the scaling group.

Link copied to clipboard

(Available since v1.242.0) The predefined metric of the scaling rule.

Link copied to clipboard

Min adjustment magnitude of scaling rule.

Link copied to clipboard

Name of the scaling rule.

Link copied to clipboard

(Available since v1.242.0) The mode of the predictive scaling rule.

Link copied to clipboard

(Available since v1.242.0) The amount of buffer time before the prediction task is executed. By default, all prediction tasks that are automatically created by a predictive scaling rule are executed on the hour. You can set a buffer time to execute prediction tasks and prepare resources in advance.

Link copied to clipboard

(Available since v1.242.0) The action on the predicted maximum value.

Link copied to clipboard

(Available since v1.242.0) The ratio based on which the predicted value is increased if you set predictive_value_behavior to PredictiveValueOverrideMaxWithBuffer. If the predicted value that is increased by this ratio is greater than the initial maximum capacity, the increased value is used as the maximum value for prediction tasks.

Link copied to clipboard

Scaling group id the scaling rules belong to.

Link copied to clipboard

Ari of scaling rule.

Link copied to clipboard

(Available since v1.242.0) The target value of the metric.

Link copied to clipboard

Type of scaling rule.