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

NetworkRuleSetIpRule Class

IP Rule to be applied as part of Network Rule Set.

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

Constructor

NetworkRuleSetIpRule(*, filter_name: str, ip_mask: str, action: str | _models.NetworkRuleIPAction = 'Allow', **kwargs: Any)

Keyword-Only Parameters

Name Description
filter_name
str

Name of the IP filter rule. Required.

action

IP Filter Action. "Allow"

Default value: Allow
ip_mask
str

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

Variables

Name Description
filter_name
str

Name of the IP filter rule. Required.

action

IP Filter Action. "Allow"

ip_mask
str

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