com.pulumi.azure.cdn.kotlin.outputs.FrontdoorOriginGroupHealthProbe.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.cdn.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property intervalInSeconds Specifies the number of seconds between health probes. Possible values are between `5` and `31536000` seconds (inclusive).
* @property path Specifies the path relative to the origin that is used to determine the health of the origin. Defaults to `/`.
* > **NOTE:** Health probes can only be disabled if there is a single enabled origin in a single enabled origin group. For more information about the `health_probe` settings please see the [product documentation](https://docs.microsoft.com/azure/frontdoor/health-probes).
* @property protocol Specifies the protocol to use for health probe. Possible values are `Http` and `Https`.
* @property requestType Specifies the type of health probe request that is made. Possible values are `GET` and `HEAD`. Defaults to `HEAD`.
*/
public data class FrontdoorOriginGroupHealthProbe(
public val intervalInSeconds: Int,
public val path: String? = null,
public val protocol: String,
public val requestType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.cdn.outputs.FrontdoorOriginGroupHealthProbe):
FrontdoorOriginGroupHealthProbe = FrontdoorOriginGroupHealthProbe(
intervalInSeconds = javaType.intervalInSeconds(),
path = javaType.path().map({ args0 -> args0 }).orElse(null),
protocol = javaType.protocol(),
requestType = javaType.requestType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy