![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.nginx.kotlin.inputs.DeploymentAutoScaleProfileArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.nginx.kotlin.inputs
import com.pulumi.azure.nginx.inputs.DeploymentAutoScaleProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property maxCapacity
* @property minCapacity Specify the minimum number of NGINX capacity units for this NGINX Deployment.
* @property name Specify the name of the autoscaling profile.
*/
public data class DeploymentAutoScaleProfileArgs(
public val maxCapacity: Output,
public val minCapacity: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.nginx.inputs.DeploymentAutoScaleProfileArgs =
com.pulumi.azure.nginx.inputs.DeploymentAutoScaleProfileArgs.builder()
.maxCapacity(maxCapacity.applyValue({ args0 -> args0 }))
.minCapacity(minCapacity.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeploymentAutoScaleProfileArgs].
*/
@PulumiTagMarker
public class DeploymentAutoScaleProfileArgsBuilder internal constructor() {
private var maxCapacity: Output? = null
private var minCapacity: Output? = null
private var name: Output? = null
/**
* @param value
*/
@JvmName("htpipsbcenjdflsd")
public suspend fun maxCapacity(`value`: Output) {
this.maxCapacity = value
}
/**
* @param value Specify the minimum number of NGINX capacity units for this NGINX Deployment.
*/
@JvmName("rnowjoqhvmevjenf")
public suspend fun minCapacity(`value`: Output) {
this.minCapacity = value
}
/**
* @param value Specify the name of the autoscaling profile.
*/
@JvmName("jeywkrspdbpnvdux")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("ctbhcmovipurngjc")
public suspend fun maxCapacity(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.maxCapacity = mapped
}
/**
* @param value Specify the minimum number of NGINX capacity units for this NGINX Deployment.
*/
@JvmName("lmpsjwbytjhjdglo")
public suspend fun minCapacity(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.minCapacity = mapped
}
/**
* @param value Specify the name of the autoscaling profile.
*/
@JvmName("wqeromtcgsdubfhd")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): DeploymentAutoScaleProfileArgs = DeploymentAutoScaleProfileArgs(
maxCapacity = maxCapacity ?: throw PulumiNullFieldException("maxCapacity"),
minCapacity = minCapacity ?: throw PulumiNullFieldException("minCapacity"),
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy