DeviceProvisioningServicesIPFilterRule 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 DeviceProvisioningServicesIPFilterRule.
public DeviceProvisioningServicesIPFilterRule (string filterName, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesIPFilterActionType action, string ipMask);
new Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesIPFilterRule : string * Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesIPFilterActionType * string -> Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesIPFilterRule
Public Sub New (filterName As String, action As DeviceProvisioningServicesIPFilterActionType, ipMask As String)
Parameters
- filterName
- String
The name of the IP filter rule.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET