com.pulumi.azure.kotlin.inputs.ProviderFeaturesVirtualMachineArgs.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.ProviderFeaturesVirtualMachineArgs.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 deleteOsDiskOnDeletion
* @property gracefulShutdown
* @property skipShutdownAndForceDelete
*/
public data class ProviderFeaturesVirtualMachineArgs(
public val deleteOsDiskOnDeletion: Output? = null,
public val gracefulShutdown: Output? = null,
public val skipShutdownAndForceDelete: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.inputs.ProviderFeaturesVirtualMachineArgs =
com.pulumi.azure.inputs.ProviderFeaturesVirtualMachineArgs.builder()
.deleteOsDiskOnDeletion(deleteOsDiskOnDeletion?.applyValue({ args0 -> args0 }))
.gracefulShutdown(gracefulShutdown?.applyValue({ args0 -> args0 }))
.skipShutdownAndForceDelete(skipShutdownAndForceDelete?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProviderFeaturesVirtualMachineArgs].
*/
@PulumiTagMarker
public class ProviderFeaturesVirtualMachineArgsBuilder internal constructor() {
private var deleteOsDiskOnDeletion: Output? = null
private var gracefulShutdown: Output? = null
private var skipShutdownAndForceDelete: Output? = null
/**
* @param value
*/
@JvmName("ultlppeiliwpxhnx")
public suspend fun deleteOsDiskOnDeletion(`value`: Output) {
this.deleteOsDiskOnDeletion = value
}
/**
* @param value
*/
@JvmName("oivxeibygkgrnyia")
public suspend fun gracefulShutdown(`value`: Output) {
this.gracefulShutdown = value
}
/**
* @param value
*/
@JvmName("ahrqkemederfvbgr")
public suspend fun skipShutdownAndForceDelete(`value`: Output) {
this.skipShutdownAndForceDelete = value
}
/**
* @param value
*/
@JvmName("kclbnhqtqhspqlec")
public suspend fun deleteOsDiskOnDeletion(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deleteOsDiskOnDeletion = mapped
}
/**
* @param value
*/
@JvmName("poyfqsfpqrmlgfvc")
public suspend fun gracefulShutdown(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.gracefulShutdown = mapped
}
/**
* @param value
*/
@JvmName("qiltuuyolodxrcba")
public suspend fun skipShutdownAndForceDelete(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.skipShutdownAndForceDelete = mapped
}
internal fun build(): ProviderFeaturesVirtualMachineArgs = ProviderFeaturesVirtualMachineArgs(
deleteOsDiskOnDeletion = deleteOsDiskOnDeletion,
gracefulShutdown = gracefulShutdown,
skipShutdownAndForceDelete = skipShutdownAndForceDelete,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy