com.pulumi.azure.cosmosdb.kotlin.outputs.GetAccountConsistencyPolicy.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.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property consistencyLevel The Consistency Level used by this CosmosDB Account.
* @property maxIntervalInSeconds The amount of staleness (in seconds) tolerated when the consistency level is Bounded Staleness.
* @property maxStalenessPrefix The number of stale requests tolerated when the consistency level is Bounded Staleness.
*/
public data class GetAccountConsistencyPolicy(
public val consistencyLevel: String,
public val maxIntervalInSeconds: Int,
public val maxStalenessPrefix: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.GetAccountConsistencyPolicy):
GetAccountConsistencyPolicy = GetAccountConsistencyPolicy(
consistencyLevel = javaType.consistencyLevel(),
maxIntervalInSeconds = javaType.maxIntervalInSeconds(),
maxStalenessPrefix = javaType.maxStalenessPrefix(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy