你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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