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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.