Policy class
Policy for the autoscaler.
Constructors
- Policy({ConnectionsCount? connectionsCount, String? coolDownPeriodSec, CpuUtilization? cpuUtilization, bool? enabled, String? maxNodeCount})
- Policy.fromJson(Map json_)
Properties
- connectionsCount ↔ ConnectionsCount?
-
Connections count policy for the autoscaler.
getter/setter pair
- coolDownPeriodSec ↔ String?
-
The period of time in seconds after a new node is created before the
autoscaler will incorporate its resource usage (e.g. CPU utilization) into
the autoscaling recommendation algorithm.
getter/setter pair
- cpuUtilization ↔ CpuUtilization?
-
CPU utilization policy for the autoscaler.
getter/setter pair
- enabled ↔ bool?
-
If true, autoscaling is enabled for the instance.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxNodeCount ↔ String?
-
Maximum number of nodes for the autoscaler.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited