AdaptiveNetworkHardeningEnforceRequest Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AdaptiveNetworkHardeningEnforceRequest
- com.
public final class AdaptiveNetworkHardeningEnforceRequest
The AdaptiveNetworkHardeningEnforceRequest model.
Constructor Summary
Constructor | Description |
---|---|
AdaptiveNetworkHardeningEnforceRequest() |
Creates an instance of Adaptive |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
networkSecurityGroups()
Get the network |
List<Rule> |
rules()
Get the rules property: The rules to enforce. |
void |
validate()
Validates the instance. |
Adaptive |
withNetworkSecurityGroups(List<String> networkSecurityGroups)
Set the network |
Adaptive |
withRules(List<Rule> rules)
Set the rules property: The rules to enforce. |
Methods inherited from java.lang.Object
Constructor Details
AdaptiveNetworkHardeningEnforceRequest
public AdaptiveNetworkHardeningEnforceRequest()
Creates an instance of AdaptiveNetworkHardeningEnforceRequest class.
Method Details
networkSecurityGroups
public List
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:
rules
public List
Get the rules property: The rules to enforce.
Returns:
validate
public void validate()
Validates the instance.
withNetworkSecurityGroups
public AdaptiveNetworkHardeningEnforceRequest withNetworkSecurityGroups(List
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:
Returns:
withRules
public AdaptiveNetworkHardeningEnforceRequest withRules(List
Set the rules property: The rules to enforce.
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