NetworkRuleSet Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NetworkRuleSet() |
Initializes a new instance of the NetworkRuleSet class. |
NetworkRuleSet(String, String, IList<IPRule>, IList<VirtualNetworkRule>) |
Initializes a new instance of the NetworkRuleSet class. |
NetworkRuleSet()
Initializes a new instance of the NetworkRuleSet class.
public NetworkRuleSet ();
Public Sub New ()
Applies to
NetworkRuleSet(String, String, IList<IPRule>, IList<VirtualNetworkRule>)
Initializes a new instance of the NetworkRuleSet class.
public NetworkRuleSet (string bypass = default, string defaultAction = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.IPRule> ipRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.VirtualNetworkRule> virtualNetworkRules = default);
new Microsoft.Azure.Management.KeyVault.Models.NetworkRuleSet : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.IPRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.VirtualNetworkRule> -> Microsoft.Azure.Management.KeyVault.Models.NetworkRuleSet
Public Sub New (Optional bypass As String = Nothing, Optional defaultAction As String = Nothing, Optional ipRules As IList(Of IPRule) = Nothing, Optional virtualNetworkRules As IList(Of VirtualNetworkRule) = Nothing)
Parameters
- bypass
- String
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
- String
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'
- virtualNetworkRules
- IList<VirtualNetworkRule>
The list of virtual network rules.