com.pulumi.azure.compute.kotlin.outputs.WindowsVirtualMachineScaleSetTerminateNotification.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Should the terminate notification be enabled on this Virtual Machine Scale Set?
* @property timeout Length of time (in minutes, between 5 and 15) a notification to be sent to the VM on the instance metadata server till the VM gets deleted. The time duration should be specified in ISO 8601 format. Defaults to `PT5M`.
* > For more information about the terminate notification, please [refer to this doc](https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-terminate-notification).
*/
public data class WindowsVirtualMachineScaleSetTerminateNotification(
public val enabled: Boolean,
public val timeout: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.compute.outputs.WindowsVirtualMachineScaleSetTerminateNotification):
WindowsVirtualMachineScaleSetTerminateNotification =
WindowsVirtualMachineScaleSetTerminateNotification(
enabled = javaType.enabled(),
timeout = javaType.timeout().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy