IpFilterRule Class
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.
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
Azure SDK for .NET