Share via


IpFilterRule Class

Definition

The IP filter rules for the IoT hub.

public class IpFilterRule
type IpFilterRule = class
Public Class IpFilterRule
Inheritance
IpFilterRule

Constructors

IpFilterRule()

Initializes a new instance of the IpFilterRule class.

IpFilterRule(String, IpFilterActionType, String)

Initializes a new instance of the IpFilterRule class.

Properties

Action

Gets or sets the desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject'

FilterName

Gets or sets the name of the IP filter rule.

IpMask

Gets or sets a string that contains the IP address range in CIDR notation for the rule.

Methods

Validate()

Validate the object.

Applies to