FreeRamScalingRule object
It is used in combination with the user defined Scaling Metrics.
Polymorphism
FreeRamScalingRule is a type that implements the BasicScalingRule type.
When an object of type BasicScalingRule is expected, you can use one of type FreeRamScalingRule (or use any other implementation).
Example JSON representation
{
"name": "FreeRam",
"ruleType": "FreeRamScalingRule",
"scaleDown": 1.0,
"scaleUp": 1.0,
"useCachedRam": true
}
Properties
property | attributes | valid values | description | filter option |
---|---|---|---|---|
name string |
required create-only filterable |
"FreeRam" | Scaling rule name. |
?name=... |
ruleType string |
required create-only filterable |
"FreeRamScalingRule" | ?ruleType=... | |
scaleDown number |
required |
Scale down threshold. |
||
scaleUp number |
required |
Scale up threshold. |
||
useCachedRam boolean |
optional |
Whether the cached RAM is counted as free RAM in the metric computation. |