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

com.pulumi.azure.appservice.kotlin.outputs.WindowsWebAppSiteConfigAutoHealSettingTriggerStatusCode.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 occurrences of the defined `status_code` in the specified `interval` on which to trigger this rule.
 * @property interval The time interval in the form `hh:mm:ss`.
 * @property path The path to which this rule status code applies.
 * @property statusCodeRange The status code for this rule, accepts single status codes and status code ranges. e.g. `500` or `400-499`. Possible values are integers between `101` and `599`
 * @property subStatus The Request Sub Status of the Status Code.
 * @property win32StatusCode The Win32 Status Code of the Request.
 */
public data class WindowsWebAppSiteConfigAutoHealSettingTriggerStatusCode(
    public val count: Int,
    public val interval: String,
    public val path: String? = null,
    public val statusCodeRange: String,
    public val subStatus: Int? = null,
    public val win32StatusCode: Int? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsWebAppSiteConfigAutoHealSettingTriggerStatusCode):
            WindowsWebAppSiteConfigAutoHealSettingTriggerStatusCode =
            WindowsWebAppSiteConfigAutoHealSettingTriggerStatusCode(
                count = javaType.count(),
                interval = javaType.interval(),
                path = javaType.path().map({ args0 -> args0 }).orElse(null),
                statusCodeRange = javaType.statusCodeRange(),
                subStatus = javaType.subStatus().map({ args0 -> args0 }).orElse(null),
                win32StatusCode = javaType.win32StatusCode().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy