WebApplicationCustomRule Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of WebApplicationCustomRule.
public WebApplicationCustomRule (int priority, Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleType ruleType, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchCondition> matchConditions, Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType action);
new Azure.ResourceManager.FrontDoor.Models.WebApplicationCustomRule : int * Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleType * seq<Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchCondition> * Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType -> Azure.ResourceManager.FrontDoor.Models.WebApplicationCustomRule
Public Sub New (priority As Integer, ruleType As WebApplicationRuleType, matchConditions As IEnumerable(Of WebApplicationRuleMatchCondition), action As RuleMatchActionType)
Parameters
- priority
- Int32
Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType
- WebApplicationRuleType
Describes type of rule.
- matchConditions
- IEnumerable<WebApplicationRuleMatchCondition>
List of match conditions.
- action
- RuleMatchActionType
Describes what action to be applied when rule matches.
Exceptions
matchConditions
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET