语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmNetworkModelFactory.ApplicationGatewayRewriteRuleCondition Method

Definition

Set of conditions in the Rewrite Rule in Application Gateway.

public static Azure.ResourceManager.Network.Models.ApplicationGatewayRewriteRuleCondition ApplicationGatewayRewriteRuleCondition(string variable = default, string pattern = default, bool? ignoreCase = default, bool? negate = default);
static member ApplicationGatewayRewriteRuleCondition : string * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Network.Models.ApplicationGatewayRewriteRuleCondition
Public Shared Function ApplicationGatewayRewriteRuleCondition (Optional variable As String = Nothing, Optional pattern As String = Nothing, Optional ignoreCase As Nullable(Of Boolean) = Nothing, Optional negate As Nullable(Of Boolean) = Nothing) As ApplicationGatewayRewriteRuleCondition

Parameters

variable
String

The condition parameter of the RewriteRuleCondition.

pattern
String

The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.

ignoreCase
Nullable<Boolean>

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

negate
Nullable<Boolean>

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

Returns

A new ApplicationGatewayRewriteRuleCondition instance for mocking.

Applies to