![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.network.kotlin.inputs.ExpressRouteGatewayPropertiesBoundsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ExpressRouteGatewayPropertiesBoundsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Minimum and maximum number of scale units to deploy.
* @property max Maximum number of scale units deployed for ExpressRoute gateway.
* @property min Minimum number of scale units deployed for ExpressRoute gateway.
*/
public data class ExpressRouteGatewayPropertiesBoundsArgs(
public val max: Output? = null,
public val min: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ExpressRouteGatewayPropertiesBoundsArgs =
com.pulumi.azurenative.network.inputs.ExpressRouteGatewayPropertiesBoundsArgs.builder()
.max(max?.applyValue({ args0 -> args0 }))
.min(min?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ExpressRouteGatewayPropertiesBoundsArgs].
*/
@PulumiTagMarker
public class ExpressRouteGatewayPropertiesBoundsArgsBuilder internal constructor() {
private var max: Output? = null
private var min: Output? = null
/**
* @param value Maximum number of scale units deployed for ExpressRoute gateway.
*/
@JvmName("oewcjxvrxmebjjdm")
public suspend fun max(`value`: Output) {
this.max = value
}
/**
* @param value Minimum number of scale units deployed for ExpressRoute gateway.
*/
@JvmName("oyyngrjtjwgwlnuy")
public suspend fun min(`value`: Output) {
this.min = value
}
/**
* @param value Maximum number of scale units deployed for ExpressRoute gateway.
*/
@JvmName("abdijncofhjqbvon")
public suspend fun max(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.max = mapped
}
/**
* @param value Minimum number of scale units deployed for ExpressRoute gateway.
*/
@JvmName("gdwfsobpihjyyorh")
public suspend fun min(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.min = mapped
}
internal fun build(): ExpressRouteGatewayPropertiesBoundsArgs =
ExpressRouteGatewayPropertiesBoundsArgs(
max = max,
min = min,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy