![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.CosmosDbSettingsArgs.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.machinelearningservices.kotlin.inputs
import com.pulumi.azurenative.machinelearningservices.inputs.CosmosDbSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property collectionsThroughput The throughput of the collections in cosmosdb database
*/
public data class CosmosDbSettingsArgs(
public val collectionsThroughput: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.CosmosDbSettingsArgs = com.pulumi.azurenative.machinelearningservices.inputs.CosmosDbSettingsArgs.builder()
.collectionsThroughput(collectionsThroughput?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CosmosDbSettingsArgs].
*/
@PulumiTagMarker
public class CosmosDbSettingsArgsBuilder internal constructor() {
private var collectionsThroughput: Output? = null
/**
* @param value The throughput of the collections in cosmosdb database
*/
@JvmName("bpncrivfhyeefoyf")
public suspend fun collectionsThroughput(`value`: Output) {
this.collectionsThroughput = value
}
/**
* @param value The throughput of the collections in cosmosdb database
*/
@JvmName("pvyqrbtonjhldrro")
public suspend fun collectionsThroughput(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.collectionsThroughput = mapped
}
internal fun build(): CosmosDbSettingsArgs = CosmosDbSettingsArgs(
collectionsThroughput = collectionsThroughput,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy