AutomaticScaling class
Automatic scaling is based on request rate, response latencies, and other application metrics.
Constructors
- AutomaticScaling({String? coolDownPeriod, CpuUtilization? cpuUtilization, DiskUtilization? diskUtilization, int? maxConcurrentRequests, int? maxIdleInstances, String? maxPendingLatency, int? maxTotalInstances, int? minIdleInstances, String? minPendingLatency, int? minTotalInstances, NetworkUtilization? networkUtilization, RequestUtilization? requestUtilization, StandardSchedulerSettings? standardSchedulerSettings})
- AutomaticScaling.fromJson(Map json_)
Properties
- coolDownPeriod ↔ String?
-
The time period that the Autoscaler
(https://cloud.google.com/compute/docs/autoscaler/) should wait before it
starts collecting information from a new instance.
getter/setter pair
- cpuUtilization ↔ CpuUtilization?
-
Target scaling by CPU usage.
getter/setter pair
- diskUtilization ↔ DiskUtilization?
-
Target scaling by disk usage.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxConcurrentRequests ↔ int?
-
Number of concurrent requests an automatic scaling instance can accept
before the scheduler spawns a new instance.Defaults to a runtime-specific
value.
getter/setter pair
- maxIdleInstances ↔ int?
-
Maximum number of idle instances that should be maintained for this
version.
getter/setter pair
- maxPendingLatency ↔ String?
-
Maximum amount of time that a request should wait in the pending queue
before starting a new instance to handle it.
getter/setter pair
- maxTotalInstances ↔ int?
-
Maximum number of instances that should be started to handle requests for
this version.
getter/setter pair
- minIdleInstances ↔ int?
-
Minimum number of idle instances that should be maintained for this
version.
getter/setter pair
- minPendingLatency ↔ String?
-
Minimum amount of time a request should wait in the pending queue before
starting a new instance to handle it.
getter/setter pair
- minTotalInstances ↔ int?
-
Minimum number of running instances that should be maintained for this
version.
getter/setter pair
- networkUtilization ↔ NetworkUtilization?
-
Target scaling by network usage.
getter/setter pair
- requestUtilization ↔ RequestUtilization?
-
Target scaling by request utilization.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- standardSchedulerSettings ↔ StandardSchedulerSettings?
-
Scheduler settings for standard environment.
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