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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET