Share via


IPRule Class

Definition

IP rule with specific IP or IP range in CIDR format.

public class IPRule
type IPRule = class
Public Class IPRule
Inheritance
IPRule

Constructors

IPRule()

Initializes a new instance of the IPRule class.

IPRule(String, Nullable<Action>)

Initializes a new instance of the IPRule class.

Properties

Action

Gets or sets the action of IP ACL rule. Possible values include: 'Allow'

IPAddressOrRange

Gets or sets specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.

Methods

Validate()

Validate the object.

Applies to