IotHubIPFilterRule(String, IotHubIPFilterActionType, String) Constructor
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.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET