![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.inputs.WindowsVirtualMachineOsImageNotificationArgs.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.compute.kotlin.inputs
import com.pulumi.azure.compute.inputs.WindowsVirtualMachineOsImageNotificationArgs.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.jvm.JvmName
/**
*
* @property timeout Length of time a notification to be sent to the VM on the instance metadata server till the VM gets OS upgraded. The only possible value is `PT15M`. Defaults to `PT15M`.
*/
public data class WindowsVirtualMachineOsImageNotificationArgs(
public val timeout: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.WindowsVirtualMachineOsImageNotificationArgs =
com.pulumi.azure.compute.inputs.WindowsVirtualMachineOsImageNotificationArgs.builder()
.timeout(timeout?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsVirtualMachineOsImageNotificationArgs].
*/
@PulumiTagMarker
public class WindowsVirtualMachineOsImageNotificationArgsBuilder internal constructor() {
private var timeout: Output? = null
/**
* @param value Length of time a notification to be sent to the VM on the instance metadata server till the VM gets OS upgraded. The only possible value is `PT15M`. Defaults to `PT15M`.
*/
@JvmName("opampedravkqtpjr")
public suspend fun timeout(`value`: Output) {
this.timeout = value
}
/**
* @param value Length of time a notification to be sent to the VM on the instance metadata server till the VM gets OS upgraded. The only possible value is `PT15M`. Defaults to `PT15M`.
*/
@JvmName("kenhdpvxjwnkcmkc")
public suspend fun timeout(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.timeout = mapped
}
internal fun build(): WindowsVirtualMachineOsImageNotificationArgs =
WindowsVirtualMachineOsImageNotificationArgs(
timeout = timeout,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy