public class NetworkRuleSet extends Object
Constructor and Description |
---|
NetworkRuleSet() |
Modifier and Type | Method and Description |
---|---|
Bypass |
bypass()
Get specifies whether traffic is bypassed for Logging/Metrics/AzureServices.
|
DefaultAction |
defaultAction()
Get specifies the default action of allow or deny when no other rules match.
|
List<IPRule> |
ipRules()
Get sets the IP ACL rules.
|
List<VirtualNetworkRule> |
virtualNetworkRules()
Get sets the virtual network rules.
|
NetworkRuleSet |
withBypass(Bypass bypass)
Set specifies whether traffic is bypassed for Logging/Metrics/AzureServices.
|
NetworkRuleSet |
withDefaultAction(DefaultAction defaultAction)
Set specifies the default action of allow or deny when no other rules match.
|
NetworkRuleSet |
withIpRules(List<IPRule> ipRules)
Set sets the IP ACL rules.
|
NetworkRuleSet |
withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
Set sets the virtual network rules.
|
public Bypass bypass()
public NetworkRuleSet withBypass(Bypass bypass)
bypass
- the bypass value to setpublic List<VirtualNetworkRule> virtualNetworkRules()
public NetworkRuleSet withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)
virtualNetworkRules
- the virtualNetworkRules value to setpublic NetworkRuleSet withIpRules(List<IPRule> ipRules)
ipRules
- the ipRules value to setpublic DefaultAction defaultAction()
public NetworkRuleSet withDefaultAction(DefaultAction defaultAction)
defaultAction
- the defaultAction value to setCopyright © 2019. All rights reserved.