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.
coolDownPeriodThe time period that the Autoscaler should wait before it starts collecting information from a new instance.cpuUtilizationTarget scaling by CPU usage.diskUtilizationTarget scaling by disk usage.maxConcurrentRequestsNumber of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.maxIdleInstancesMaximum number of idle instances that should be maintained for this version.maxPendingLatencyMaximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.maxTotalInstancesMaximum number of instances that should be started to handle requests for this version. Default: 20minIdleInstancesMinimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.minPendingLatencyMinimum amount of time a request should wait in the pending queue before starting a new instance to handle it.minTotalInstancesMinimum number of running instances that should be maintained for this version. Default: 2networkUtilizationTarget scaling by network usage.requestUtilizationTarget 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