All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.network.kotlin.outputs.ApplicationGatewayRewriteRuleSetRewriteRuleCondition.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property ignoreCase Perform a case in-sensitive comparison. Defaults to `false`
 * @property negate Negate the result of the condition evaluation. Defaults to `false`
 * @property pattern The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.
 * @property variable The [variable](https://docs.microsoft.com/azure/application-gateway/rewrite-http-headers#server-variables) of the condition.
 */
public data class ApplicationGatewayRewriteRuleSetRewriteRuleCondition(
    public val ignoreCase: Boolean? = null,
    public val negate: Boolean? = null,
    public val pattern: String,
    public val variable: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.network.outputs.ApplicationGatewayRewriteRuleSetRewriteRuleCondition):
            ApplicationGatewayRewriteRuleSetRewriteRuleCondition =
            ApplicationGatewayRewriteRuleSetRewriteRuleCondition(
                ignoreCase = javaType.ignoreCase().map({ args0 -> args0 }).orElse(null),
                negate = javaType.negate().map({ args0 -> args0 }).orElse(null),
                pattern = javaType.pattern(),
                variable = javaType.variable(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy