ServiceTemplateScalingArgs

data class ServiceTemplateScalingArgs(val maxInstanceCount: Output<Int>? = null, val minInstanceCount: Output<Int>? = null) : ConvertibleToJava<ServiceTemplateScalingArgs>

Constructors

Link copied to clipboard
constructor(maxInstanceCount: Output<Int>? = null, minInstanceCount: Output<Int>? = null)

Properties

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

Maximum number of serving instances that this resource should have. Must not be less than minimum instance count. If absent, Cloud Run will calculate a default value based on the project's available container instances quota in the region and specified instance size.

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

Minimum number of instances for the service, to be divided among all revisions receiving traffic.

Functions

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