GetScalingRulesRule

data class GetScalingRulesRule(val adjustmentType: String, val adjustmentValue: Int, val cooldown: Int, val disableScaleIn: Boolean, val estimatedInstanceWarmup: Int, val hybridMetrics: List<GetScalingRulesRuleHybridMetric>, val hybridMonitorNamespace: String, val id: String, val initialMaxSize: Int, val metricName: String, val metricType: String, val minAdjustmentMagnitude: Int, val name: String, val predictiveScalingMode: String, val predictiveTaskBufferTime: Int, val predictiveValueBehavior: String, val predictiveValueBuffer: Int, val scaleInEvaluationCount: Int, val scaleOutEvaluationCount: Int, val scalingGroupId: String, val scalingRuleAri: String, val stepAdjustments: List<GetScalingRulesRuleStepAdjustment>, val targetValue: Double, val type: String)

Constructors

Link copied to clipboard
constructor(adjustmentType: String, adjustmentValue: Int, cooldown: Int, disableScaleIn: Boolean, estimatedInstanceWarmup: Int, hybridMetrics: List<GetScalingRulesRuleHybridMetric>, hybridMonitorNamespace: String, id: String, initialMaxSize: Int, metricName: String, metricType: String, minAdjustmentMagnitude: Int, name: String, predictiveScalingMode: String, predictiveTaskBufferTime: Int, predictiveValueBehavior: String, predictiveValueBuffer: Int, scaleInEvaluationCount: Int, scaleOutEvaluationCount: Int, scalingGroupId: String, scalingRuleAri: String, stepAdjustments: List<GetScalingRulesRuleStepAdjustment>, 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

(Available since v1.250.0) Indicates whether scale-in is disabled. This parameter is available only if you set ScalingRuleType to TargetTrackingScalingRule. Valid values: true, false.

Link copied to clipboard

(Available since v1.250.0) The warm-up period during which a series of preparation measures are taken on new instances. Auto Scaling does not monitor the metric data of instances that are being warmed up.

Link copied to clipboard

(Available since v1.250.0) The Hybrid Cloud Monitoring metrics.

Link copied to clipboard

(Available since v1.250.0) The ID of the Hybrid Cloud Monitoring namespace.

Link copied to clipboard
val id: String

(Available since v1.250.0) The reference ID of the metric in the metric expression.

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.250.0) The name of the Hybrid Cloud Monitoring metric.

Link copied to clipboard

(Available since v1.250.0) The type of the event-triggered task that is associated with 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

(Available since v1.250.0) After you create a target tracking scaling rule, an event-triggered task is automatically created and associated with the scaling rule. This parameter defines the number of consecutive times the alert condition must be satisfied before the event-triggered task initiates a scale-in operation.

Link copied to clipboard

(Available since v1.250.0) After you create a target tracking scaling rule, an event-triggered task is automatically created and associated with the scaling rule. This parameter defines the number of consecutive times the alert condition must be satisfied before the event-triggered task initiates a scale-out operation.

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.250.0) The step adjustments of the step 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.