com.pulumi.gcp.cloudrunv2.kotlin.outputs.ServiceTemplateScaling.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.cloudrunv2.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property maxInstanceCount Maximum number of serving instances that this resource should have.
* @property minInstanceCount Minimum number of instances for the service, to be divided among all revisions receiving traffic.
*/
public data class ServiceTemplateScaling(
public val maxInstanceCount: Int? = null,
public val minInstanceCount: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrunv2.outputs.ServiceTemplateScaling): ServiceTemplateScaling = ServiceTemplateScaling(
maxInstanceCount = javaType.maxInstanceCount().map({ args0 -> args0 }).orElse(null),
minInstanceCount = javaType.minInstanceCount().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy