FlexibleAppVersionAutomaticScalingArgs

data class FlexibleAppVersionAutomaticScalingArgs(val coolDownPeriod: Output<String>? = null, val cpuUtilization: Output<FlexibleAppVersionAutomaticScalingCpuUtilizationArgs>, val diskUtilization: Output<FlexibleAppVersionAutomaticScalingDiskUtilizationArgs>? = null, val maxConcurrentRequests: Output<Int>? = null, val maxIdleInstances: Output<Int>? = null, val maxPendingLatency: Output<String>? = null, val maxTotalInstances: Output<Int>? = null, val minIdleInstances: Output<Int>? = null, val minPendingLatency: Output<String>? = null, val minTotalInstances: Output<Int>? = null, val networkUtilization: Output<FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs>? = null, val requestUtilization: Output<FlexibleAppVersionAutomaticScalingRequestUtilizationArgs>? = null) : ConvertibleToJava<FlexibleAppVersionAutomaticScalingArgs>

Constructors

Link copied to clipboard
constructor(coolDownPeriod: Output<String>? = null, cpuUtilization: Output<FlexibleAppVersionAutomaticScalingCpuUtilizationArgs>, diskUtilization: Output<FlexibleAppVersionAutomaticScalingDiskUtilizationArgs>? = null, maxConcurrentRequests: Output<Int>? = null, maxIdleInstances: Output<Int>? = null, maxPendingLatency: Output<String>? = null, maxTotalInstances: Output<Int>? = null, minIdleInstances: Output<Int>? = null, minPendingLatency: Output<String>? = null, minTotalInstances: Output<Int>? = null, networkUtilization: Output<FlexibleAppVersionAutomaticScalingNetworkUtilizationArgs>? = null, requestUtilization: Output<FlexibleAppVersionAutomaticScalingRequestUtilizationArgs>? = null)

Properties

Link copied to clipboard
val coolDownPeriod: Output<String>? = null

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

Link copied to clipboard

Target scaling by CPU usage. Structure is documented below.

Link copied to clipboard

Target scaling by disk usage. Structure is documented below.

Link copied to clipboard
val maxConcurrentRequests: Output<Int>? = null

Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.

Link copied to clipboard
val maxIdleInstances: Output<Int>? = null

Maximum number of idle instances that should be maintained for this version.

Link copied to clipboard
val maxPendingLatency: Output<String>? = null

Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.

Link copied to clipboard
val maxTotalInstances: Output<Int>? = null

Maximum number of instances that should be started to handle requests for this version. Default: 20

Link copied to clipboard
val minIdleInstances: Output<Int>? = null

Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.

Link copied to clipboard
val minPendingLatency: Output<String>? = null

Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.

Link copied to clipboard
val minTotalInstances: Output<Int>? = null

Minimum number of running instances that should be maintained for this version. Default: 2

Link copied to clipboard

Target scaling by network usage. Structure is documented below.

Link copied to clipboard

Target scaling by request utilization. Structure is documented below.

Functions

Link copied to clipboard
open override fun toJava(): FlexibleAppVersionAutomaticScalingArgs