FirewallPolicySql Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. FirewallPolicySql
- com.
Implements
public final class FirewallPolicySql
implements JsonSerializable<FirewallPolicySql>
SQL Settings in Firewall Policy.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicySql() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowSqlRedirect()
Get the allow |
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Firewall |
withAllowSqlRedirect(Boolean allowSqlRedirect)
Set the allow |
Methods inherited from java.lang.Object
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:
fromJson
public static FirewallPolicySql fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicySql from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
Applies to
Azure SDK for Java