HPAScalingPolicy class
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
Constructors
- HPAScalingPolicy({required int periodSeconds, required String type, required int value})
-
Default constructor.
const
-
HPAScalingPolicy.fromJson(Map<
String, dynamic> json) -
Creates a HPAScalingPolicy from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- periodSeconds → int
-
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
type is used to specify the scaling policy.
final
- value → int
-
value contains the amount of change which is permitted by the policy. It must be greater than zero.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a HPAScalingPolicy instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited