com.pulumi.azure.kotlin.inputs.ProviderFeaturesRecoveryServiceArgs.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.kotlin.inputs
import com.pulumi.azure.inputs.ProviderFeaturesRecoveryServiceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property purgeProtectedItemsFromVaultOnDestroy
* @property vmBackupStopProtectionAndRetainDataOnDestroy
*/
public data class ProviderFeaturesRecoveryServiceArgs(
public val purgeProtectedItemsFromVaultOnDestroy: Output? = null,
public val vmBackupStopProtectionAndRetainDataOnDestroy: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.inputs.ProviderFeaturesRecoveryServiceArgs =
com.pulumi.azure.inputs.ProviderFeaturesRecoveryServiceArgs.builder()
.purgeProtectedItemsFromVaultOnDestroy(
purgeProtectedItemsFromVaultOnDestroy?.applyValue({ args0 ->
args0
}),
)
.vmBackupStopProtectionAndRetainDataOnDestroy(
vmBackupStopProtectionAndRetainDataOnDestroy?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [ProviderFeaturesRecoveryServiceArgs].
*/
@PulumiTagMarker
public class ProviderFeaturesRecoveryServiceArgsBuilder internal constructor() {
private var purgeProtectedItemsFromVaultOnDestroy: Output? = null
private var vmBackupStopProtectionAndRetainDataOnDestroy: Output? = null
/**
* @param value
*/
@JvmName("gxfibjbogljnhubl")
public suspend fun purgeProtectedItemsFromVaultOnDestroy(`value`: Output) {
this.purgeProtectedItemsFromVaultOnDestroy = value
}
/**
* @param value
*/
@JvmName("ellkcooyilmmchds")
public suspend fun vmBackupStopProtectionAndRetainDataOnDestroy(`value`: Output) {
this.vmBackupStopProtectionAndRetainDataOnDestroy = value
}
/**
* @param value
*/
@JvmName("nimxvbskqaihnned")
public suspend fun purgeProtectedItemsFromVaultOnDestroy(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.purgeProtectedItemsFromVaultOnDestroy = mapped
}
/**
* @param value
*/
@JvmName("antbweyaaaeikjue")
public suspend fun vmBackupStopProtectionAndRetainDataOnDestroy(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.vmBackupStopProtectionAndRetainDataOnDestroy = mapped
}
internal fun build(): ProviderFeaturesRecoveryServiceArgs = ProviderFeaturesRecoveryServiceArgs(
purgeProtectedItemsFromVaultOnDestroy = purgeProtectedItemsFromVaultOnDestroy,
vmBackupStopProtectionAndRetainDataOnDestroy = vmBackupStopProtectionAndRetainDataOnDestroy,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy