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

com.pulumi.gcp.appengine.kotlin.outputs.StandardAppVersionBasicScaling.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.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