Class FirewallPolicyIntrusionDetectionConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FirewallPolicyIntrusionDetectionConfiguration>
public final class FirewallPolicyIntrusionDetectionConfiguration
extends Object
implements com.azure.json.JsonSerializable<FirewallPolicyIntrusionDetectionConfiguration>
The operation for configuring intrusion detection.
-
Constructor Summary
ConstructorDescriptionCreates an instance of FirewallPolicyIntrusionDetectionConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the bypassTrafficSettings property: List of rules for traffic to bypass.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of FirewallPolicyIntrusionDetectionConfiguration from the JsonReader.Get the privateRanges property: IDPS Private IP address ranges are used to identify traffic direction (i.e.Get the signatureOverrides property: List of specific signatures states.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withBypassTrafficSettings
(List<FirewallPolicyIntrusionDetectionBypassTrafficSpecifications> bypassTrafficSettings) Set the bypassTrafficSettings property: List of rules for traffic to bypass.withPrivateRanges
(List<String> privateRanges) Set the privateRanges property: IDPS Private IP address ranges are used to identify traffic direction (i.e.withSignatureOverrides
(List<FirewallPolicyIntrusionDetectionSignatureSpecification> signatureOverrides) Set the signatureOverrides property: List of specific signatures states.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FirewallPolicyIntrusionDetectionConfiguration
public FirewallPolicyIntrusionDetectionConfiguration()Creates an instance of FirewallPolicyIntrusionDetectionConfiguration class.
-
-
Method Details
-
signatureOverrides
Get the signatureOverrides property: List of specific signatures states.- Returns:
- the signatureOverrides value.
-
withSignatureOverrides
public FirewallPolicyIntrusionDetectionConfiguration withSignatureOverrides(List<FirewallPolicyIntrusionDetectionSignatureSpecification> signatureOverrides) Set the signatureOverrides property: List of specific signatures states.- Parameters:
signatureOverrides
- the signatureOverrides value to set.- Returns:
- the FirewallPolicyIntrusionDetectionConfiguration object itself.
-
bypassTrafficSettings
Get the bypassTrafficSettings property: List of rules for traffic to bypass.- Returns:
- the bypassTrafficSettings value.
-
withBypassTrafficSettings
public FirewallPolicyIntrusionDetectionConfiguration withBypassTrafficSettings(List<FirewallPolicyIntrusionDetectionBypassTrafficSpecifications> bypassTrafficSettings) Set the bypassTrafficSettings property: List of rules for traffic to bypass.- Parameters:
bypassTrafficSettings
- the bypassTrafficSettings value to set.- Returns:
- the FirewallPolicyIntrusionDetectionConfiguration object itself.
-
privateRanges
Get the privateRanges property: IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property.- Returns:
- the privateRanges value.
-
withPrivateRanges
Set the privateRanges property: IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property.- Parameters:
privateRanges
- the privateRanges value to set.- Returns:
- the FirewallPolicyIntrusionDetectionConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<FirewallPolicyIntrusionDetectionConfiguration>
- Throws:
IOException
-
fromJson
public static FirewallPolicyIntrusionDetectionConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FirewallPolicyIntrusionDetectionConfiguration from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of FirewallPolicyIntrusionDetectionConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the FirewallPolicyIntrusionDetectionConfiguration.
-