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

com.pulumi.azure.waf.kotlin.outputs.PolicyCustomRuleMatchConditionMatchVariable.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.waf.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property selector Describes field of the matchVariable collection
 * @property variableName The name of the Match Variable. Possible values are `RemoteAddr`, `RequestMethod`, `QueryString`, `PostArgs`, `RequestUri`, `RequestHeaders`, `RequestBody` and `RequestCookies`.
 */
public data class PolicyCustomRuleMatchConditionMatchVariable(
    public val selector: String? = null,
    public val variableName: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.waf.outputs.PolicyCustomRuleMatchConditionMatchVariable):
            PolicyCustomRuleMatchConditionMatchVariable = PolicyCustomRuleMatchConditionMatchVariable(
            selector = javaType.selector().map({ args0 -> args0 }).orElse(null),
            variableName = javaType.variableName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy