Class FirewallPolicySql

java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicySql

public final class FirewallPolicySql extends Object
SQL Settings in Firewall Policy.
  • Constructor Details

    • FirewallPolicySql

      public FirewallPolicySql()
      Creates an instance of FirewallPolicySql class.
  • Method Details

    • 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.