DropletAutoscaleConfigArgs

data class DropletAutoscaleConfigArgs(val cooldownMinutes: Output<Int>? = null, val maxInstances: Output<Int>? = null, val minInstances: Output<Int>? = null, val targetCpuUtilization: Output<Double>? = null, val targetMemoryUtilization: Output<Double>? = null, val targetNumberInstances: Output<Int>? = null) : ConvertibleToJava<DropletAutoscaleConfigArgs>

Constructors

Link copied to clipboard
constructor(cooldownMinutes: Output<Int>? = null, maxInstances: Output<Int>? = null, minInstances: Output<Int>? = null, targetCpuUtilization: Output<Double>? = null, targetMemoryUtilization: Output<Double>? = null, targetNumberInstances: Output<Int>? = null)

Properties

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

The cooldown duration between scaling events for the Droplet Autoscale pool.

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

The maximum number of instances to maintain in the Droplet Autoscale pool.

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

The minimum number of instances to maintain in the Droplet Autoscale pool.

Link copied to clipboard
val targetCpuUtilization: Output<Double>? = null

The target average CPU load (in range [0, 1]) to maintain in the Droplet Autoscale pool.

Link copied to clipboard
val targetMemoryUtilization: Output<Double>? = null

The target average Memory load (in range [0, 1]) to maintain in the Droplet Autoscale pool.

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

The static number of instances to maintain in the pool Droplet Autoscale pool. This argument cannot be used with any other config options.

Functions

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