DeviceSecurityGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. DeviceSecurityGroupInner
- com.
- com.
public final class DeviceSecurityGroupInner
extends ProxyResource
The device security group resource.
Constructor Summary
Constructor | Description |
---|---|
DeviceSecurityGroupInner() |
Creates an instance of Device |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Allowlist |
allowlistRules()
Get the allowlist |
List<Denylist |
denylistRules()
Get the denylist |
List<Threshold |
thresholdRules()
Get the threshold |
List<Time |
timeWindowRules()
Get the time |
void |
validate()
Validates the instance. |
Device |
withAllowlistRules(List<AllowlistCustomAlertRule> allowlistRules)
Set the allowlist |
Device |
withDenylistRules(List<DenylistCustomAlertRule> denylistRules)
Set the denylist |
Device |
withThresholdRules(List<ThresholdCustomAlertRule> thresholdRules)
Set the threshold |
Device |
withTimeWindowRules(List<TimeWindowCustomAlertRule> timeWindowRules)
Set the time |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
DeviceSecurityGroupInner
public DeviceSecurityGroupInner()
Creates an instance of DeviceSecurityGroupInner class.
Method Details
allowlistRules
public List
Get the allowlistRules property: The allow-list custom alert rules.
Returns:
denylistRules
public List
Get the denylistRules property: The deny-list custom alert rules.
Returns:
thresholdRules
public List
Get the thresholdRules property: The list of custom alert threshold rules.
Returns:
timeWindowRules
public List
Get the timeWindowRules property: The list of custom alert time-window rules.
Returns:
validate
public void validate()
Validates the instance.
withAllowlistRules
public DeviceSecurityGroupInner withAllowlistRules(List
Set the allowlistRules property: The allow-list custom alert rules.
Parameters:
Returns:
withDenylistRules
public DeviceSecurityGroupInner withDenylistRules(List
Set the denylistRules property: The deny-list custom alert rules.
Parameters:
Returns:
withThresholdRules
public DeviceSecurityGroupInner withThresholdRules(List
Set the thresholdRules property: The list of custom alert threshold rules.
Parameters:
Returns:
withTimeWindowRules
public DeviceSecurityGroupInner withTimeWindowRules(List
Set the timeWindowRules property: The list of custom alert time-window rules.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for