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 |
|
static
Device |
fromJson(JsonReader jsonReader)
Reads an instance of Device |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
|
List<Threshold |
thresholdRules()
Get the threshold |
|
List<Time |
timeWindowRules()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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<AllowlistCustomAlertRule> allowlistRules()
Get the allowlistRules property: The allow-list custom alert rules.
Returns:
denylistRules
public List<DenylistCustomAlertRule> denylistRules()
Get the denylistRules property: The deny-list custom alert rules.
Returns:
fromJson
public static DeviceSecurityGroupInner fromJson(JsonReader jsonReader)
Reads an instance of DeviceSecurityGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DeviceSecurityGroupInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DeviceSecurityGroupInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
thresholdRules
public List<ThresholdCustomAlertRule> thresholdRules()
Get the thresholdRules property: The list of custom alert threshold rules.
Returns:
timeWindowRules
public List<TimeWindowCustomAlertRule> timeWindowRules()
Get the timeWindowRules property: The list of custom alert time-window rules.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DeviceSecurityGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DeviceSecurityGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
withAllowlistRules
public DeviceSecurityGroupInner withAllowlistRules(List<AllowlistCustomAlertRule> allowlistRules)
Set the allowlistRules property: The allow-list custom alert rules.
Parameters:
Returns:
withDenylistRules
public DeviceSecurityGroupInner withDenylistRules(List<DenylistCustomAlertRule> denylistRules)
Set the denylistRules property: The deny-list custom alert rules.
Parameters:
Returns:
withThresholdRules
public DeviceSecurityGroupInner withThresholdRules(List<ThresholdCustomAlertRule> thresholdRules)
Set the thresholdRules property: The list of custom alert threshold rules.
Parameters:
Returns:
withTimeWindowRules
public DeviceSecurityGroupInner withTimeWindowRules(List<TimeWindowCustomAlertRule> timeWindowRules)
Set the timeWindowRules property: The list of custom alert time-window rules.
Parameters:
Returns: