![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayProbeMatchArgs.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.network.kotlin.inputs
import com.pulumi.azure.network.inputs.ApplicationGatewayProbeMatchArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property body A snippet from the Response Body which must be present in the Response.
* @property statusCodes A list of allowed status codes for this Health Probe.
*/
public data class ApplicationGatewayProbeMatchArgs(
public val body: Output? = null,
public val statusCodes: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayProbeMatchArgs =
com.pulumi.azure.network.inputs.ApplicationGatewayProbeMatchArgs.builder()
.body(body?.applyValue({ args0 -> args0 }))
.statusCodes(statusCodes.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ApplicationGatewayProbeMatchArgs].
*/
@PulumiTagMarker
public class ApplicationGatewayProbeMatchArgsBuilder internal constructor() {
private var body: Output? = null
private var statusCodes: Output>? = null
/**
* @param value A snippet from the Response Body which must be present in the Response.
*/
@JvmName("fixuoeyegermdsof")
public suspend fun body(`value`: Output) {
this.body = value
}
/**
* @param value A list of allowed status codes for this Health Probe.
*/
@JvmName("uerxrornucxealcw")
public suspend fun statusCodes(`value`: Output>) {
this.statusCodes = value
}
@JvmName("oftgbaukmsrarfpb")
public suspend fun statusCodes(vararg values: Output) {
this.statusCodes = Output.all(values.asList())
}
/**
* @param values A list of allowed status codes for this Health Probe.
*/
@JvmName("kutqeuisvvikjdxx")
public suspend fun statusCodes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy