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

IpSecurityRestrictionRule Class

Rule to restrict incoming IP address.

Constructor

IpSecurityRestrictionRule()

Variables

Name Description
name
str

Name for the IP restriction rule. Required.

description
str

Describe the IP restriction rule that is being sent to the container-app. This is an optional field.

ipAddressRange
str

CIDR notation to match incoming IP address. Required.

action
Union[str, <xref:"Action">]

Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny. Required. Known values are: "Allow" and "Deny".

Attributes

action

Rules can only consist of ALL Allow or ALL Deny. Required. Known values are: "Allow" and "Deny".

action: Required[str | Action]

description

Describe the IP restriction rule that is being sent to the container-app. This is an optional field.

description: str

ipAddressRange

CIDR notation to match incoming IP address. Required.

ipAddressRange: Required[str]

name

Name for the IP restriction rule. Required.

name: Required[str]