Skip to content

IScalingRule

  • Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource

  • Implemented By: AlibabaCloud.SDK.ROS.CDK.Ess.datasource.ScalingRule, AlibabaCloud.SDK.ROS.CDK.Ess.datasource.IScalingRule

Represents a ScalingRule.

Properties

Name Type Description
Node AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode The construct tree node for this construct.
Env AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment The environment this resource belongs to.
Stack AlibabaCloud.SDK.ROS.CDK.Core.Stack The stack in which this resource is defined.
AttrAdjustmentType object Attribute AdjustmentType: The adjustment method of the scaling rule.
AttrAdjustmentValue object Attribute AdjustmentValue: The number of instances that must be scaled based on the scaling rule.
AttrAlarms object Attribute Alarms: The event-triggered tasks that are associated with the scaling rule.
AttrCooldown object Attribute Cooldown: The cooldown period of the scaling rule.
AttrDisableScaleIn object Attribute DisableScaleIn: Indicates whether scale-in is disabled.
AttrEstimatedInstanceWarmup object Attribute EstimatedInstanceWarmup: The warm-up period of instances.
AttrInitialMaxSize object Attribute InitialMaxSize: The maximum number of ECS instances that can be contained in the scaling group.
AttrMaxSize object Attribute MaxSize: The maximum number of ECS instances that can be contained in the scaling group.
AttrMetricName object Attribute MetricName: The name of the metric of the event-triggered task that is associated with the scaling rule.
AttrMinAdjustmentMagnitude object Attribute MinAdjustmentMagnitude: The minimum number of instances that must be scaled.
AttrMinSize object Attribute MinSize: The minimum number of ECS instances that must be contained in the scaling group.
AttrPredictiveScalingMode object Attribute PredictiveScalingMode: The mode of the predictive scaling rule.
AttrPredictiveTaskBufferTime object Attribute PredictiveTaskBufferTime: The amount of buffer time before prediction tasks are executed.
AttrPredictiveValueBehavior object Attribute PredictiveValueBehavior: The action on the predicted maximum value.
AttrPredictiveValueBuffer object Attribute PredictiveValueBuffer: The ratio based on which the predicted value is increased when PredictiveValueBehavior is set to PredictiveValueOverrideMaxWithBuffer.
AttrScaleInEvaluationCount object Attribute ScaleInEvaluationCount: The number of consecutive times that the event-triggered task for scale-in purposes must meet the threshold conditions before an alert is triggered.
AttrScaleOutEvaluationCount object Attribute ScaleOutEvaluationCount: The number of consecutive times that the event-triggered task created for scale-out purposes must meet the threshold conditions before an alert is triggered.
AttrScalingGroupId object Attribute ScalingGroupId: The ID of the scaling group.
AttrScalingRuleAri object Attribute ScalingRuleAri: The unique identifier of the scaling rule.
AttrScalingRuleId object Attribute ScalingRuleId: The ID of the scaling rule.
AttrScalingRuleName object Attribute ScalingRuleName: The name of the scaling rule.
AttrScalingRuleType object Attribute ScalingRuleType: The type of the scaling rule.
AttrStepAdjustments object Attribute StepAdjustments: The step adjustments of the step scaling rule.
AttrTargetValue object Attribute TargetValue: The target value of the metric.
Props ScalingRuleProps No description.

NodeRequired

public ConstructNode Node { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode

The construct tree node for this construct.


EnvRequired

public IResourceEnvironment Env { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


StackRequired

public Stack Stack { get; }
  • Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack

The stack in which this resource is defined.


AttrAdjustmentTypeRequired

public object AttrAdjustmentType { get; }
  • Type: object

Attribute AdjustmentType: The adjustment method of the scaling rule.


AttrAdjustmentValueRequired

public object AttrAdjustmentValue { get; }
  • Type: object

Attribute AdjustmentValue: The number of instances that must be scaled based on the scaling rule.


AttrAlarmsRequired

public object AttrAlarms { get; }
  • Type: object

Attribute Alarms: The event-triggered tasks that are associated with the scaling rule.

The value of this parameter is returned only if you set ShowAlarmRules to true. Otherwise, null is returned.


AttrCooldownRequired

public object AttrCooldown { get; }
  • Type: object

Attribute Cooldown: The cooldown period of the scaling rule.


AttrDisableScaleInRequired

public object AttrDisableScaleIn { get; }
  • Type: object

Attribute DisableScaleIn: Indicates whether scale-in is disabled.


AttrEstimatedInstanceWarmupRequired

public object AttrEstimatedInstanceWarmup { get; }
  • Type: object

Attribute EstimatedInstanceWarmup: The warm-up period of instances.


AttrInitialMaxSizeRequired

public object AttrInitialMaxSize { get; }
  • Type: object

Attribute InitialMaxSize: The maximum number of ECS instances that can be contained in the scaling group.


AttrMaxSizeRequired

public object AttrMaxSize { get; }
  • Type: object

Attribute MaxSize: The maximum number of ECS instances that can be contained in the scaling group.


AttrMetricNameRequired

public object AttrMetricName { get; }
  • Type: object

Attribute MetricName: The name of the metric of the event-triggered task that is associated with the scaling rule.


AttrMinAdjustmentMagnitudeRequired

public object AttrMinAdjustmentMagnitude { get; }
  • Type: object

Attribute MinAdjustmentMagnitude: The minimum number of instances that must be scaled.


AttrMinSizeRequired

public object AttrMinSize { get; }
  • Type: object

Attribute MinSize: The minimum number of ECS instances that must be contained in the scaling group.


AttrPredictiveScalingModeRequired

public object AttrPredictiveScalingMode { get; }
  • Type: object

Attribute PredictiveScalingMode: The mode of the predictive scaling rule.


AttrPredictiveTaskBufferTimeRequired

public object AttrPredictiveTaskBufferTime { get; }
  • Type: object

Attribute PredictiveTaskBufferTime: The amount of buffer time before prediction tasks are executed.


AttrPredictiveValueBehaviorRequired

public object AttrPredictiveValueBehavior { get; }
  • Type: object

Attribute PredictiveValueBehavior: The action on the predicted maximum value.


AttrPredictiveValueBufferRequired

public object AttrPredictiveValueBuffer { get; }
  • Type: object

Attribute PredictiveValueBuffer: The ratio based on which the predicted value is increased when PredictiveValueBehavior is set to PredictiveValueOverrideMaxWithBuffer.


AttrScaleInEvaluationCountRequired

public object AttrScaleInEvaluationCount { get; }
  • Type: object

Attribute ScaleInEvaluationCount: The number of consecutive times that the event-triggered task for scale-in purposes must meet the threshold conditions before an alert is triggered.


AttrScaleOutEvaluationCountRequired

public object AttrScaleOutEvaluationCount { get; }
  • Type: object

Attribute ScaleOutEvaluationCount: The number of consecutive times that the event-triggered task created for scale-out purposes must meet the threshold conditions before an alert is triggered.


AttrScalingGroupIdRequired

public object AttrScalingGroupId { get; }
  • Type: object

Attribute ScalingGroupId: The ID of the scaling group.


AttrScalingRuleAriRequired

public object AttrScalingRuleAri { get; }
  • Type: object

Attribute ScalingRuleAri: The unique identifier of the scaling rule.


AttrScalingRuleIdRequired

public object AttrScalingRuleId { get; }
  • Type: object

Attribute ScalingRuleId: The ID of the scaling rule.


AttrScalingRuleNameRequired

public object AttrScalingRuleName { get; }
  • Type: object

Attribute ScalingRuleName: The name of the scaling rule.


AttrScalingRuleTypeRequired

public object AttrScalingRuleType { get; }
  • Type: object

Attribute ScalingRuleType: The type of the scaling rule.


AttrStepAdjustmentsRequired

public object AttrStepAdjustments { get; }
  • Type: object

Attribute StepAdjustments: The step adjustments of the step scaling rule.


AttrTargetValueRequired

public object AttrTargetValue { get; }
  • Type: object

Attribute TargetValue: The target value of the metric.


PropsRequired

public ScalingRuleProps Props { get; }