![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayRewriteRuleSetRewriteRuleArgs.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.ApplicationGatewayRewriteRuleSetRewriteRuleArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property conditions One or more `condition` blocks as defined above.
* @property name Unique name of the rewrite rule block
* @property requestHeaderConfigurations One or more `request_header_configuration` blocks as defined above.
* @property responseHeaderConfigurations One or more `response_header_configuration` blocks as defined above.
* @property ruleSequence Rule sequence of the rewrite rule that determines the order of execution in a set.
* @property url One `url` block as defined below
*/
public data class ApplicationGatewayRewriteRuleSetRewriteRuleArgs(
public val conditions: Output>? =
null,
public val name: Output,
public val requestHeaderConfigurations: Output>? =
null,
public val responseHeaderConfigurations: Output>? =
null,
public val ruleSequence: Output,
public val url: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayRewriteRuleSetRewriteRuleArgs =
com.pulumi.azure.network.inputs.ApplicationGatewayRewriteRuleSetRewriteRuleArgs.builder()
.conditions(
conditions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.requestHeaderConfigurations(
requestHeaderConfigurations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.responseHeaderConfigurations(
responseHeaderConfigurations?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.ruleSequence(ruleSequence.applyValue({ args0 -> args0 }))
.url(url?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ApplicationGatewayRewriteRuleSetRewriteRuleArgs].
*/
@PulumiTagMarker
public class ApplicationGatewayRewriteRuleSetRewriteRuleArgsBuilder internal constructor() {
private var conditions: Output>? =
null
private var name: Output? = null
private var requestHeaderConfigurations:
Output>? =
null
private var responseHeaderConfigurations:
Output>? =
null
private var ruleSequence: Output? = null
private var url: Output? = null
/**
* @param value One or more `condition` blocks as defined above.
*/
@JvmName("pshmjgkptpeamapb")
public suspend fun conditions(`value`: Output>) {
this.conditions = value
}
@JvmName("xebkoablmsisewnr")
public suspend fun conditions(vararg values: Output) {
this.conditions = Output.all(values.asList())
}
/**
* @param values One or more `condition` blocks as defined above.
*/
@JvmName("tlnuicyavjudovps")
public suspend fun conditions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy