NatRule Class

Rule of type nat.

Constructor

NatRule(*args: Any, **kwargs: Any)

Variables

Name Description
name
str

Name of the rule.

description
str

Description of the rule.

ip_protocols

Array of FirewallPolicyRuleNetworkProtocols.

source_addresses

List of source IP addresses for this rule.

destination_addresses

List of destination IP addresses or Service Tags.

destination_ports

List of destination ports.

translated_address
str

The translated address for this NAT rule.

translated_port
str

The translated port for this NAT rule.

source_ip_groups

List of source IpGroups for this rule.

translated_fqdn
str

The translated FQDN for this NAT rule.

rule_type
str or <xref:azure.mgmt.network.models.NAT_RULE>

Rule Type. Required. NatRule.

Attributes

destination_addresses

List of destination IP addresses or Service Tags.

destination_addresses: list[str] | None

destination_ports

List of destination ports.

destination_ports: list[str] | None

ip_protocols

Array of FirewallPolicyRuleNetworkProtocols.

ip_protocols: list[typing.Union[str, ForwardRef('_models.FirewallPolicyRuleNetworkProtocol')]] | None

rule_type

Rule Type. Required. NatRule.

rule_type: NAT_RULE: 'NatRule'>]

source_addresses

List of source IP addresses for this rule.

source_addresses: list[str] | None

source_ip_groups

List of source IpGroups for this rule.

source_ip_groups: list[str] | None

translated_address

The translated address for this NAT rule.

translated_address: str | None

translated_fqdn

The translated FQDN for this NAT rule.

translated_fqdn: str | None

translated_port

The translated port for this NAT rule.

translated_port: str | None