ScalingRule

Import

ESS scaling rule can be imported using the id, e.g.

$ pulumi import alicloud:ess/scalingRule:ScalingRule example abc123456

Properties

Link copied to clipboard
val adjustmentType: Output<String>?

Adjustment mode of a scaling rule. Optional values:

Link copied to clipboard
val adjustmentValue: Output<Int>?

The number of ECS instances to be adjusted in the scaling rule. This parameter is required and applicable only to simple scaling rules. The number of ECS instances to be adjusted in a single scaling activity cannot exceed 500. Value range:

Link copied to clipboard
val ari: Output<String>
Link copied to clipboard
val cooldown: Output<Int>?

The cooldown time of the scaling rule. This parameter is applicable only to simple scaling rules. Value range: 0, 86,400, in seconds. The default value is empty,if not set, the return value will be 0, which is the default value of integer.

Link copied to clipboard
val disableScaleIn: Output<Boolean>?

Indicates whether scale in by the target tracking policy is disabled. Default to false.

Link copied to clipboard

The estimated time, in seconds, until a newly launched instance will contribute CloudMonitor metrics. Default to 300.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val metricName: Output<String>?

A CloudMonitor metric name.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scalingGroupId: Output<String>

ID of the scaling group of a scaling rule.

Link copied to clipboard
val scalingRuleName: Output<String>

Name shown for the scaling rule, which must contain 2-64 characters (English or Chinese), starting with numbers, English letters or Chinese characters, and can contain number, underscores _, hypens -, and decimal point .. If this parameter value is not specified, the default value is scaling rule id.

Link copied to clipboard
val scalingRuleType: Output<String>?

The scaling rule type, either "SimpleScalingRule", "TargetTrackingScalingRule", "StepScalingRule". Default to "SimpleScalingRule".

Link copied to clipboard

Steps for StepScalingRule. See Block stepAdjustment below for details.

Link copied to clipboard
val targetValue: Output<Double>?

The target value for the metric.

Link copied to clipboard
val urn: Output<String>