IpSecurityRestrictionRule Class

Rule to restrict incoming IP address.

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

Inheritance
azure.mgmt.appcontainers._serialization.Model
IpSecurityRestrictionRule

Constructor

IpSecurityRestrictionRule(*, name: str, ip_address_range: str, action: str | _models.Action, description: str | None = None, **kwargs: Any)

Keyword-Only Parameters

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.

ip_address_range
str

CIDR notation to match incoming IP address. Required.

action
str or 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".

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.

ip_address_range
str

CIDR notation to match incoming IP address. Required.

action
str or 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".