Class FirewallPolicySql
java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicySql
SQL Settings in Firewall Policy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the allowSqlRedirect property: A flag to indicate if SQL Redirect traffic filtering is enabled.voidvalidate()Validates the instance.withAllowSqlRedirect(Boolean allowSqlRedirect) Set the allowSqlRedirect property: A flag to indicate if SQL Redirect traffic filtering is enabled.
-
Constructor Details
-
FirewallPolicySql
public FirewallPolicySql()Creates an instance of FirewallPolicySql class.
-
-
Method Details
-
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
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.
-