Share via


IpFilterRule Constructors

Definition

Overloads

IpFilterRule()

Initializes a new instance of the IpFilterRule class.

IpFilterRule(String, IpFilterActionType, String)

Initializes a new instance of the IpFilterRule class.

IpFilterRule()

Initializes a new instance of the IpFilterRule class.

public IpFilterRule ();
Public Sub New ()

Applies to

IpFilterRule(String, IpFilterActionType, String)

Initializes a new instance of the IpFilterRule class.

public IpFilterRule (string filterName, Microsoft.Azure.Management.IotHub.Models.IpFilterActionType action, string ipMask);
new Microsoft.Azure.Management.IotHub.Models.IpFilterRule : string * Microsoft.Azure.Management.IotHub.Models.IpFilterActionType * string -> Microsoft.Azure.Management.IotHub.Models.IpFilterRule
Public Sub New (filterName As String, action As IpFilterActionType, ipMask As String)

Parameters

filterName
String

The name of the IP filter rule.

action
IpFilterActionType

The desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject'

ipMask
String

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

Applies to