共用方式為


IotHubNetworkRuleSetProperties Constructor

Definition

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.

Applies to