FirewallPolicyIntrusionDetection Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. FirewallPolicyIntrusionDetection
- com.
Implements
public final class FirewallPolicyIntrusionDetection
implements JsonSerializable<FirewallPolicyIntrusionDetection>
Configuration for intrusion detection mode and rules.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyIntrusionDetection() |
Creates an instance of Firewall |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
FirewallPolicyIntrusionDetection
public FirewallPolicyIntrusionDetection()
Creates an instance of FirewallPolicyIntrusionDetection class.
Method Details
configuration
public FirewallPolicyIntrusionDetectionConfiguration configuration()
Get the configuration property: Intrusion detection configuration properties.
Returns:
fromJson
public static FirewallPolicyIntrusionDetection fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicyIntrusionDetection from the JsonReader.
Parameters:
Returns:
Throws:
mode
public FirewallPolicyIntrusionDetectionStateType mode()
Get the mode property: Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
Returns:
profile
public FirewallPolicyIntrusionDetectionProfileType profile()
Get the profile property: IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
Returns:
toJson
validate
public void validate()
Validates the instance.
withConfiguration
public FirewallPolicyIntrusionDetection withConfiguration(FirewallPolicyIntrusionDetectionConfiguration configuration)
Set the configuration property: Intrusion detection configuration properties.
Parameters:
Returns:
withMode
public FirewallPolicyIntrusionDetection withMode(FirewallPolicyIntrusionDetectionStateType mode)
Set the mode property: Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two.
Parameters:
Returns:
withProfile
public FirewallPolicyIntrusionDetection withProfile(FirewallPolicyIntrusionDetectionProfileType profile)
Set the profile property: IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy.
Parameters:
Returns:
Applies to
Azure SDK for Java