com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionAutomaticScalingCpuUtilization.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.appengine.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property aggregationWindowLength Period of time over which CPU utilization is calculated.
* @property targetUtilization Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1.
*/
public data class FlexibleAppVersionAutomaticScalingCpuUtilization(
public val aggregationWindowLength: String? = null,
public val targetUtilization: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.FlexibleAppVersionAutomaticScalingCpuUtilization): FlexibleAppVersionAutomaticScalingCpuUtilization =
FlexibleAppVersionAutomaticScalingCpuUtilization(
aggregationWindowLength = javaType.aggregationWindowLength().map({ args0 -> args0 }).orElse(null),
targetUtilization = javaType.targetUtilization(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy