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

com.pulumi.azure.appservice.kotlin.outputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPath.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPath(
    public val count: Int,
    public val interval: String,
    public val path: String? = null,
    public val timeTaken: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPath):
            WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPath =
            WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPath(
                count = javaType.count(),
                interval = javaType.interval(),
                path = javaType.path().map({ args0 -> args0 }).orElse(null),
                timeTaken = javaType.timeTaken(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy