ArmNetworkModelFactory.ApplicationGatewayHeaderConfiguration Method

Definition

public static Azure.ResourceManager.Network.Models.ApplicationGatewayHeaderConfiguration ApplicationGatewayHeaderConfiguration(string headerName = default, Azure.ResourceManager.Network.Models.HeaderValueMatcher headerValueMatcher = default, string headerValue = default);
static member ApplicationGatewayHeaderConfiguration : string * Azure.ResourceManager.Network.Models.HeaderValueMatcher * string -> Azure.ResourceManager.Network.Models.ApplicationGatewayHeaderConfiguration
Public Shared Function ApplicationGatewayHeaderConfiguration (Optional headerName As String = Nothing, Optional headerValueMatcher As HeaderValueMatcher = Nothing, Optional headerValue As String = Nothing) As ApplicationGatewayHeaderConfiguration

Parameters

headerName
String

Header name of the header configuration.

headerValueMatcher
HeaderValueMatcher

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.

headerValue
String

Header value of the header configuration.

Returns

A new ApplicationGatewayHeaderConfiguration instance for mocking.

Applies to