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

com.pulumi.gcp.bigquery.kotlin.outputs.ReservationAutoscale.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.12.0.0
Show newest version
@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