NatConfigurationRequest

class oci.network_firewall.models.NatConfigurationRequest(**kwargs)

Bases: object

Request to configure Network Address Translation (NAT) on a firewall.

To perform NAT on traffic passing the private NAT IPs to the firewall, the attached network firewall policy must also have NAT rules and NAT configuration must be enabled. If NAT configuration is enabled and the attached firewall policy does not contain NAT rule then NAT IPs will get allocated but NAT will not be performed on any traffic.

Methods:

__init__(**kwargs)

Initializes a new NatConfigurationRequest object with values from keyword arguments.

Attributes:

must_enable_private_nat

[Required] Gets the must_enable_private_nat of this NatConfigurationRequest.

__init__(**kwargs)

Initializes a new NatConfigurationRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

must_enable_private_nat (bool) – The value to assign to the must_enable_private_nat property of this NatConfigurationRequest.

property must_enable_private_nat

[Required] Gets the must_enable_private_nat of this NatConfigurationRequest. The value of this field must be set to true if the network firewall policy being applied contains NAT rules.

The value of this field can be set to false if the network firewall policy being applied or the currently attached firewall policy doesn’t contain NAT rules.

Returns

The must_enable_private_nat of this NatConfigurationRequest.

Return type

bool