Gets and sets the property AutoScalingType.
The instance auto scaling type, which has three possible values:
- AlwaysRunning: A 24/7 instance, which is not affected by auto scaling.
- TimeBasedAutoScaling: A time-based auto scaling instance, which is started and stopped based on a specified schedule. To specify the schedule, call SetTimeBasedAutoScaling.
- LoadBasedAutoScaling: A load-based auto scaling instance, which is started and stopped based on load metrics. To use load-based auto scaling, you must enable it for the instance layer and configure the thresholds by calling SetLoadBasedAutoScaling.
Declaration Syntax
C# |
public string AutoScalingType { get; set; }