NetworkRuleSetProperties 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
NetworkRuleSetProperties() |
Initializes a new instance of the NetworkRuleSetProperties class. |
NetworkRuleSetProperties(Boolean, IList<NetworkRuleSetIpRule>, String) |
Initializes a new instance of the NetworkRuleSetProperties class. |
NetworkRuleSetProperties()
Initializes a new instance of the NetworkRuleSetProperties class.
public NetworkRuleSetProperties ();
Public Sub New ()
Applies to
NetworkRuleSetProperties(Boolean, IList<NetworkRuleSetIpRule>, String)
Initializes a new instance of the NetworkRuleSetProperties class.
public NetworkRuleSetProperties (bool applyToBuiltInEventHubEndpoint, System.Collections.Generic.IList<Microsoft.Azure.Management.IotHub.Models.NetworkRuleSetIpRule> ipRules, string defaultAction = default);
new Microsoft.Azure.Management.IotHub.Models.NetworkRuleSetProperties : bool * System.Collections.Generic.IList<Microsoft.Azure.Management.IotHub.Models.NetworkRuleSetIpRule> * string -> Microsoft.Azure.Management.IotHub.Models.NetworkRuleSetProperties
Public Sub New (applyToBuiltInEventHubEndpoint As Boolean, ipRules As IList(Of NetworkRuleSetIpRule), Optional defaultAction As String = Nothing)
Parameters
- applyToBuiltInEventHubEndpoint
- Boolean
If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub
- ipRules
- IList<NetworkRuleSetIpRule>
List of IP Rules
- defaultAction
- String
Default Action for Network Rule Set. Possible values include: 'Deny', 'Allow'
Applies to
Azure SDK for .NET