Share via


DeviceProvisioningServicesIPFilterRule Constructor

Definition

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.

action
DeviceProvisioningServicesIPFilterActionType

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