![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.testbase.kotlin.inputs.TestBaseAccountSKUArgs.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.testbase.kotlin.inputs
import com.pulumi.azurenative.testbase.inputs.TestBaseAccountSKUArgs.builder
import com.pulumi.azurenative.testbase.kotlin.enums.Tier
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.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Describes a Test Base Account SKU.
* @property locations The locations that the SKU is available.
* @property name The name of the SKU. This is typically a letter + number code, such as B0 or S0.
* @property resourceType The type of resource the SKU applies to.
* @property tier The tier of this particular SKU.
*/
public data class TestBaseAccountSKUArgs(
public val locations: Output>? = null,
public val name: Output,
public val resourceType: Output? = null,
public val tier: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.testbase.inputs.TestBaseAccountSKUArgs =
com.pulumi.azurenative.testbase.inputs.TestBaseAccountSKUArgs.builder()
.locations(locations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name.applyValue({ args0 -> args0 }))
.resourceType(resourceType?.applyValue({ args0 -> args0 }))
.tier(
tier.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TestBaseAccountSKUArgs].
*/
@PulumiTagMarker
public class TestBaseAccountSKUArgsBuilder internal constructor() {
private var locations: Output>? = null
private var name: Output? = null
private var resourceType: Output? = null
private var tier: Output>? = null
/**
* @param value The locations that the SKU is available.
*/
@JvmName("wtydijxoanirhaqj")
public suspend fun locations(`value`: Output>) {
this.locations = value
}
@JvmName("dptkaavrjqmmteax")
public suspend fun locations(vararg values: Output) {
this.locations = Output.all(values.asList())
}
/**
* @param values The locations that the SKU is available.
*/
@JvmName("qehtfautfrvyxhxh")
public suspend fun locations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy