com.pulumi.gcp.appengine.kotlin.outputs.StandardAppVersionBasicScaling.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property idleTimeout Duration of time after the last request that an instance must wait before the instance is shut down.
* A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Defaults to 900s.
* @property maxInstances Maximum number of instances to create for this version. Must be in the range [1.0, 200.0].
*/
public data class StandardAppVersionBasicScaling(
public val idleTimeout: String? = null,
public val maxInstances: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.StandardAppVersionBasicScaling): StandardAppVersionBasicScaling = StandardAppVersionBasicScaling(
idleTimeout = javaType.idleTimeout().map({ args0 -> args0 }).orElse(null),
maxInstances = javaType.maxInstances(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy