Class NetworkRuleSet

java.lang.Object
com.azure.resourcemanager.elasticsan.models.NetworkRuleSet

public final class NetworkRuleSet extends Object
A set of rules governing the network accessibility.
  • Constructor Details

    • NetworkRuleSet

      public NetworkRuleSet()
      Creates an instance of NetworkRuleSet class.
  • Method Details

    • virtualNetworkRules

      public List<VirtualNetworkRule> virtualNetworkRules()
      Get the virtualNetworkRules property: The list of virtual network rules.
      Returns:
      the virtualNetworkRules value.
    • withVirtualNetworkRules

      public NetworkRuleSet withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
      Set the virtualNetworkRules property: The list of virtual network rules.
      Parameters:
      virtualNetworkRules - the virtualNetworkRules value to set.
      Returns:
      the NetworkRuleSet object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.