![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.vmwarecloudsimple.kotlin.inputs.SkuArgs.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.vmwarecloudsimple.kotlin.inputs
import com.pulumi.azurenative.vmwarecloudsimple.inputs.SkuArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The purchase SKU for CloudSimple paid resources
* @property capacity The capacity of the SKU
* @property description dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...
* @property family If the service has different generations of hardware, for the same SKU, then that can be captured here
* @property name The name of the SKU for VMWare CloudSimple Node
* @property tier The tier of the SKU
*/
public data class SkuArgs(
public val capacity: Output? = null,
public val description: Output? = null,
public val family: Output? = null,
public val name: Output,
public val tier: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.vmwarecloudsimple.inputs.SkuArgs =
com.pulumi.azurenative.vmwarecloudsimple.inputs.SkuArgs.builder()
.capacity(capacity?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.family(family?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.tier(tier?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SkuArgs].
*/
@PulumiTagMarker
public class SkuArgsBuilder internal constructor() {
private var capacity: Output? = null
private var description: Output? = null
private var family: Output? = null
private var name: Output? = null
private var tier: Output? = null
/**
* @param value The capacity of the SKU
*/
@JvmName("uhwfmfiqjtnnjqtw")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...
*/
@JvmName("yytmystkvewjkpwd")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value If the service has different generations of hardware, for the same SKU, then that can be captured here
*/
@JvmName("sjxreytyjjwgwlni")
public suspend fun family(`value`: Output) {
this.family = value
}
/**
* @param value The name of the SKU for VMWare CloudSimple Node
*/
@JvmName("iulgsjyschpjbipt")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The tier of the SKU
*/
@JvmName("rplyldtvpotttlgp")
public suspend fun tier(`value`: Output) {
this.tier = value
}
/**
* @param value The capacity of the SKU
*/
@JvmName("xouhpppedyfnhoqf")
public suspend fun capacity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.capacity = mapped
}
/**
* @param value dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...
*/
@JvmName("mphlvixqhojffuqe")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value If the service has different generations of hardware, for the same SKU, then that can be captured here
*/
@JvmName("qjmwwhhmyikketqu")
public suspend fun family(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.family = mapped
}
/**
* @param value The name of the SKU for VMWare CloudSimple Node
*/
@JvmName("gslgefktdeobxrif")
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
*/
@JvmName("vuqlfaqyoolddyjr")
public suspend fun tier(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tier = mapped
}
internal fun build(): SkuArgs = SkuArgs(
capacity = capacity,
description = description,
family = family,
name = name ?: throw PulumiNullFieldException("name"),
tier = tier,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy