CustomRuleFrontDoor 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 CustomRuleFrontDoor.
public CustomRuleFrontDoor(int priority, Azure.ResourceManager.Cdn.Models.CdnRuleType ruleType, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.MatchConditionFrontDoor> matchConditions, Azure.ResourceManager.Cdn.Models.OverrideActionType action);
new Azure.ResourceManager.Cdn.Models.CustomRuleFrontDoor : int * Azure.ResourceManager.Cdn.Models.CdnRuleType * seq<Azure.ResourceManager.Cdn.Models.MatchConditionFrontDoor> * Azure.ResourceManager.Cdn.Models.OverrideActionType -> Azure.ResourceManager.Cdn.Models.CustomRuleFrontDoor
Public Sub New (priority As Integer, ruleType As CdnRuleType, matchConditions As IEnumerable(Of MatchConditionFrontDoor), action As OverrideActionType)
Parameters
- priority
- Int32
Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType
- CdnRuleType
Describes type of rule.
- matchConditions
- IEnumerable<MatchConditionFrontDoor>
List of match conditions.
- action
- OverrideActionType
Describes what action to be applied when rule matches.
Exceptions
matchConditions is null.