Class FirewallPolicySql
- java.lang.Object
-
- com.azure.resourcemanager.network.models.FirewallPolicySql
-
public final class FirewallPolicySql extends Object
SQL Settings in Firewall Policy.
-
-
Constructor Summary
Constructors Constructor Description FirewallPolicySql()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowSqlRedirect()Get the allowSqlRedirect property: A flag to indicate if SQL Redirect traffic filtering is enabled.voidvalidate()Validates the instance.FirewallPolicySqlwithAllowSqlRedirect(Boolean allowSqlRedirect)Set the allowSqlRedirect property: A flag to indicate if SQL Redirect traffic filtering is enabled.
-
-
-
Method Detail
-
allowSqlRedirect
public Boolean allowSqlRedirect()
Get the allowSqlRedirect property: A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.- Returns:
- the allowSqlRedirect value.
-
withAllowSqlRedirect
public FirewallPolicySql withAllowSqlRedirect(Boolean allowSqlRedirect)
Set the allowSqlRedirect property: A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999.- Parameters:
allowSqlRedirect- the allowSqlRedirect value to set.- Returns:
- the FirewallPolicySql object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-