|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The scaling rule configuration. |
||
| RuleName |
string |
The rule name. This parameter is required and cannot be an empty string. |
scalingByYarnMemory |
| TriggerType |
string |
The scaling rule type. This parameter is required. Valid values:
|
TIME_TRIGGER |
| ActivityType |
string |
The scaling activity type. This parameter is required. Valid values:
|
SCALE_IN |
| AdjustmentValue |
integer |
The adjustment value. This parameter is required and must be a positive number that represents the number of instances to scale out or scale in. |
100 |
| TimeTrigger | TimeTrigger |
The time-based scaling description. |
|
| MetricsTrigger | MetricsTrigger |
The load-based scaling description. |
|
| MinAdjustmentValue |
integer |
The minimum delivery quantity for scale-out. |
1 |