![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cache.kotlin.inputs.DatabasePropertiesGeoReplicationArgs.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.cache.kotlin.inputs
import com.pulumi.azurenative.cache.inputs.DatabasePropertiesGeoReplicationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Optional set of properties to configure geo replication for this database.
* @property groupNickname Name for the group of linked database resources
* @property linkedDatabases List of database resources to link with this database
*/
public data class DatabasePropertiesGeoReplicationArgs(
public val groupNickname: Output? = null,
public val linkedDatabases: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.cache.inputs.DatabasePropertiesGeoReplicationArgs =
com.pulumi.azurenative.cache.inputs.DatabasePropertiesGeoReplicationArgs.builder()
.groupNickname(groupNickname?.applyValue({ args0 -> args0 }))
.linkedDatabases(
linkedDatabases?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DatabasePropertiesGeoReplicationArgs].
*/
@PulumiTagMarker
public class DatabasePropertiesGeoReplicationArgsBuilder internal constructor() {
private var groupNickname: Output? = null
private var linkedDatabases: Output>? = null
/**
* @param value Name for the group of linked database resources
*/
@JvmName("qfceicupimtptwyp")
public suspend fun groupNickname(`value`: Output) {
this.groupNickname = value
}
/**
* @param value List of database resources to link with this database
*/
@JvmName("agqhxtqegnrhmkpy")
public suspend fun linkedDatabases(`value`: Output>) {
this.linkedDatabases = value
}
@JvmName("edkkwdhxaeaybbbo")
public suspend fun linkedDatabases(vararg values: Output) {
this.linkedDatabases = Output.all(values.asList())
}
/**
* @param values List of database resources to link with this database
*/
@JvmName("cyugrpsfgipjkvkd")
public suspend fun linkedDatabases(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy