Class DeviceSecurityGroupProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.DeviceSecurityGroupProperties
describes properties of a security group.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the allowlistRules property: The allow-list custom alert rules.Get the denylistRules property: The deny-list custom alert rules.Get the thresholdRules property: The list of custom alert threshold rules.Get the timeWindowRules property: The list of custom alert time-window rules.void
validate()
Validates the instance.withAllowlistRules
(List<AllowlistCustomAlertRule> allowlistRules) Set the allowlistRules property: The allow-list custom alert rules.withDenylistRules
(List<DenylistCustomAlertRule> denylistRules) Set the denylistRules property: The deny-list custom alert rules.withThresholdRules
(List<ThresholdCustomAlertRule> thresholdRules) Set the thresholdRules property: The list of custom alert threshold rules.withTimeWindowRules
(List<TimeWindowCustomAlertRule> timeWindowRules) Set the timeWindowRules property: The list of custom alert time-window rules.
-
Constructor Details
-
DeviceSecurityGroupProperties
public DeviceSecurityGroupProperties()
-
-
Method Details
-
thresholdRules
Get the thresholdRules property: The list of custom alert threshold rules.- Returns:
- the thresholdRules value.
-
withThresholdRules
public DeviceSecurityGroupProperties withThresholdRules(List<ThresholdCustomAlertRule> thresholdRules) Set the thresholdRules property: The list of custom alert threshold rules.- Parameters:
thresholdRules
- the thresholdRules value to set.- Returns:
- the DeviceSecurityGroupProperties object itself.
-
timeWindowRules
Get the timeWindowRules property: The list of custom alert time-window rules.- Returns:
- the timeWindowRules value.
-
withTimeWindowRules
public DeviceSecurityGroupProperties withTimeWindowRules(List<TimeWindowCustomAlertRule> timeWindowRules) Set the timeWindowRules property: The list of custom alert time-window rules.- Parameters:
timeWindowRules
- the timeWindowRules value to set.- Returns:
- the DeviceSecurityGroupProperties object itself.
-
allowlistRules
Get the allowlistRules property: The allow-list custom alert rules.- Returns:
- the allowlistRules value.
-
withAllowlistRules
public DeviceSecurityGroupProperties withAllowlistRules(List<AllowlistCustomAlertRule> allowlistRules) Set the allowlistRules property: The allow-list custom alert rules.- Parameters:
allowlistRules
- the allowlistRules value to set.- Returns:
- the DeviceSecurityGroupProperties object itself.
-
denylistRules
Get the denylistRules property: The deny-list custom alert rules.- Returns:
- the denylistRules value.
-
withDenylistRules
Set the denylistRules property: The deny-list custom alert rules.- Parameters:
denylistRules
- the denylistRules value to set.- Returns:
- the DeviceSecurityGroupProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-