AutomaticScalingArgs

data class AutomaticScalingArgs(val coolDownPeriod: Output<String>? = null, val cpuUtilization: Output<CpuUtilizationArgs>? = null, val customMetrics: Output<List<CustomMetricArgs>>? = null, val diskUtilization: Output<DiskUtilizationArgs>? = 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<NetworkUtilizationArgs>? = null, val requestUtilization: Output<RequestUtilizationArgs>? = null, val standardSchedulerSettings: Output<StandardSchedulerSettingsArgs>? = null) : ConvertibleToJava<AutomaticScalingArgs>

Automatic scaling is based on request rate, response latencies, and other application metrics.

Constructors

Link copied to clipboard
fun AutomaticScalingArgs(coolDownPeriod: Output<String>? = null, cpuUtilization: Output<CpuUtilizationArgs>? = null, customMetrics: Output<List<CustomMetricArgs>>? = null, diskUtilization: Output<DiskUtilizationArgs>? = 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<NetworkUtilizationArgs>? = null, requestUtilization: Output<RequestUtilizationArgs>? = null, standardSchedulerSettings: Output<StandardSchedulerSettingsArgs>? = null)

Functions

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

Properties

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

The time period that the Autoscaler (https://cloud.google.com/compute/docs/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. Only applicable in the App Engine flexible environment.

Link copied to clipboard
val cpuUtilization: Output<CpuUtilizationArgs>? = null

Target scaling by CPU usage.

Link copied to clipboard
val customMetrics: Output<List<CustomMetricArgs>>? = null

Target scaling by user-provided metrics. Only applicable in the App Engine flexible environment.

Link copied to clipboard

Target scaling by disk usage.

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.

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.

Link copied to clipboard

Target scaling by network usage.

Link copied to clipboard

Target scaling by request utilization.

Link copied to clipboard

Scheduler settings for standard environment.