
com.pulumi.azure.cosmosdb.kotlin.inputs.AccountRestoreDatabaseArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cosmosdb.kotlin.inputs
import com.pulumi.azure.cosmosdb.inputs.AccountRestoreDatabaseArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property collectionNames A list of the collection names for the restore request. Changing this forces a new resource to be created.
* @property name The database name for the restore request. Changing this forces a new resource to be created.
*/
public data class AccountRestoreDatabaseArgs(
public val collectionNames: Output>? = null,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cosmosdb.inputs.AccountRestoreDatabaseArgs =
com.pulumi.azure.cosmosdb.inputs.AccountRestoreDatabaseArgs.builder()
.collectionNames(collectionNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccountRestoreDatabaseArgs].
*/
@PulumiTagMarker
public class AccountRestoreDatabaseArgsBuilder internal constructor() {
private var collectionNames: Output>? = null
private var name: Output? = null
/**
* @param value A list of the collection names for the restore request. Changing this forces a new resource to be created.
*/
@JvmName("mknbgdoimyqyyejh")
public suspend fun collectionNames(`value`: Output>) {
this.collectionNames = value
}
@JvmName("nnhbgrndynbpfghp")
public suspend fun collectionNames(vararg values: Output) {
this.collectionNames = Output.all(values.asList())
}
/**
* @param values A list of the collection names for the restore request. Changing this forces a new resource to be created.
*/
@JvmName("lovdhyhujxmhafqt")
public suspend fun collectionNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy