All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.appservice.kotlin.outputs.WindowsWebAppSiteConfigAutoHealSettingAction.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@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 include: `Recycle`, `LogEvent`, and `CustomAction`.
 * @property customAction A `custom_action` block as defined below.
 * @property minimumProcessExecutionTime The minimum amount of time in `hh:mm:ss` the Windows Web App must have been running before the defined action will be run in the event of a trigger.
 */
public data class WindowsWebAppSiteConfigAutoHealSettingAction(
    public val actionType: String,
    public val customAction: WindowsWebAppSiteConfigAutoHealSettingActionCustomAction? = null,
    public val minimumProcessExecutionTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsWebAppSiteConfigAutoHealSettingAction): WindowsWebAppSiteConfigAutoHealSettingAction = WindowsWebAppSiteConfigAutoHealSettingAction(
            actionType = javaType.actionType(),
            customAction = javaType.customAction().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.WindowsWebAppSiteConfigAutoHealSettingActionCustomAction.Companion.toKotlin(args0)
                })
            }).orElse(null),
            minimumProcessExecutionTime = javaType.minimumProcessExecutionTime().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy