com.pulumi.azure.kotlin.inputs.ProviderFeaturesVirtualMachineScaleSetArgs.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.ProviderFeaturesVirtualMachineScaleSetArgs.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 forceDelete
* @property reimageOnManualUpgrade
* @property rollInstancesWhenRequired
* @property scaleToZeroBeforeDeletion
*/
public data class ProviderFeaturesVirtualMachineScaleSetArgs(
public val forceDelete: Output? = null,
public val reimageOnManualUpgrade: Output? = null,
public val rollInstancesWhenRequired: Output? = null,
public val scaleToZeroBeforeDeletion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.inputs.ProviderFeaturesVirtualMachineScaleSetArgs =
com.pulumi.azure.inputs.ProviderFeaturesVirtualMachineScaleSetArgs.builder()
.forceDelete(forceDelete?.applyValue({ args0 -> args0 }))
.reimageOnManualUpgrade(reimageOnManualUpgrade?.applyValue({ args0 -> args0 }))
.rollInstancesWhenRequired(rollInstancesWhenRequired?.applyValue({ args0 -> args0 }))
.scaleToZeroBeforeDeletion(scaleToZeroBeforeDeletion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProviderFeaturesVirtualMachineScaleSetArgs].
*/
@PulumiTagMarker
public class ProviderFeaturesVirtualMachineScaleSetArgsBuilder internal constructor() {
private var forceDelete: Output? = null
private var reimageOnManualUpgrade: Output? = null
private var rollInstancesWhenRequired: Output? = null
private var scaleToZeroBeforeDeletion: Output? = null
/**
* @param value
*/
@JvmName("unarjqidusncnisf")
public suspend fun forceDelete(`value`: Output) {
this.forceDelete = value
}
/**
* @param value
*/
@JvmName("ccmlefjsbfiuyyth")
public suspend fun reimageOnManualUpgrade(`value`: Output) {
this.reimageOnManualUpgrade = value
}
/**
* @param value
*/
@JvmName("kcjybtbhyyrjmlyi")
public suspend fun rollInstancesWhenRequired(`value`: Output) {
this.rollInstancesWhenRequired = value
}
/**
* @param value
*/
@JvmName("khbbbkxehjycjfkx")
public suspend fun scaleToZeroBeforeDeletion(`value`: Output) {
this.scaleToZeroBeforeDeletion = value
}
/**
* @param value
*/
@JvmName("scudqeylwyamvedy")
public suspend fun forceDelete(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.forceDelete = mapped
}
/**
* @param value
*/
@JvmName("nbmtddqaynsigkwj")
public suspend fun reimageOnManualUpgrade(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.reimageOnManualUpgrade = mapped
}
/**
* @param value
*/
@JvmName("lyyxwmwhrmaahvgw")
public suspend fun rollInstancesWhenRequired(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rollInstancesWhenRequired = mapped
}
/**
* @param value
*/
@JvmName("fcuprcdxwjtgcamw")
public suspend fun scaleToZeroBeforeDeletion(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scaleToZeroBeforeDeletion = mapped
}
internal fun build(): ProviderFeaturesVirtualMachineScaleSetArgs =
ProviderFeaturesVirtualMachineScaleSetArgs(
forceDelete = forceDelete,
reimageOnManualUpgrade = reimageOnManualUpgrade,
rollInstancesWhenRequired = rollInstancesWhenRequired,
scaleToZeroBeforeDeletion = scaleToZeroBeforeDeletion,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy