com.pulumi.azure.appservice.kotlin.inputs.LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs.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.LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs.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 Slow Requests in the time `interval` to trigger this rule.
* @property interval The time interval in the form `hh:mm:ss`.
* @property path The path for which this slow request rule applies.
* @property timeTaken The threshold of time passed to qualify as a Slow Request in `hh:mm:ss`.
*/
public data class LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs(
public val count: Output,
public val interval: Output,
public val path: Output? = null,
public val timeTaken: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs =
com.pulumi.azure.appservice.inputs.LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs.builder()
.count(count.applyValue({ args0 -> args0 }))
.interval(interval.applyValue({ args0 -> args0 }))
.path(path?.applyValue({ args0 -> args0 }))
.timeTaken(timeTaken.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs].
*/
@PulumiTagMarker
public class LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgsBuilder internal
constructor() {
private var count: Output? = null
private var interval: Output? = null
private var path: Output? = null
private var timeTaken: Output? = null
/**
* @param value The number of Slow Requests in the time `interval` to trigger this rule.
*/
@JvmName("entpyajhwmgouswl")
public suspend fun count(`value`: Output) {
this.count = value
}
/**
* @param value The time interval in the form `hh:mm:ss`.
*/
@JvmName("yyffmygawmdumpoe")
public suspend fun interval(`value`: Output) {
this.interval = value
}
/**
* @param value The path for which this slow request rule applies.
*/
@JvmName("vvbrlddwckluokhe")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value The threshold of time passed to qualify as a Slow Request in `hh:mm:ss`.
*/
@JvmName("clhfmgtnqycdhmjv")
public suspend fun timeTaken(`value`: Output) {
this.timeTaken = value
}
/**
* @param value The number of Slow Requests in the time `interval` to trigger this rule.
*/
@JvmName("rpjkuipbxscjupml")
public suspend fun count(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.count = mapped
}
/**
* @param value The time interval in the form `hh:mm:ss`.
*/
@JvmName("fvlfdbbaljriokth")
public suspend fun interval(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.interval = mapped
}
/**
* @param value The path for which this slow request rule applies.
*/
@JvmName("xyuqxluvhnksmbhm")
public suspend fun path(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.path = mapped
}
/**
* @param value The threshold of time passed to qualify as a Slow Request in `hh:mm:ss`.
*/
@JvmName("evpxxkpjwpuoxuwb")
public suspend fun timeTaken(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.timeTaken = mapped
}
internal fun build(): LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs =
LinuxWebAppSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs(
count = count ?: throw PulumiNullFieldException("count"),
interval = interval ?: throw PulumiNullFieldException("interval"),
path = path,
timeTaken = timeTaken ?: throw PulumiNullFieldException("timeTaken"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy