ArmFrontDoorModelFactory.ManagedRuleDefinition 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.
Initializes a new instance of ManagedRuleDefinition.
public static Azure.ResourceManager.FrontDoor.Models.ManagedRuleDefinition ManagedRuleDefinition (string ruleId = default, Azure.ResourceManager.FrontDoor.Models.ManagedRuleEnabledState? defaultState = default, Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType? defaultAction = default, string description = default);
static member ManagedRuleDefinition : string * Nullable<Azure.ResourceManager.FrontDoor.Models.ManagedRuleEnabledState> * Nullable<Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType> * string -> Azure.ResourceManager.FrontDoor.Models.ManagedRuleDefinition
Public Shared Function ManagedRuleDefinition (Optional ruleId As String = Nothing, Optional defaultState As Nullable(Of ManagedRuleEnabledState) = Nothing, Optional defaultAction As Nullable(Of RuleMatchActionType) = Nothing, Optional description As String = Nothing) As ManagedRuleDefinition
Parameters
- ruleId
- String
Identifier for the managed rule.
- defaultState
- Nullable<ManagedRuleEnabledState>
Describes the default state for the managed rule.
- defaultAction
- Nullable<RuleMatchActionType>
Describes the default action to be applied when the managed rule matches.
- description
- String
Describes the functionality of the managed rule.
Returns
A new ManagedRuleDefinition instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET