NatConfigurationRequest

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

Bases: object

Nat Configuration request to use Nat feature on firewall.

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.
must_enable_private_nat

[Required] Gets the must_enable_private_nat of this NatConfigurationRequest. To allocate private NAT IPs to the firewall. The attached network firewall policy must also have NAT rules to enable NAT on any traffic passing through the firewall. The value of this field can not be false to release the NAT IPs given that the attached network firewall policy does not contains any NAT rules. The value of this field should be set to true if the network firewall policy being applied contains NAT rules.

Returns:The must_enable_private_nat of this NatConfigurationRequest.
Return type:bool