All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.cosmosdb.kotlin.inputs.MongoCollectionAutoscaleSettingsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cosmosdb.kotlin.inputs

import com.pulumi.azure.cosmosdb.inputs.MongoCollectionAutoscaleSettingsArgs.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 maxThroughput The maximum throughput of the MongoDB collection (RU/s). Must be between `1,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
 */
public data class MongoCollectionAutoscaleSettingsArgs(
    public val maxThroughput: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.cosmosdb.inputs.MongoCollectionAutoscaleSettingsArgs =
        com.pulumi.azure.cosmosdb.inputs.MongoCollectionAutoscaleSettingsArgs.builder()
            .maxThroughput(maxThroughput?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MongoCollectionAutoscaleSettingsArgs].
 */
@PulumiTagMarker
public class MongoCollectionAutoscaleSettingsArgsBuilder internal constructor() {
    private var maxThroughput: Output? = null

    /**
     * @param value The maximum throughput of the MongoDB collection (RU/s). Must be between `1,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
     */
    @JvmName("rxkoewuctnxccyqn")
    public suspend fun maxThroughput(`value`: Output) {
        this.maxThroughput = value
    }

    /**
     * @param value The maximum throughput of the MongoDB collection (RU/s). Must be between `1,000` and `1,000,000`. Must be set in increments of `1,000`. Conflicts with `throughput`.
     */
    @JvmName("ouxwcrxhnhyeklgh")
    public suspend fun maxThroughput(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxThroughput = mapped
    }

    internal fun build(): MongoCollectionAutoscaleSettingsArgs = MongoCollectionAutoscaleSettingsArgs(
        maxThroughput = maxThroughput,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy