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

com.pulumi.azure.cosmosdb.kotlin.outputs.MongoCollectionAutoscaleSettings.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.cosmosdb.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @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 MongoCollectionAutoscaleSettings(
    public val maxThroughput: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.MongoCollectionAutoscaleSettings): MongoCollectionAutoscaleSettings = MongoCollectionAutoscaleSettings(
            maxThroughput = javaType.maxThroughput().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy