com.pulumi.azure.network.kotlin.inputs.ApplicationGatewaySkuArgs.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.network.kotlin.inputs
import com.pulumi.azure.network.inputs.ApplicationGatewaySkuArgs.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 capacity The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. This property is optional if `autoscale_configuration` is set.
* @property name The Name of the SKU to use for this Application Gateway. Possible values are `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`.
* @property tier The Tier of the SKU to use for this Application Gateway. Possible values are `Standard`, `Standard_v2`, `WAF` and `WAF_v2`.
* !> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details.
*/
public data class ApplicationGatewaySkuArgs(
public val capacity: Output? = null,
public val name: Output,
public val tier: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewaySkuArgs =
com.pulumi.azure.network.inputs.ApplicationGatewaySkuArgs.builder()
.capacity(capacity?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.tier(tier.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationGatewaySkuArgs].
*/
@PulumiTagMarker
public class ApplicationGatewaySkuArgsBuilder internal constructor() {
private var capacity: Output? = null
private var name: Output? = null
private var tier: Output? = null
/**
* @param value The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. This property is optional if `autoscale_configuration` is set.
*/
@JvmName("wtdqowmqsbrwvtud")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value The Name of the SKU to use for this Application Gateway. Possible values are `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`.
*/
@JvmName("uyhostnoilqhqhpf")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The Tier of the SKU to use for this Application Gateway. Possible values are `Standard`, `Standard_v2`, `WAF` and `WAF_v2`.
* !> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details.
*/
@JvmName("xluunfhdgdvydubq")
public suspend fun tier(`value`: Output) {
this.tier = value
}
/**
* @param value The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. This property is optional if `autoscale_configuration` is set.
*/
@JvmName("rujpgvstcgtkchdr")
public suspend fun capacity(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.capacity = mapped
}
/**
* @param value The Name of the SKU to use for this Application Gateway. Possible values are `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`.
*/
@JvmName("ajgytpmwulwranep")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The Tier of the SKU to use for this Application Gateway. Possible values are `Standard`, `Standard_v2`, `WAF` and `WAF_v2`.
* !> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details.
*/
@JvmName("fovadtcxxenwgumw")
public suspend fun tier(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tier = mapped
}
internal fun build(): ApplicationGatewaySkuArgs = ApplicationGatewaySkuArgs(
capacity = capacity,
name = name ?: throw PulumiNullFieldException("name"),
tier = tier ?: throw PulumiNullFieldException("tier"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy