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

IPRule Class

Rule to filter client IP address.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

IPRule(*, value: str, **kwargs: Any)

Keyword-Only Parameters

Name Description
value
str

IPv4 address, or IPv4 address range in CIDR format. Required.

Variables

Name Description
action
str

Action when client IP address is matched. Required. Default value is "Allow".

value
str

IPv4 address, or IPv4 address range in CIDR format. Required.

Attributes

action

action = 'Allow'