你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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