Class NetworkRuleSet

java.lang.Object
com.microsoft.azure.management.keyvault.NetworkRuleSet

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

    • NetworkRuleSet

      public NetworkRuleSet()
  • Method Details

    • bypass

      public NetworkRuleBypassOptions bypass()
      Get the bypass value.
      Returns:
      the bypass value
    • withBypass

      public NetworkRuleSet withBypass(NetworkRuleBypassOptions bypass)
      Set the bypass value.
      Parameters:
      bypass - the bypass value to set
      Returns:
      the NetworkRuleSet object itself.
    • defaultAction

      public NetworkRuleAction defaultAction()
      Get the defaultAction value.
      Returns:
      the defaultAction value
    • withDefaultAction

      public NetworkRuleSet withDefaultAction(NetworkRuleAction defaultAction)
      Set the defaultAction value.
      Parameters:
      defaultAction - the defaultAction value to set
      Returns:
      the NetworkRuleSet object itself.
    • ipRules

      public List<IPRule> ipRules()
      Get the ipRules value.
      Returns:
      the ipRules value
    • withIpRules

      public NetworkRuleSet withIpRules(List<IPRule> ipRules)
      Set the ipRules value.
      Parameters:
      ipRules - the ipRules value to set
      Returns:
      the NetworkRuleSet object itself.
    • virtualNetworkRules

      public List<VirtualNetworkRule> virtualNetworkRules()
      Get the virtualNetworkRules value.
      Returns:
      the virtualNetworkRules value
    • withVirtualNetworkRules

      public NetworkRuleSet withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
      Set the virtualNetworkRules value.
      Parameters:
      virtualNetworkRules - the virtualNetworkRules value to set
      Returns:
      the NetworkRuleSet object itself.