IotHubIPFilterRule(String, IotHubIPFilterActionType, String) Constructor

Definition

Initializes a new instance of IotHubIPFilterRule.

public IotHubIPFilterRule (string filterName, Azure.ResourceManager.IotHub.Models.IotHubIPFilterActionType action, string ipMask);
new Azure.ResourceManager.IotHub.Models.IotHubIPFilterRule : string * Azure.ResourceManager.IotHub.Models.IotHubIPFilterActionType * string -> Azure.ResourceManager.IotHub.Models.IotHubIPFilterRule
Public Sub New (filterName As String, action As IotHubIPFilterActionType, ipMask As String)

Parameters

filterName
String

The name of the IP filter rule.

action
IotHubIPFilterActionType

The desired action for requests captured by this rule.

ipMask
String

A string that contains the IP address range in CIDR notation for the rule.

Exceptions

filterName or ipMask is null.

Applies to