AzureFirewallNatRule Class

Properties of a NAT rule.

Inheritance
AzureFirewallNatRule

Constructor

AzureFirewallNatRule(*, name: typing.Union[str, NoneType] = None, description: typing.Union[str, 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, protocols: typing.Union[typing.List[typing.Union[str, _ForwardRef('AzureFirewallNetworkRuleProtocol')]], NoneType] = None, translated_address: typing.Union[str, NoneType] = None, translated_port: typing.Union[str, NoneType] = None, translated_fqdn: typing.Union[str, NoneType] = None, source_ip_groups: typing.Union[typing.List[str], NoneType] = None, **kwargs)

Parameters

name
str

Name of the NAT rule.

description
str

Description of the rule.

source_addresses
list[str]

List of source IP addresses for this rule.

destination_addresses
list[str]

List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.

destination_ports
list[str]

List of destination ports.

protocols
list[str or AzureFirewallNetworkRuleProtocol]

Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.

translated_address
str

The translated address for this NAT rule.

translated_port
str

The translated port for this NAT rule.

translated_fqdn
str

The translated FQDN for this NAT rule.

source_ip_groups
list[str]

List of source IpGroups for this rule.