Class ManagedRuleDefinition
java.lang.Object
com.azure.resourcemanager.frontdoor.models.ManagedRuleDefinition
Describes a managed rule definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the defaultAction property: Describes the default action to be applied when the managed rule matches.Get the defaultState property: Describes the default state for the managed rule.Get the description property: Describes the functionality of the managed rule.ruleId()
Get the ruleId property: Identifier for the managed rule.void
validate()
Validates the instance.
-
Constructor Details
-
ManagedRuleDefinition
public ManagedRuleDefinition()Creates an instance of ManagedRuleDefinition class.
-
-
Method Details
-
ruleId
Get the ruleId property: Identifier for the managed rule.- Returns:
- the ruleId value.
-
defaultState
Get the defaultState property: Describes the default state for the managed rule.- Returns:
- the defaultState value.
-
defaultAction
Get the defaultAction property: Describes the default action to be applied when the managed rule matches.- Returns:
- the defaultAction value.
-
description
Get the description property: Describes the functionality of the managed rule.- Returns:
- the description value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-