Show / Hide Table of Contents

Class ScalingRuleArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ScalingRuleArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ess
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class ScalingRuleArgs : ResourceArgs

Constructors

View Source

ScalingRuleArgs()

Declaration
public ScalingRuleArgs()

Properties

View Source

AdjustmentType

Adjustment mode of a scaling rule. Optional values:

  • QuantityChangeInCapacity: It is used to increase or decrease a specified number of ECS instances.
  • PercentChangeInCapacity: It is used to increase or decrease a specified proportion of ECS instances.
  • TotalCapacity: It is used to adjust the quantity of ECS instances in the current scaling group to a specified value.
Declaration
public Input<string> AdjustmentType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

AdjustmentValue

Adjusted value of a scaling rule. Value range:

  • QuantityChangeInCapacity:(0, 500] U (-500, 0]
  • PercentChangeInCapacity:[0, 10000] U [-100, 0]
  • TotalCapacity:[0, 1000]
Declaration
public Input<int> AdjustmentValue { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Cooldown

Cool-down time of a scaling rule. 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.

Declaration
public Input<int> Cooldown { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

DisableScaleIn

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

Declaration
public Input<bool> DisableScaleIn { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

EstimatedInstanceWarmup

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

Declaration
public Input<int> EstimatedInstanceWarmup { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MetricName

A CloudMonitor metric name.

Declaration
public Input<string> MetricName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ScalingGroupId

ID of the scaling group of a scaling rule.

Declaration
public Input<string> ScalingGroupId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ScalingRuleName

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.

Declaration
public Input<string> ScalingRuleName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ScalingRuleType

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

Declaration
public Input<string> ScalingRuleType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

StepAdjustments

Steps for StepScalingRule. See Block stepAdjustment below for details.

Declaration
public InputList<ScalingRuleStepAdjustmentArgs> StepAdjustments { get; set; }
Property Value
Type Description
InputList<ScalingRuleStepAdjustmentArgs>
View Source

TargetValue

The target value for the metric.

Declaration
public Input<double> TargetValue { get; set; }
Property Value
Type Description
Input<System.Double>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.