com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayRewriteRuleSetArgs.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.ApplicationGatewayRewriteRuleSetArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property id The ID of the Rewrite Rule Set
* @property name Unique name of the rewrite rule set block
* @property rewriteRules One or more `rewrite_rule` blocks as defined below.
*/
public data class ApplicationGatewayRewriteRuleSetArgs(
public val id: Output? = null,
public val name: Output,
public val rewriteRules: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayRewriteRuleSetArgs =
com.pulumi.azure.network.inputs.ApplicationGatewayRewriteRuleSetArgs.builder()
.id(id?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.rewriteRules(
rewriteRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ApplicationGatewayRewriteRuleSetArgs].
*/
@PulumiTagMarker
public class ApplicationGatewayRewriteRuleSetArgsBuilder internal constructor() {
private var id: Output? = null
private var name: Output? = null
private var rewriteRules: Output>? = null
/**
* @param value The ID of the Rewrite Rule Set
*/
@JvmName("lvtuntripijkuvvr")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value Unique name of the rewrite rule set block
*/
@JvmName("sbmptudqkbtbrmij")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value One or more `rewrite_rule` blocks as defined below.
*/
@JvmName("wpgddskykcrlkaim")
public suspend
fun rewriteRules(`value`: Output>) {
this.rewriteRules = value
}
@JvmName("mfmiuyuxkioeesmo")
public suspend fun rewriteRules(
vararg
values: Output,
) {
this.rewriteRules = Output.all(values.asList())
}
/**
* @param values One or more `rewrite_rule` blocks as defined below.
*/
@JvmName("iywubdqwcvwaakur")
public suspend
fun rewriteRules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy