![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.cosmosdb.kotlin.outputs.SqlContainerConflictResolutionPolicy.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.String
import kotlin.Suppress
/**
*
* @property conflictResolutionPath The conflict resolution path in the case of `LastWriterWins` mode.
* @property conflictResolutionProcedure The procedure to resolve conflicts in the case of `Custom` mode.
* @property mode Indicates the conflict resolution mode. Possible values include: `LastWriterWins`, `Custom`.
*/
public data class SqlContainerConflictResolutionPolicy(
public val conflictResolutionPath: String? = null,
public val conflictResolutionProcedure: String? = null,
public val mode: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cosmosdb.outputs.SqlContainerConflictResolutionPolicy): SqlContainerConflictResolutionPolicy = SqlContainerConflictResolutionPolicy(
conflictResolutionPath = javaType.conflictResolutionPath().map({ args0 -> args0 }).orElse(null),
conflictResolutionProcedure = javaType.conflictResolutionProcedure().map({ args0 ->
args0
}).orElse(null),
mode = javaType.mode(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy