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

com.pulumi.azure.appservice.kotlin.outputs.LinuxWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequest.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.Deprecated
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.
 * > **NOTE:** `path` in `slow_request` block will be deprecated in 4.0 provider. Please use `slow_request_with_path` to set a slow request trigger with path specified.
 * @property timeTaken The threshold of time passed to qualify as a Slow Request in `hh:mm:ss`.
 */
public data class LinuxWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequest(
    public val count: Int,
    public val interval: String,
    @Deprecated(
        message = """
  `path` will be removed in `slow_request` and please use `slow_request_with_path` to set the path
      in version 4.0 of the AzureRM Provider.
  """,
    )
    public val path: String? = null,
    public val timeTaken: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequest):
            LinuxWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequest =
            LinuxWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequest(
                count = javaType.count(),
                interval = javaType.interval(),
                path = javaType.path().map({ args0 -> args0 }).orElse(null),
                timeTaken = javaType.timeTaken(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy