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.ModelIpSecurityRestrictionRule
Constructor
IpSecurityRestrictionRule(*, name: str, ip_address_range: str, action: str | _models.Action, description: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
Name for the IP restriction rule. Required. |
description
|
Describe the IP restriction rule that is being sent to the container-app. This is an optional field. |
ip_address_range
|
CIDR notation to match incoming IP address. Required. |
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
|
Name for the IP restriction rule. Required. |
description
|
Describe the IP restriction rule that is being sent to the container-app. This is an optional field. |
ip_address_range
|
CIDR notation to match incoming IP address. Required. |
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". |
Azure SDK for Python