com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs.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.inputs
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property count The number of requests in the specified `interval` to trigger this rule.
* @property interval The interval in `hh:mm:ss`.
*/
public data class WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs(
public val count: Output,
public val interval: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs =
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs.builder()
.count(count.applyValue({ args0 -> args0 }))
.interval(interval.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs].
*/
@PulumiTagMarker
public class WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgsBuilder internal
constructor() {
private var count: Output? = null
private var interval: Output? = null
/**
* @param value The number of requests in the specified `interval` to trigger this rule.
*/
@JvmName("yryqqivswfofcjso")
public suspend fun count(`value`: Output) {
this.count = value
}
/**
* @param value The interval in `hh:mm:ss`.
*/
@JvmName("yhrofpfjteitkqac")
public suspend fun interval(`value`: Output) {
this.interval = value
}
/**
* @param value The number of requests in the specified `interval` to trigger this rule.
*/
@JvmName("xtycnsfndwpemxkp")
public suspend fun count(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.count = mapped
}
/**
* @param value The interval in `hh:mm:ss`.
*/
@JvmName("hrwupppxrfklhtpm")
public suspend fun interval(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.interval = mapped
}
internal fun build(): WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs =
WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs(
count = count ?: throw PulumiNullFieldException("count"),
interval = interval ?: throw PulumiNullFieldException("interval"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy