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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für