com.pulumi.gcp.bigquery.kotlin.outputs.ReservationAutoscale.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.bigquery.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property currentSlots (Output)
* The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].
* @property maxSlots Number of slots to be scaled when needed.
*/
public data class ReservationAutoscale(
public val currentSlots: Int? = null,
public val maxSlots: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.ReservationAutoscale): ReservationAutoscale = ReservationAutoscale(
currentSlots = javaType.currentSlots().map({ args0 -> args0 }).orElse(null),
maxSlots = javaType.maxSlots().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy