ภาษา

ArmIotHubModelFactory.IotHubNetworkRuleSetProperties Method

Definition

Network Rule Set Properties of IotHub.

public static Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetProperties IotHubNetworkRuleSetProperties(Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetDefaultAction? defaultAction = default, bool applyToBuiltInEventHubEndpoint = false, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetIPRule> ipRules = default);
static member IotHubNetworkRuleSetProperties : Nullable<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetDefaultAction> * bool * seq<Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetIPRule> -> Azure.ResourceManager.IotHub.Models.IotHubNetworkRuleSetProperties
Public Shared Function IotHubNetworkRuleSetProperties (Optional defaultAction As Nullable(Of IotHubNetworkRuleSetDefaultAction) = Nothing, Optional applyToBuiltInEventHubEndpoint As Boolean = false, Optional ipRules As IEnumerable(Of IotHubNetworkRuleSetIPRule) = Nothing) As IotHubNetworkRuleSetProperties

Parameters

defaultAction
Nullable<IotHubNetworkRuleSetDefaultAction>

Default Action for Network Rule Set.

applyToBuiltInEventHubEndpoint
Boolean

If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub.

ipRules
IEnumerable<IotHubNetworkRuleSetIPRule>

List of IP Rules.

Returns

A new IotHubNetworkRuleSetProperties instance for mocking.

Applies to