![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.iot.kotlin.inputs.IotHubDpsSkuArgs.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.iot.kotlin.inputs
import com.pulumi.azure.iot.inputs.IotHubDpsSkuArgs.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 number of provisioned IoT Device Provisioning Service units.
* @property name The name of the sku. Currently can only be set to `S1`.
*/
public data class IotHubDpsSkuArgs(
public val capacity: Output,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.iot.inputs.IotHubDpsSkuArgs =
com.pulumi.azure.iot.inputs.IotHubDpsSkuArgs.builder()
.capacity(capacity.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IotHubDpsSkuArgs].
*/
@PulumiTagMarker
public class IotHubDpsSkuArgsBuilder internal constructor() {
private var capacity: Output? = null
private var name: Output? = null
/**
* @param value The number of provisioned IoT Device Provisioning Service units.
*/
@JvmName("pacbfxiwdknjdvks")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value The name of the sku. Currently can only be set to `S1`.
*/
@JvmName("mdwwnmbndpdghkdy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The number of provisioned IoT Device Provisioning Service units.
*/
@JvmName("xkhcxnsfwdxywpah")
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. Currently can only be set to `S1`.
*/
@JvmName("ihieunlmfxjmmjet")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): IotHubDpsSkuArgs = IotHubDpsSkuArgs(
capacity = capacity ?: throw PulumiNullFieldException("capacity"),
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy