
com.pulumi.azure.appservice.kotlin.inputs.LinuxWebAppSlotSiteConfigAutoHealSettingActionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.LinuxWebAppSlotSiteConfigAutoHealSettingActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property actionType Predefined action to be taken to an Auto Heal trigger. Possible values include: `Recycle`.
* @property minimumProcessExecutionTime The minimum amount of time in `hh:mm:ss` the Linux Web App must have been running before the defined action will be run in the event of a trigger.
*/
public data class LinuxWebAppSlotSiteConfigAutoHealSettingActionArgs(
public val actionType: Output,
public val minimumProcessExecutionTime: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.LinuxWebAppSlotSiteConfigAutoHealSettingActionArgs =
com.pulumi.azure.appservice.inputs.LinuxWebAppSlotSiteConfigAutoHealSettingActionArgs.builder()
.actionType(actionType.applyValue({ args0 -> args0 }))
.minimumProcessExecutionTime(minimumProcessExecutionTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxWebAppSlotSiteConfigAutoHealSettingActionArgs].
*/
@PulumiTagMarker
public class LinuxWebAppSlotSiteConfigAutoHealSettingActionArgsBuilder internal constructor() {
private var actionType: Output? = null
private var minimumProcessExecutionTime: Output? = null
/**
* @param value Predefined action to be taken to an Auto Heal trigger. Possible values include: `Recycle`.
*/
@JvmName("gjimhvcujjutxcaf")
public suspend fun actionType(`value`: Output) {
this.actionType = value
}
/**
* @param value The minimum amount of time in `hh:mm:ss` the Linux Web App must have been running before the defined action will be run in the event of a trigger.
*/
@JvmName("hmirpjedawpyiitq")
public suspend fun minimumProcessExecutionTime(`value`: Output) {
this.minimumProcessExecutionTime = value
}
/**
* @param value Predefined action to be taken to an Auto Heal trigger. Possible values include: `Recycle`.
*/
@JvmName("pfemfvmfrfqdylkx")
public suspend fun actionType(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.actionType = mapped
}
/**
* @param value The minimum amount of time in `hh:mm:ss` the Linux Web App must have been running before the defined action will be run in the event of a trigger.
*/
@JvmName("stblemxhhyagtsbx")
public suspend fun minimumProcessExecutionTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minimumProcessExecutionTime = mapped
}
internal fun build(): LinuxWebAppSlotSiteConfigAutoHealSettingActionArgs =
LinuxWebAppSlotSiteConfigAutoHealSettingActionArgs(
actionType = actionType ?: throw PulumiNullFieldException("actionType"),
minimumProcessExecutionTime = minimumProcessExecutionTime,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy