Share via


NetworkRuleSet Class

Definition

A set of rules governing the network accessibility of a vault.

public class NetworkRuleSet
type NetworkRuleSet = class
Public Class NetworkRuleSet
Inheritance
NetworkRuleSet

Constructors

NetworkRuleSet()

Initializes a new instance of the NetworkRuleSet class.

NetworkRuleSet(NetworkRuleBypassOptions, NetworkRuleAction, IList<IPRule>, IList<VirtualNetworkRule>)

Initializes a new instance of the NetworkRuleSet class.

Properties

Bypass

Gets or sets tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is 'AzureServices'. Possible values include: 'AzureServices', 'None'

DefaultAction

Gets or sets the default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Possible values include: 'Allow', 'Deny'

IpRules

Gets or sets the list of IP address rules.

VirtualNetworkRules

Gets or sets the list of virtual network rules.

Applies to