Class AdaptiveNetworkHardeningEnforceRequest
java.lang.Object
com.azure.resourcemanager.security.models.AdaptiveNetworkHardeningEnforceRequest
The AdaptiveNetworkHardeningEnforceRequest model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the networkSecurityGroups property: The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.rules()
Get the rules property: The rules to enforce.void
validate()
Validates the instance.withNetworkSecurityGroups
(List<String> networkSecurityGroups) Set the networkSecurityGroups property: The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.Set the rules property: The rules to enforce.
-
Constructor Details
-
AdaptiveNetworkHardeningEnforceRequest
public AdaptiveNetworkHardeningEnforceRequest()
-
-
Method Details
-
rules
Get the rules property: The rules to enforce.- Returns:
- the rules value.
-
withRules
Set the rules property: The rules to enforce.- Parameters:
rules
- the rules value to set.- Returns:
- the AdaptiveNetworkHardeningEnforceRequest object itself.
-
networkSecurityGroups
Get the networkSecurityGroups property: The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.- Returns:
- the networkSecurityGroups value.
-
withNetworkSecurityGroups
public AdaptiveNetworkHardeningEnforceRequest withNetworkSecurityGroups(List<String> networkSecurityGroups) Set the networkSecurityGroups property: The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.- Parameters:
networkSecurityGroups
- the networkSecurityGroups value to set.- Returns:
- the AdaptiveNetworkHardeningEnforceRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-