Udostępnij za pośrednictwem


IpFilterRule Class

Definition

The IP filter rules for a provisioning Service.

public class IpFilterRule
type IpFilterRule = class
Public Class IpFilterRule
Inheritance
IpFilterRule

Constructors

IpFilterRule()

Initializes a new instance of the IpFilterRule class.

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

Initializes a new instance of the IpFilterRule class.

Properties

Action

Gets or sets the desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject'

FilterName

Gets or sets the name of the IP filter rule.

IpMask

Gets or sets a string that contains the IP address range in CIDR notation for the rule.

Target

Gets or sets target for requests captured by this rule. Possible values include: 'all', 'serviceApi', 'deviceApi'

Applies to