ArmCdnModelFactory.ManagedRuleSetFrontDoor Method
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.
Defines a managed rule set.
public static Azure.ResourceManager.Cdn.Models.ManagedRuleSetFrontDoor ManagedRuleSetFrontDoor(string ruleSetType = default, string ruleSetVersion = default, Azure.ResourceManager.Cdn.Models.ManagedRuleSetActionType? ruleSetAction = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.ManagedRuleExclusion> exclusions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.ManagedRuleGroupOverrideFrontDoor> ruleGroupOverrides = default);
static member ManagedRuleSetFrontDoor : string * string * Nullable<Azure.ResourceManager.Cdn.Models.ManagedRuleSetActionType> * seq<Azure.ResourceManager.Cdn.Models.ManagedRuleExclusion> * seq<Azure.ResourceManager.Cdn.Models.ManagedRuleGroupOverrideFrontDoor> -> Azure.ResourceManager.Cdn.Models.ManagedRuleSetFrontDoor
Public Shared Function ManagedRuleSetFrontDoor (Optional ruleSetType As String = Nothing, Optional ruleSetVersion As String = Nothing, Optional ruleSetAction As Nullable(Of ManagedRuleSetActionType) = Nothing, Optional exclusions As IEnumerable(Of ManagedRuleExclusion) = Nothing, Optional ruleGroupOverrides As IEnumerable(Of ManagedRuleGroupOverrideFrontDoor) = Nothing) As ManagedRuleSetFrontDoor
Parameters
- ruleSetType
- String
Defines the rule set type to use.
- ruleSetVersion
- String
Defines the version of the rule set to use.
- ruleSetAction
- Nullable<ManagedRuleSetActionType>
Defines the rule set action.
- exclusions
- IEnumerable<ManagedRuleExclusion>
Describes the exclusions that are applied to all rules in the set.
- ruleGroupOverrides
- IEnumerable<ManagedRuleGroupOverrideFrontDoor>
Defines the rule group overrides to apply to the rule set.
Returns
A new ManagedRuleSetFrontDoor instance for mocking.