ArmIotHubModelFactory.IotHubNetworkRuleSetProperties Method
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.
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.