maxReplicaCount

@JvmName(name = "lbhlesdwgjspjvyk")
suspend fun maxReplicaCount(value: Output<Int>)
@JvmName(name = "ssyamwvsrbpfuorv")
suspend fun maxReplicaCount(value: Int?)

Parameters

value

The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If maxReplicaCount is not set, the default value is minReplicaCount. The max allowed replica count is 1000. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, a no upper bound for scaling under heavy traffic will be assume, though Vertex AI may be unable to scale beyond certain replica number.