AutoscalingPolicy class
Cloud Autoscaler policy.
Constructors
-
AutoscalingPolicy({int? coolDownPeriodSec, AutoscalingPolicyCpuUtilization? cpuUtilization, List<
AutoscalingPolicyCustomMetricUtilization> ? customMetricUtilizations, AutoscalingPolicyLoadBalancingUtilization? loadBalancingUtilization, int? maxNumReplicas, int? minNumReplicas, String? mode, AutoscalingPolicyScaleInControl? scaleInControl, Map<String, AutoscalingPolicyScalingSchedule> ? scalingSchedules}) - AutoscalingPolicy.fromJson(Map json_)
Properties
- coolDownPeriodSec ↔ int?
-
The number of seconds that your application takes to initialize on a VM
instance.
getter/setter pair
- cpuUtilization ↔ AutoscalingPolicyCpuUtilization?
-
Defines the CPU utilization policy that allows the autoscaler to scale
based on the average CPU utilization of a managed instance group.
getter/setter pair
-
customMetricUtilizations
↔ List<
AutoscalingPolicyCustomMetricUtilization> ? -
Configuration parameters of autoscaling based on a custom metric.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadBalancingUtilization ↔ AutoscalingPolicyLoadBalancingUtilization?
-
Configuration parameters of autoscaling based on load balancer.
getter/setter pair
- maxNumReplicas ↔ int?
-
The maximum number of instances that the autoscaler can scale out to.
getter/setter pair
- minNumReplicas ↔ int?
-
The minimum number of replicas that the autoscaler can scale in to.
getter/setter pair
- mode ↔ String?
-
Defines the operating mode for this policy.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleInControl ↔ AutoscalingPolicyScaleInControl?
-
getter/setter pair
-
scalingSchedules
↔ Map<
String, AutoscalingPolicyScalingSchedule> ? -
Scaling schedules defined for an autoscaler.
getter/setter pair
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