FlexibleAppVersionAutomaticScaling class

Constructors

FlexibleAppVersionAutomaticScaling({Input<String?>? coolDownPeriod, required Input<FlexibleAppVersionAutomaticScalingCpuUtilization> cpuUtilization, Input<FlexibleAppVersionAutomaticScalingDiskUtilization?>? diskUtilization, Input<int?>? maxConcurrentRequests, Input<int?>? maxIdleInstances, Input<String?>? maxPendingLatency, Input<int?>? maxTotalInstances, Input<int?>? minIdleInstances, Input<String?>? minPendingLatency, Input<int?>? minTotalInstances, Input<FlexibleAppVersionAutomaticScalingNetworkUtilization?>? networkUtilization, Input<FlexibleAppVersionAutomaticScalingRequestUtilization?>? requestUtilization})
Creates a new FlexibleAppVersionAutomaticScaling. coolDownPeriod The time period that the Autoscaler should wait before it starts collecting information from a new instance. cpuUtilization Target scaling by CPU usage. diskUtilization Target scaling by disk usage. maxConcurrentRequests Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. maxIdleInstances Maximum number of idle instances that should be maintained for this version. maxPendingLatency Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. maxTotalInstances Maximum number of instances that should be started to handle requests for this version. Default: 20 minIdleInstances Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service. minPendingLatency Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. minTotalInstances Minimum number of running instances that should be maintained for this version. Default: 2 networkUtilization Target scaling by network usage. requestUtilization Target scaling by request utilization.
const
FlexibleAppVersionAutomaticScaling.fromMap(Map<String, dynamic> map)
factory

Properties

coolDownPeriod → Input<String?>?
The time period that the Autoscaler should wait before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Default: 120s
final
cpuUtilization → Input<FlexibleAppVersionAutomaticScalingCpuUtilization>
Target scaling by CPU usage. Structure is documented below.
final
diskUtilization → Input<FlexibleAppVersionAutomaticScalingDiskUtilization?>?
Target scaling by disk usage. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
maxConcurrentRequests → Input<int?>?
Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.
final
maxIdleInstances → Input<int?>?
Maximum number of idle instances that should be maintained for this version.
final
maxPendingLatency → Input<String?>?
Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
final
maxTotalInstances → Input<int?>?
Maximum number of instances that should be started to handle requests for this version. Default: 20
final
minIdleInstances → Input<int?>?
Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
final
minPendingLatency → Input<String?>?
Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.
final
minTotalInstances → Input<int?>?
Minimum number of running instances that should be maintained for this version. Default: 2
final
networkUtilization → Input<FlexibleAppVersionAutomaticScalingNetworkUtilization?>?
Target scaling by network usage. Structure is documented below.
final
requestUtilization → Input<FlexibleAppVersionAutomaticScalingRequestUtilization?>?
Target scaling by request utilization. Structure is documented below.
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited