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

com.pulumi.azure.appservice.kotlin.outputs.WindowsWebAppSlotSiteConfigAutoHealSettingAction.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 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