All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionAutomaticScalingCpuUtilization.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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