Share via


IpFilterRule Constructors

Definition

Overloads

IpFilterRule()

Initializes a new instance of the IpFilterRule class.

IpFilterRule(String, IpFilterActionType, String, Nullable<IpFilterTargetType>)

Initializes a new instance of the IpFilterRule class.

IpFilterRule()

Initializes a new instance of the IpFilterRule class.

public IpFilterRule ();
Public Sub New ()

Applies to

IpFilterRule(String, IpFilterActionType, String, Nullable<IpFilterTargetType>)

Initializes a new instance of the IpFilterRule class.

public IpFilterRule (string filterName, Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterActionType action, string ipMask, Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterTargetType? target = default);
new Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterRule : string * Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterActionType * string * Nullable<Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterTargetType> -> Microsoft.Azure.Management.DeviceProvisioningServices.Models.IpFilterRule
Public Sub New (filterName As String, action As IpFilterActionType, ipMask As String, Optional target As Nullable(Of IpFilterTargetType) = Nothing)

Parameters

filterName
String

The name of the IP filter rule.

action
IpFilterActionType

The desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject'

ipMask
String

A string that contains the IP address range in CIDR notation for the rule.

target
Nullable<IpFilterTargetType>

Target for requests captured by this rule. Possible values include: 'all', 'serviceApi', 'deviceApi'

Applies to