NetworkRuleCondition Class

Rule condition of type network.

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

Inheritance
azure.mgmt.network.v2019_09_01.models._models_py3.FirewallPolicyRuleCondition
NetworkRuleCondition

Constructor

NetworkRuleCondition(*, name: typing.Union[str, NoneType] = None, description: typing.Union[str, NoneType] = None, ip_protocols: typing.Union[typing.List[typing.Union[str, _ForwardRef('FirewallPolicyRuleConditionNetworkProtocol')]], NoneType] = None, source_addresses: typing.Union[typing.List[str], NoneType] = None, destination_addresses: typing.Union[typing.List[str], NoneType] = None, destination_ports: typing.Union[typing.List[str], NoneType] = None, **kwargs)

Parameters

name
str

Name of the rule condition.

description
str

Description of the rule condition.

rule_condition_type
str or FirewallPolicyRuleConditionType

Required. Rule Condition Type.Constant filled by server. Possible values include: "ApplicationRuleCondition", "NetworkRuleCondition".

ip_protocols
list[str or FirewallPolicyRuleConditionNetworkProtocol]

Array of FirewallPolicyRuleConditionNetworkProtocols.

source_addresses
list[str]

List of source IP addresses for this rule.

destination_addresses
list[str]

List of destination IP addresses or Service Tags.

destination_ports
list[str]

List of destination ports.