com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs.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.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property privateMemoryKb The amount of Private Memory to be consumed for this rule to trigger. Possible values are between `102400` and `13631488`.
* @property requests A `requests` block as defined above.
* @property slowRequestWithPaths One or more `slow_request_with_path` blocks as defined above.
* @property slowRequests A `slow_request` block as defined above.
* @property statusCodes One or more `status_code` blocks as defined above.
*/
public data class WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs(
public val privateMemoryKb: Output? = null,
public val requests: Output? =
null,
public val slowRequestWithPaths:
Output>? =
null,
public val slowRequests:
Output>? = null,
public val statusCodes:
Output>? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs =
com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs.builder()
.privateMemoryKb(privateMemoryKb?.applyValue({ args0 -> args0 }))
.requests(requests?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.slowRequestWithPaths(
slowRequestWithPaths?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.slowRequests(
slowRequests?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.statusCodes(
statusCodes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs].
*/
@PulumiTagMarker
public class WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgsBuilder internal constructor() {
private var privateMemoryKb: Output? = null
private var requests: Output? =
null
private var slowRequestWithPaths:
Output>? = null
private var slowRequests:
Output>? = null
private var statusCodes:
Output>? = null
/**
* @param value The amount of Private Memory to be consumed for this rule to trigger. Possible values are between `102400` and `13631488`.
*/
@JvmName("vevymhpnuoeilkgs")
public suspend fun privateMemoryKb(`value`: Output) {
this.privateMemoryKb = value
}
/**
* @param value A `requests` block as defined above.
*/
@JvmName("jnygwwqswdodfayy")
public suspend
fun requests(`value`: Output) {
this.requests = value
}
/**
* @param value One or more `slow_request_with_path` blocks as defined above.
*/
@JvmName("rqyspbmpevsxolbm")
public suspend
fun slowRequestWithPaths(`value`: Output>) {
this.slowRequestWithPaths = value
}
@JvmName("mplyjqjymdqkstoa")
public suspend fun slowRequestWithPaths(
vararg
values: Output,
) {
this.slowRequestWithPaths = Output.all(values.asList())
}
/**
* @param values One or more `slow_request_with_path` blocks as defined above.
*/
@JvmName("fnbdsipkxnvyggae")
public suspend
fun slowRequestWithPaths(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy