Class ApplicationGatewayFirewallExclusion
java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewayFirewallExclusion
Allow to exclude some variable satisfy the condition for the WAF check.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayFirewallExclusion class. -
Method Summary
Modifier and TypeMethodDescriptionGet the matchVariable property: The variable to be excluded.selector()Get the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.Get the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.voidvalidate()Validates the instance.withMatchVariable(String matchVariable) Set the matchVariable property: The variable to be excluded.withSelector(String selector) Set the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.withSelectorMatchOperator(String selectorMatchOperator) Set the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
-
Constructor Details
-
ApplicationGatewayFirewallExclusion
public ApplicationGatewayFirewallExclusion()Creates an instance of ApplicationGatewayFirewallExclusion class.
-
-
Method Details
-
matchVariable
Get the matchVariable property: The variable to be excluded.- Returns:
- the matchVariable value.
-
withMatchVariable
Set the matchVariable property: The variable to be excluded.- Parameters:
matchVariable- the matchVariable value to set.- Returns:
- the ApplicationGatewayFirewallExclusion object itself.
-
selectorMatchOperator
Get the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.- Returns:
- the selectorMatchOperator value.
-
withSelectorMatchOperator
Set the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.- Parameters:
selectorMatchOperator- the selectorMatchOperator value to set.- Returns:
- the ApplicationGatewayFirewallExclusion object itself.
-
selector
Get the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.- Returns:
- the selector value.
-
withSelector
Set the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.- Parameters:
selector- the selector value to set.- Returns:
- the ApplicationGatewayFirewallExclusion object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-