com.pulumi.azure.cosmosdb.kotlin.inputs.AccountCapacityArgs.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.cosmosdb.kotlin.inputs
import com.pulumi.azure.cosmosdb.inputs.AccountCapacityArgs.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.Suppress
import kotlin.jvm.JvmName
/**
*
* @property totalThroughputLimit The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.
*/
public data class AccountCapacityArgs(
public val totalThroughputLimit: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.AccountCapacityArgs =
com.pulumi.azure.cosmosdb.inputs.AccountCapacityArgs.builder()
.totalThroughputLimit(totalThroughputLimit.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccountCapacityArgs].
*/
@PulumiTagMarker
public class AccountCapacityArgsBuilder internal constructor() {
private var totalThroughputLimit: Output? = null
/**
* @param value The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.
*/
@JvmName("wxqdaphirkcivjqc")
public suspend fun totalThroughputLimit(`value`: Output) {
this.totalThroughputLimit = value
}
/**
* @param value The total throughput limit imposed on this Cosmos DB account (RU/s). Possible values are at least `-1`. `-1` means no limit.
*/
@JvmName("wllancngyqxlbloo")
public suspend fun totalThroughputLimit(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.totalThroughputLimit = mapped
}
internal fun build(): AccountCapacityArgs = AccountCapacityArgs(
totalThroughputLimit = totalThroughputLimit ?: throw
PulumiNullFieldException("totalThroughputLimit"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy