![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.documentdb.kotlin.inputs.DatabaseRestoreResourceArgs.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.documentdb.kotlin.inputs
import com.pulumi.azurenative.documentdb.inputs.DatabaseRestoreResourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Specific Databases to restore.
* @property collectionNames The names of the collections available for restore.
* @property databaseName The name of the database available for restore.
*/
public data class DatabaseRestoreResourceArgs(
public val collectionNames: Output>? = null,
public val databaseName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.documentdb.inputs.DatabaseRestoreResourceArgs =
com.pulumi.azurenative.documentdb.inputs.DatabaseRestoreResourceArgs.builder()
.collectionNames(collectionNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.databaseName(databaseName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatabaseRestoreResourceArgs].
*/
@PulumiTagMarker
public class DatabaseRestoreResourceArgsBuilder internal constructor() {
private var collectionNames: Output>? = null
private var databaseName: Output? = null
/**
* @param value The names of the collections available for restore.
*/
@JvmName("ixmswrpagbjxmnub")
public suspend fun collectionNames(`value`: Output>) {
this.collectionNames = value
}
@JvmName("avybewoymhgimheu")
public suspend fun collectionNames(vararg values: Output) {
this.collectionNames = Output.all(values.asList())
}
/**
* @param values The names of the collections available for restore.
*/
@JvmName("xatsiynifwekunqp")
public suspend fun collectionNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy