Compartilhar via


ApplicationRule Class

Rule of type application.

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

Inheritance
azure.mgmt.network.models._models_py3.FirewallPolicyRule
ApplicationRule

Constructor

ApplicationRule(*, name: str | None = None, description: str | None = None, source_addresses: List[str] | None = None, destination_addresses: List[str] | None = None, protocols: List[_models.FirewallPolicyRuleApplicationProtocol] | None = None, target_fqdns: List[str] | None = None, target_urls: List[str] | None = None, fqdn_tags: List[str] | None = None, source_ip_groups: List[str] | None = None, terminate_tls: bool | None = None, web_categories: List[str] | None = None, http_headers_to_insert: List[_models.FirewallPolicyHttpHeaderToInsert] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

Name of the rule.

description
str

Description of the rule.

source_addresses

List of source IP addresses for this rule.

destination_addresses

List of destination IP addresses or Service Tags.

protocols

Array of Application Protocols.

target_fqdns

List of FQDNs for this rule.

target_urls

List of Urls for this rule condition.

fqdn_tags

List of FQDN Tags for this rule.

source_ip_groups

List of source IpGroups for this rule.

terminate_tls

Terminate TLS connections for this rule.

web_categories

List of destination azure web categories.

http_headers_to_insert

List of HTTP/S headers to insert.

Variables

Name Description
name
str

Name of the rule.

description
str

Description of the rule.

rule_type

Rule Type. Required. Known values are: "ApplicationRule", "NetworkRule", and "NatRule".

source_addresses

List of source IP addresses for this rule.

destination_addresses

List of destination IP addresses or Service Tags.

protocols

Array of Application Protocols.

target_fqdns

List of FQDNs for this rule.

target_urls

List of Urls for this rule condition.

fqdn_tags

List of FQDN Tags for this rule.

source_ip_groups

List of source IpGroups for this rule.

terminate_tls

Terminate TLS connections for this rule.

web_categories

List of destination azure web categories.

http_headers_to_insert

List of HTTP/S headers to insert.