
com.pulumi.azurenative.containerservice.kotlin.inputs.ManagedClusterSKUArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerservice.kotlin.inputs
import com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs.builder
import com.pulumi.azurenative.containerservice.kotlin.enums.ManagedClusterSKUName
import com.pulumi.azurenative.containerservice.kotlin.enums.ManagedClusterSKUTier
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The SKU of a Managed Cluster.
* @property name The name of a managed cluster SKU.
* @property tier If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
*/
public data class ManagedClusterSKUArgs(
public val name: Output>? = null,
public val tier: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs =
com.pulumi.azurenative.containerservice.inputs.ManagedClusterSKUArgs.builder()
.name(
name?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.tier(
tier?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ManagedClusterSKUArgs].
*/
@PulumiTagMarker
public class ManagedClusterSKUArgsBuilder internal constructor() {
private var name: Output>? = null
private var tier: Output>? = null
/**
* @param value The name of a managed cluster SKU.
*/
@JvmName("mshnlluguahlchfq")
public suspend fun name(`value`: Output>) {
this.name = value
}
/**
* @param value If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
*/
@JvmName("ivgefpkgtbobrpvy")
public suspend fun tier(`value`: Output>) {
this.tier = value
}
/**
* @param value The name of a managed cluster SKU.
*/
@JvmName("qswdoudhymypusax")
public suspend fun name(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The name of a managed cluster SKU.
*/
@JvmName("ldvxylltgchotnwg")
public fun name(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The name of a managed cluster SKU.
*/
@JvmName("firgwinafmsfdnoq")
public fun name(`value`: ManagedClusterSKUName) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
*/
@JvmName("bgwehwyewxgqowxg")
public suspend fun tier(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tier = mapped
}
/**
* @param value If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
*/
@JvmName("cwctfvcmnqeprnea")
public fun tier(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tier = mapped
}
/**
* @param value If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
*/
@JvmName("wghkxkjwwwwbqobm")
public fun tier(`value`: ManagedClusterSKUTier) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tier = mapped
}
internal fun build(): ManagedClusterSKUArgs = ManagedClusterSKUArgs(
name = name,
tier = tier,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy