HeaderValueMatcherArgs

data class HeaderValueMatcherArgs(val ignoreCase: Output<Boolean>? = null, val negate: Output<Boolean>? = null, val pattern: Output<String>? = null) : ConvertibleToJava<HeaderValueMatcherArgs>

An optional field under "Rewrite Action". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud

Constructors

Link copied to clipboard
constructor(ignoreCase: Output<Boolean>? = null, negate: Output<Boolean>? = null, pattern: Output<String>? = null)

Properties

Link copied to clipboard
val ignoreCase: Output<Boolean>? = null

Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.

Link copied to clipboard
val negate: Output<Boolean>? = null

Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.

Link copied to clipboard
val pattern: Output<String>? = null

The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.

Functions

Link copied to clipboard
open override fun toJava(): HeaderValueMatcherArgs