Class AdaptiveNetworkHardeningEnforceRequest

java.lang.Object
com.azure.resourcemanager.security.models.AdaptiveNetworkHardeningEnforceRequest

public final class AdaptiveNetworkHardeningEnforceRequest extends Object
The AdaptiveNetworkHardeningEnforceRequest model.
  • Constructor Details

    • AdaptiveNetworkHardeningEnforceRequest

      public AdaptiveNetworkHardeningEnforceRequest()
  • Method Details

    • rules

      public List<Rule> 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

      public List<String> 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.