IotHubNetworkRuleSetProperties Constructor
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.
Initializes a new instance of IotHubNetworkRuleSetProperties.
public IotHubNetworkRuleSetProperties (bool applyToBuiltInEventHubEndpoint, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetIPRule> ipRules);
new Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetProperties : bool * seq<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetIPRule> -> Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetProperties
Public Sub New (applyToBuiltInEventHubEndpoint As Boolean, ipRules As IEnumerable(Of IotHubNetworkRuleSetIPRule))
Parameters
- applyToBuiltInEventHubEndpoint
- Boolean
If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub.
- ipRules
- IEnumerable<IotHubNetworkRuleSetIPRule>
List of IP Rules.
Exceptions
ipRules
is null.