com.pulumi.azure.appservice.kotlin.outputs.WindowsWebAppSlotSiteConfigAutoHealSettingAction.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.appservice.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property actionType Predefined action to be taken to an Auto Heal trigger. Possible values are `CustomAction`, `LogEvent` and `Recycle`.
* @property customAction A `custom_action` block as defined below.
* @property minimumProcessExecutionTime The minimum amount of time in `hh:mm:ss` the Windows Web App Slot must have been running before the defined action will be run in the event of a trigger.
*/
public data class WindowsWebAppSlotSiteConfigAutoHealSettingAction(
public val actionType: String,
public val customAction: WindowsWebAppSlotSiteConfigAutoHealSettingActionCustomAction? = null,
public val minimumProcessExecutionTime: String? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsWebAppSlotSiteConfigAutoHealSettingAction):
WindowsWebAppSlotSiteConfigAutoHealSettingAction =
WindowsWebAppSlotSiteConfigAutoHealSettingAction(
actionType = javaType.actionType(),
customAction = javaType.customAction().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.WindowsWebAppSlotSiteConfigAutoHealSettingActionCustomAction.Companion.toKotlin(args0)
})
}).orElse(null),
minimumProcessExecutionTime = javaType.minimumProcessExecutionTime().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy