
com.pulumi.azurenative.network.kotlin.inputs.ApplicationGatewayProbeHealthResponseMatchArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ApplicationGatewayProbeHealthResponseMatchArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Application gateway probe health response match.
* @property body Body that must be contained in the health response. Default value is empty.
* @property statusCodes Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.
*/
public data class ApplicationGatewayProbeHealthResponseMatchArgs(
public val body: Output? = null,
public val statusCodes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ApplicationGatewayProbeHealthResponseMatchArgs =
com.pulumi.azurenative.network.inputs.ApplicationGatewayProbeHealthResponseMatchArgs.builder()
.body(body?.applyValue({ args0 -> args0 }))
.statusCodes(statusCodes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ApplicationGatewayProbeHealthResponseMatchArgs].
*/
@PulumiTagMarker
public class ApplicationGatewayProbeHealthResponseMatchArgsBuilder internal constructor() {
private var body: Output? = null
private var statusCodes: Output>? = null
/**
* @param value Body that must be contained in the health response. Default value is empty.
*/
@JvmName("yvhndteqiabirqqa")
public suspend fun body(`value`: Output) {
this.body = value
}
/**
* @param value Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.
*/
@JvmName("naxbcsboihjclfwl")
public suspend fun statusCodes(`value`: Output>) {
this.statusCodes = value
}
@JvmName("tnfvycqliemrhlqq")
public suspend fun statusCodes(vararg values: Output) {
this.statusCodes = Output.all(values.asList())
}
/**
* @param values Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.
*/
@JvmName("qmrswxntohljhucp")
public suspend fun statusCodes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy