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(NetworkRuleBypassOptions, NetworkRuleAction, 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(NetworkRuleBypassOptions, NetworkRuleAction, IList<IPRule>, IList<VirtualNetworkRule>)
Initializes a new instance of the NetworkRuleSet class.
public NetworkRuleSet (Microsoft.Azure.Management.KeyVault.Fluent.Models.NetworkRuleBypassOptions bypass = default, Microsoft.Azure.Management.KeyVault.Fluent.Models.NetworkRuleAction defaultAction = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Fluent.Models.IPRule> ipRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Fluent.Models.VirtualNetworkRule> virtualNetworkRules = default);
new Microsoft.Azure.Management.KeyVault.Fluent.Models.NetworkRuleSet : Microsoft.Azure.Management.KeyVault.Fluent.Models.NetworkRuleBypassOptions * Microsoft.Azure.Management.KeyVault.Fluent.Models.NetworkRuleAction * System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Fluent.Models.IPRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Fluent.Models.VirtualNetworkRule> -> Microsoft.Azure.Management.KeyVault.Fluent.Models.NetworkRuleSet
Public Sub New (Optional bypass As NetworkRuleBypassOptions = Nothing, Optional defaultAction As NetworkRuleAction = Nothing, Optional ipRules As IList(Of IPRule) = Nothing, Optional virtualNetworkRules As IList(Of VirtualNetworkRule) = Nothing)
Parameters
- bypass
- NetworkRuleBypassOptions
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
- NetworkRuleAction
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.
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro