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