![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.azurefleet.kotlin.inputs.TerminateNotificationProfileArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.azurefleet.kotlin.inputs
import com.pulumi.azurenative.azurefleet.inputs.TerminateNotificationProfileArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Specifies Terminate Scheduled Event related configurations.
* @property enable Specifies whether the Terminate Scheduled event is enabled or disabled.
* @property notBeforeTimeout Configurable length of time a Virtual Machine being deleted will have to
* potentially approve the Terminate Scheduled Event before the event is auto
* approved (timed out). The configuration must be specified in ISO 8601 format,
* the default value is 5 minutes (PT5M)
*/
public data class TerminateNotificationProfileArgs(
public val enable: Output? = null,
public val notBeforeTimeout: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurefleet.inputs.TerminateNotificationProfileArgs =
com.pulumi.azurenative.azurefleet.inputs.TerminateNotificationProfileArgs.builder()
.enable(enable?.applyValue({ args0 -> args0 }))
.notBeforeTimeout(notBeforeTimeout?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TerminateNotificationProfileArgs].
*/
@PulumiTagMarker
public class TerminateNotificationProfileArgsBuilder internal constructor() {
private var enable: Output? = null
private var notBeforeTimeout: Output? = null
/**
* @param value Specifies whether the Terminate Scheduled event is enabled or disabled.
*/
@JvmName("tgapnwaawrlxigcs")
public suspend fun enable(`value`: Output) {
this.enable = value
}
/**
* @param value Configurable length of time a Virtual Machine being deleted will have to
* potentially approve the Terminate Scheduled Event before the event is auto
* approved (timed out). The configuration must be specified in ISO 8601 format,
* the default value is 5 minutes (PT5M)
*/
@JvmName("ayimegegakrkrskv")
public suspend fun notBeforeTimeout(`value`: Output) {
this.notBeforeTimeout = value
}
/**
* @param value Specifies whether the Terminate Scheduled event is enabled or disabled.
*/
@JvmName("fglkvjfdjrboctbr")
public suspend fun enable(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enable = mapped
}
/**
* @param value Configurable length of time a Virtual Machine being deleted will have to
* potentially approve the Terminate Scheduled Event before the event is auto
* approved (timed out). The configuration must be specified in ISO 8601 format,
* the default value is 5 minutes (PT5M)
*/
@JvmName("donfujandvekenvp")
public suspend fun notBeforeTimeout(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.notBeforeTimeout = mapped
}
internal fun build(): TerminateNotificationProfileArgs = TerminateNotificationProfileArgs(
enable = enable,
notBeforeTimeout = notBeforeTimeout,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy